Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-F1.json
1 [\r
2     {\r
3         "id": "b2b464d7.ce16c8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 255.56666564941406,\r
8         "y": 78.56666564941406,\r
9         "z": "2050832.98c01fc",\r
10         "wires": [\r
11             [\r
12                 "ba005c83.b939c"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "ba005c83.b939c",\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": 539.8523559570312,\r
26         "y": 139.8047742843628,\r
27         "z": "2050832.98c01fc",\r
28         "wires": [\r
29             [\r
30                 "7e8df070.fdf6b"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "7e8df070.fdf6b",\r
36         "type": "method",\r
37         "name": "method cll-vnf-topology-operation-cll-F1",\r
38         "xml": "<method rpc='cll-vnf-topology-operation-cll-F1' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 455.99525451660156,\r
42         "y": 217.5666961669922,\r
43         "z": "2050832.98c01fc",\r
44         "wires": [\r
45             [\r
46                 "85985867.416fd"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "85985867.416fd",\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": 189.80470275878906,\r
58         "y": 721.2333526611328,\r
59         "z": "2050832.98c01fc",\r
60         "wires": [\r
61             [\r
62                 "d05dbda7.cd211",\r
63                 "992a5395.f31118",\r
64                 "e4271cab.c93a2",\r
65                 "45bcd5eb.003ca4",\r
66                 "475897b8.f705c",\r
67                 "364ba6be.e5fa32",\r
68                 "a560d2b.9b8b03",\r
69                 "64dad903.5a2f98"\r
70             ]\r
71         ]\r
72     },\r
73     {\r
74         "id": "d05dbda7.cd211",\r
75         "type": "set",\r
76         "name": "set query_param",\r
77         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
78         "comments": "",\r
79         "x": 462.56666564941406,\r
80         "y": 675.5666656494141,\r
81         "z": "2050832.98c01fc",\r
82         "wires": []\r
83     },\r
84     {\r
85         "id": "992a5395.f31118",\r
86         "type": "call",\r
87         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
88         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 683.5666656494141,\r
92         "y": 743.5666656494141,\r
93         "z": "2050832.98c01fc",\r
94         "wires": [\r
95             []\r
96         ]\r
97     },\r
98     {\r
99         "id": "e4271cab.c93a2",\r
100         "type": "execute",\r
101         "name": "execute printContext",\r
102         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
103         "comments": "",\r
104         "outputs": 1,\r
105         "x": 473.56666564941406,\r
106         "y": 789.5666656494141,\r
107         "z": "2050832.98c01fc",\r
108         "wires": [\r
109             []\r
110         ]\r
111     },\r
112     {\r
113         "id": "364ba6be.e5fa32",\r
114         "type": "call",\r
115         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
116         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
117         "comments": "",\r
118         "outputs": 1,\r
119         "x": 666.5666656494141,\r
120         "y": 853.5666656494141,\r
121         "z": "2050832.98c01fc",\r
122         "wires": [\r
123             []\r
124         ]\r
125     },\r
126     {\r
127         "id": "a560d2b.9b8b03",\r
128         "type": "for",\r
129         "name": "for vidx..tmp.otninfo_length[]",\r
130         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
131         "comments": "",\r
132         "outputs": 1,\r
133         "x": 758.5666656494141,\r
134         "y": 1232.566665649414,\r
135         "z": "2050832.98c01fc",\r
136         "wires": [\r
137             [\r
138                 "74538129.24a8e8"\r
139             ]\r
140         ]\r
141     },\r
142     {\r
143         "id": "74538129.24a8e8",\r
144         "type": "block",\r
145         "name": "block : atomic",\r
146         "xml": "<block atomic='true'>",\r
147         "atomic": "true",\r
148         "comments": "",\r
149         "outputs": 1,\r
150         "x": 980.5666351318359,\r
151         "y": 1244.566665649414,\r
152         "z": "2050832.98c01fc",\r
153         "wires": [\r
154             [\r
155                 "fd37f729.79d4e8",\r
156                 "ea6cbf13.151c98",\r
157                 "8ceda3a6.204b48",\r
158                 "1013e0e2.7cc397",\r
159                 "90a6c364.46118",\r
160                 "22dcd83c.2b5368",\r
161                 "e09d2c81.71b548",\r
162                 "e150ae4f.8b2e58",\r
163                 "1660b66e.1d0baa",\r
164                 "af14d18e.54c668"\r
165             ]\r
166         ]\r
167     },\r
168     {\r
169         "id": "fd37f729.79d4e8",\r
170         "type": "execute",\r
171         "name": "execute UUID generator for vpn-binding $otnidx",\r
172         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
173         "comments": "",\r
174         "outputs": 1,\r
175         "x": 1655.566665649414,\r
176         "y": 823.5666656494141,\r
177         "z": "2050832.98c01fc",\r
178         "wires": [\r
179             []\r
180         ]\r
181     },\r
182     {\r
183         "id": "ea6cbf13.151c98",\r
184         "type": "switchNode",\r
185         "name": "switch dstPort == NULL",\r
186         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
187         "comments": "",\r
188         "outputs": 1,\r
189         "x": 1369.566665649414,\r
190         "y": 913.5666656494141,\r
191         "z": "2050832.98c01fc",\r
192         "wires": [\r
193             [\r
194                 "56460655.4e95f",\r
195                 "f048ad7d.2b28f8"\r
196             ]\r
197         ]\r
198     },\r
199     {\r
200         "id": "56460655.4e95f",\r
201         "type": "outcomeTrue",\r
202         "name": "true",\r
203         "xml": "<outcome value='true'>\n",\r
204         "comments": "",\r
205         "outputs": 1,\r
206         "x": 1735.566665649414,\r
207         "y": 874.5666656494141,\r
208         "z": "2050832.98c01fc",\r
209         "wires": [\r
210             [\r
211                 "4a892274.fb8984"\r
212             ]\r
213         ]\r
214     },\r
215     {\r
216         "id": "f048ad7d.2b28f8",\r
217         "type": "outcomeFalse",\r
218         "name": "false",\r
219         "xml": "<outcome value='false'>\n",\r
220         "comments": "",\r
221         "outputs": 1,\r
222         "x": 1736.566665649414,\r
223         "y": 920.5666656494141,\r
224         "z": "2050832.98c01fc",\r
225         "wires": [\r
226             [\r
227                 "9be4afb9.f321d"\r
228             ]\r
229         ]\r
230     },\r
231     {\r
232         "id": "4a892274.fb8984",\r
233         "type": "set",\r
234         "name": "set access-provider-id and client-id",\r
235         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
236         "comments": "",\r
237         "x": 1949.566665649414,\r
238         "y": 873.5666656494141,\r
239         "z": "2050832.98c01fc",\r
240         "wires": []\r
241     },\r
242     {\r
243         "id": "9be4afb9.f321d",\r
244         "type": "set",\r
245         "name": "set access-provider-id and client-id",\r
246         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
247         "comments": "",\r
248         "x": 1947.566665649414,\r
249         "y": 918.5666656494141,\r
250         "z": "2050832.98c01fc",\r
251         "wires": []\r
252     },\r
253     {\r
254         "id": "8ceda3a6.204b48",\r
255         "type": "set",\r
256         "name": "set srcdstpnf-name",\r
257         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
258         "comments": "",\r
259         "x": 1545.566665649414,\r
260         "y": 987.5666656494141,\r
261         "z": "2050832.98c01fc",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "1013e0e2.7cc397",\r
266         "type": "get-resource",\r
267         "name": "get-resource tmp.srcdstpnf-name",\r
268         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
269         "comments": "",\r
270         "outputs": 1,\r
271         "x": 1589.566665649414,\r
272         "y": 1035.566665649414,\r
273         "z": "2050832.98c01fc",\r
274         "wires": [\r
275             [\r
276                 "cf3ee2c7.7cc8",\r
277                 "6e4433e1.c3d544",\r
278                 "fc23e91d.8a06b8"\r
279             ]\r
280         ]\r
281     },\r
282     {\r
283         "id": "cf3ee2c7.7cc8",\r
284         "type": "success",\r
285         "name": "success",\r
286         "xml": "<outcome value='success'>\n",\r
287         "comments": "",\r
288         "outputs": 1,\r
289         "x": 1802.066665649414,\r
290         "y": 982.5666656494141,\r
291         "z": "2050832.98c01fc",\r
292         "wires": [\r
293             [\r
294                 "15f4239b.d2dd94"\r
295             ]\r
296         ]\r
297     },\r
298     {\r
299         "id": "6e4433e1.c3d544",\r
300         "type": "not-found",\r
301         "name": "not-found",\r
302         "xml": "<outcome value='not-found'>\n",\r
303         "comments": "",\r
304         "outputs": 1,\r
305         "x": 1814.066665649414,\r
306         "y": 1032.566665649414,\r
307         "z": "2050832.98c01fc",\r
308         "wires": [\r
309             [\r
310                 "4f08eef5.3a084"\r
311             ]\r
312         ]\r
313     },\r
314     {\r
315         "id": "fc23e91d.8a06b8",\r
316         "type": "other",\r
317         "name": "other",\r
318         "xml": "<outcome value='Other'>\n",\r
319         "comments": "",\r
320         "outputs": 1,\r
321         "x": 1805.066665649414,\r
322         "y": 1087.566665649414,\r
323         "z": "2050832.98c01fc",\r
324         "wires": [\r
325             [\r
326                 "9e248b49.4b123"\r
327             ]\r
328         ]\r
329     },\r
330     {\r
331         "id": "9e248b49.4b123",\r
332         "type": "returnFailure",\r
333         "name": "return failure",\r
334         "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
335         "comments": "",\r
336         "x": 1950.066665649414,\r
337         "y": 1086.566665649414,\r
338         "z": "2050832.98c01fc",\r
339         "wires": []\r
340     },\r
341     {\r
342         "id": "4f08eef5.3a084",\r
343         "type": "returnFailure",\r
344         "name": "return failure",\r
345         "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
346         "comments": "",\r
347         "x": 1961.066665649414,\r
348         "y": 1029.566665649414,\r
349         "z": "2050832.98c01fc",\r
350         "wires": []\r
351     },\r
352     {\r
353         "id": "15f4239b.d2dd94",\r
354         "type": "block",\r
355         "name": "block",\r
356         "xml": "<block>\n",\r
357         "atomic": "false",\r
358         "comments": "",\r
359         "outputs": 1,\r
360         "x": 1927.4491119384766,\r
361         "y": 976.2223358154297,\r
362         "z": "2050832.98c01fc",\r
363         "wires": [\r
364             [\r
365                 "75b021d3.c00118"\r
366             ]\r
367         ]\r
368     },\r
369     {\r
370         "id": "75b021d3.c00118",\r
371         "type": "for",\r
372         "name": "for each relationship",\r
373         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
374         "comments": "",\r
375         "outputs": 1,\r
376         "x": 2088.566665649414,\r
377         "y": 990.5666656494141,\r
378         "z": "2050832.98c01fc",\r
379         "wires": [\r
380             [\r
381                 "b15e9c16.6b681"\r
382             ]\r
383         ]\r
384     },\r
385     {\r
386         "id": "b15e9c16.6b681",\r
387         "type": "switchNode",\r
388         "name": "switch related-to",\r
389         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
390         "comments": "",\r
391         "outputs": 1,\r
392         "x": 2283.566665649414,\r
393         "y": 990.5666656494141,\r
394         "z": "2050832.98c01fc",\r
395         "wires": [\r
396             [\r
397                 "c6fb39ce.9e60a"\r
398             ]\r
399         ]\r
400     },\r
401     {\r
402         "id": "30ac35dd.e14312",\r
403         "type": "block",\r
404         "name": "block : atomic",\r
405         "xml": "<block atomic=\"true\">",\r
406         "atomic": "true",\r
407         "outputs": 1,\r
408         "x": 2663.566665649414,\r
409         "y": 986.5666656494141,\r
410         "z": "2050832.98c01fc",\r
411         "wires": [\r
412             [\r
413                 "94cf3038.f341a8",\r
414                 "94b6490f.68e4d"\r
415             ]\r
416         ]\r
417     },\r
418     {\r
419         "id": "94b6490f.68e4d",\r
420         "type": "execute",\r
421         "name": "get esr-thirdparty-sdnc",\r
422         "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.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
423         "comments": "",\r
424         "outputs": 1,\r
425         "x": 2871.566665649414,\r
426         "y": 993.5666656494141,\r
427         "z": "2050832.98c01fc",\r
428         "wires": [\r
429             [\r
430                 "7943f6f7.be2db8",\r
431                 "c75de222.529ce8",\r
432                 "d30226e9.2d3ab"\r
433             ]\r
434         ]\r
435     },\r
436     {\r
437         "id": "94cf3038.f341a8",\r
438         "type": "set",\r
439         "name": "set esr-thirdparty-sdnc domainG id",\r
440         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
441         "comments": "",\r
442         "x": 2901.566665649414,\r
443         "y": 941.5666656494141,\r
444         "z": "2050832.98c01fc",\r
445         "wires": []\r
446     },\r
447     {\r
448         "id": "7943f6f7.be2db8",\r
449         "type": "success",\r
450         "name": "success",\r
451         "xml": "<outcome value='success'>\n",\r
452         "comments": "",\r
453         "outputs": 1,\r
454         "x": 3081.566665649414,\r
455         "y": 984.5666656494141,\r
456         "z": "2050832.98c01fc",\r
457         "wires": [\r
458             [\r
459                 "2503b7bf.0ec"\r
460             ]\r
461         ]\r
462     },\r
463     {\r
464         "id": "c75de222.529ce8",\r
465         "type": "not-found",\r
466         "name": "not-found",\r
467         "xml": "<outcome value='not-found'>\n",\r
468         "comments": "",\r
469         "outputs": 1,\r
470         "x": 3073.566665649414,\r
471         "y": 1039.566665649414,\r
472         "z": "2050832.98c01fc",\r
473         "wires": [\r
474             [\r
475                 "bca36ee5.113d58"\r
476             ]\r
477         ]\r
478     },\r
479     {\r
480         "id": "d30226e9.2d3ab",\r
481         "type": "other",\r
482         "name": "other",\r
483         "xml": "<outcome value='Other'>\n",\r
484         "comments": "",\r
485         "outputs": 1,\r
486         "x": 3078.566665649414,\r
487         "y": 1096.566665649414,\r
488         "z": "2050832.98c01fc",\r
489         "wires": [\r
490             [\r
491                 "1e88570c.ee0719"\r
492             ]\r
493         ]\r
494     },\r
495     {\r
496         "id": "1e88570c.ee0719",\r
497         "type": "returnFailure",\r
498         "name": "return failure",\r
499         "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
500         "comments": "",\r
501         "x": 3230.566665649414,\r
502         "y": 1097.566665649414,\r
503         "z": "2050832.98c01fc",\r
504         "wires": []\r
505     },\r
506     {\r
507         "id": "bca36ee5.113d58",\r
508         "type": "returnFailure",\r
509         "name": "return failure",\r
510         "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
511         "comments": "",\r
512         "x": 3241.566665649414,\r
513         "y": 1042.566665649414,\r
514         "z": "2050832.98c01fc",\r
515         "wires": []\r
516     },\r
517     {\r
518         "id": "2503b7bf.0ec",\r
519         "type": "block",\r
520         "name": "block",\r
521         "xml": "<block>\n",\r
522         "atomic": "false",\r
523         "comments": "",\r
524         "outputs": 1,\r
525         "x": 3225.948989868164,\r
526         "y": 982.2223358154297,\r
527         "z": "2050832.98c01fc",\r
528         "wires": [\r
529             [\r
530                 "41aaab63.e1cd3c"\r
531             ]\r
532         ]\r
533     },\r
534     {\r
535         "id": "c6fb39ce.9e60a",\r
536         "type": "outcome",\r
537         "name": "esr-thirdparty-sdnc",\r
538         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
539         "comments": "",\r
540         "outputs": 1,\r
541         "x": 2486.566665649414,\r
542         "y": 994.5666656494141,\r
543         "z": "2050832.98c01fc",\r
544         "wires": [\r
545             [\r
546                 "30ac35dd.e14312"\r
547             ]\r
548         ]\r
549     },\r
550     {\r
551         "id": "41aaab63.e1cd3c",\r
552         "type": "set",\r
553         "name": "set controller domainA data",\r
554         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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
555         "comments": "",\r
556         "x": 3440.566665649414,\r
557         "y": 978.5666656494141,\r
558         "z": "2050832.98c01fc",\r
559         "wires": []\r
560     },\r
561     {\r
562         "id": "90a6c364.46118",\r
563         "type": "switchNode",\r
564         "name": "switch dmnsidx == 0 (domainA)",\r
565         "xml": "<switch test='`$otnidx == 0`'>\n",\r
566         "comments": "",\r
567         "outputs": 1,\r
568         "x": 1559.566665649414,\r
569         "y": 1204.566665649414,\r
570         "z": "2050832.98c01fc",\r
571         "wires": [\r
572             [\r
573                 "802374f4.7d7ff8",\r
574                 "a519ae80.fc5af8"\r
575             ]\r
576         ]\r
577     },\r
578     {\r
579         "id": "802374f4.7d7ff8",\r
580         "type": "outcomeTrue",\r
581         "name": "true",\r
582         "xml": "<outcome value='true'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 1760.566665649414,\r
586         "y": 1202.566665649414,\r
587         "z": "2050832.98c01fc",\r
588         "wires": [\r
589             [\r
590                 "48f58df5.6800bc"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "40ebb061.3ec958",\r
596         "type": "set",\r
597         "name": "set pce-src-node",\r
598         "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
599         "comments": "",\r
600         "x": 2041.566665649414,\r
601         "y": 1152.566665649414,\r
602         "z": "2050832.98c01fc",\r
603         "wires": []\r
604     },\r
605     {\r
606         "id": "483dd213.b85e1c",\r
607         "type": "switchNode",\r
608         "name": "switch dmnsidx == last (domainB)",\r
609         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
610         "comments": "",\r
611         "outputs": 1,\r
612         "x": 1977.566665649414,\r
613         "y": 1253.566665649414,\r
614         "z": "2050832.98c01fc",\r
615         "wires": [\r
616             [\r
617                 "d8888a92.ad5628",\r
618                 "f6c02aaa.58a08"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "d8888a92.ad5628",\r
624         "type": "outcomeTrue",\r
625         "name": "true",\r
626         "xml": "<outcome value='true'>\n",\r
627         "comments": "",\r
628         "outputs": 1,\r
629         "x": 2207.566665649414,\r
630         "y": 1249.566665649414,\r
631         "z": "2050832.98c01fc",\r
632         "wires": [\r
633             [\r
634                 "7e806dc9.39e0fc"\r
635             ]\r
636         ]\r
637     },\r
638     {\r
639         "id": "a519ae80.fc5af8",\r
640         "type": "outcomeFalse",\r
641         "name": "false",\r
642         "xml": "<outcome value='false'>\n",\r
643         "comments": "",\r
644         "outputs": 1,\r
645         "x": 1760.566665649414,\r
646         "y": 1251.566665649414,\r
647         "z": "2050832.98c01fc",\r
648         "wires": [\r
649             [\r
650                 "483dd213.b85e1c"\r
651             ]\r
652         ]\r
653     },\r
654     {\r
655         "id": "f6c02aaa.58a08",\r
656         "type": "outcomeFalse",\r
657         "name": "false",\r
658         "xml": "<outcome value='false'>\n",\r
659         "comments": "",\r
660         "outputs": 1,\r
661         "x": 2208.566665649414,\r
662         "y": 1295.566665649414,\r
663         "z": "2050832.98c01fc",\r
664         "wires": [\r
665             [\r
666                 "1f8e1450.d16a94"\r
667             ]\r
668         ]\r
669     },\r
670     {\r
671         "id": "1f8e1450.d16a94",\r
672         "type": "set",\r
673         "name": "set attachment_param domain G",\r
674         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
675         "comments": "",\r
676         "x": 2422.566665649414,\r
677         "y": 1295.566665649414,\r
678         "z": "2050832.98c01fc",\r
679         "wires": []\r
680     },\r
681     {\r
682         "id": "9123357e.60632",\r
683         "type": "set",\r
684         "name": "set attachment_param domain A",\r
685         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
686         "comments": "",\r
687         "x": 2096.566665649414,\r
688         "y": 1199.566665649414,\r
689         "z": "2050832.98c01fc",\r
690         "wires": []\r
691     },\r
692     {\r
693         "id": "48f58df5.6800bc",\r
694         "type": "block",\r
695         "name": "block",\r
696         "xml": "<block>\n",\r
697         "atomic": "false",\r
698         "comments": "",\r
699         "outputs": 1,\r
700         "x": 1884.566665649414,\r
701         "y": 1193.566665649414,\r
702         "z": "2050832.98c01fc",\r
703         "wires": [\r
704             [\r
705                 "9123357e.60632"\r
706             ]\r
707         ]\r
708     },\r
709     {\r
710         "id": "7e806dc9.39e0fc",\r
711         "type": "block",\r
712         "name": "block",\r
713         "xml": "<block>\n",\r
714         "atomic": "false",\r
715         "comments": "",\r
716         "outputs": 1,\r
717         "x": 2340.566665649414,\r
718         "y": 1225.566665649414,\r
719         "z": "2050832.98c01fc",\r
720         "wires": [\r
721             [\r
722                 "d554f558.28b1b8"\r
723             ]\r
724         ]\r
725     },\r
726     {\r
727         "id": "2ea08541.5c60c2",\r
728         "type": "set",\r
729         "name": "set pce-src-node",\r
730         "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
731         "comments": "",\r
732         "x": 2496.566665649414,\r
733         "y": 1241.566665649414,\r
734         "z": "2050832.98c01fc",\r
735         "wires": []\r
736     },\r
737     {\r
738         "id": "d554f558.28b1b8",\r
739         "type": "set",\r
740         "name": "set attachment_param domain B",\r
741         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
742         "comments": "",\r
743         "x": 2544.566665649414,\r
744         "y": 1193.566665649414,\r
745         "z": "2050832.98c01fc",\r
746         "wires": []\r
747     },\r
748     {\r
749         "id": "475897b8.f705c",\r
750         "type": "set",\r
751         "name": "unset parameters",\r
752         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
753         "comments": "",\r
754         "x": 431.5666046142578,\r
755         "y": 3846.566909790039,\r
756         "z": "2050832.98c01fc",\r
757         "wires": []\r
758     },\r
759     {\r
760         "id": "45bcd5eb.003ca4",\r
761         "type": "set",\r
762         "name": "set srcTtp OTN layer",\r
763         "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
764         "comments": "",\r
765         "x": 470.56666564941406,\r
766         "y": 931.5666656494141,\r
767         "z": "2050832.98c01fc",\r
768         "wires": []\r
769     },\r
770     {\r
771         "id": "22dcd83c.2b5368",\r
772         "type": "set",\r
773         "name": "set srcTtp+dstTtp pair",\r
774         "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n                                               $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`\" />\n\n\n",\r
775         "comments": "",\r
776         "x": 1535.566665649414,\r
777         "y": 1284.566665649414,\r
778         "z": "2050832.98c01fc",\r
779         "wires": []\r
780     },\r
781     {\r
782         "id": "e150ae4f.8b2e58",\r
783         "type": "call",\r
784         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
785         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
786         "comments": "",\r
787         "outputs": 1,\r
788         "x": 1727.566635131836,\r
789         "y": 1382.566665649414,\r
790         "z": "2050832.98c01fc",\r
791         "wires": [\r
792             []\r
793         ]\r
794     },\r
795     {\r
796         "id": "e09d2c81.71b548",\r
797         "type": "set",\r
798         "name": "set current-provider-id and current-cvlan-id",\r
799         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",\r
800         "comments": "",\r
801         "x": 1599.566665649414,\r
802         "y": 1335.566665649414,\r
803         "z": "2050832.98c01fc",\r
804         "wires": []\r
805     },\r
806     {\r
807         "id": "1660b66e.1d0baa",\r
808         "type": "switchNode",\r
809         "name": "switch found-connectivity?",\r
810         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
811         "comments": "",\r
812         "outputs": 1,\r
813         "x": 1408.566665649414,\r
814         "y": 1536.566665649414,\r
815         "z": "2050832.98c01fc",\r
816         "wires": [\r
817             [\r
818                 "f4cf9f1c.724fd",\r
819                 "b4d1d385.3d74f"\r
820             ]\r
821         ]\r
822     },\r
823     {\r
824         "id": "f4cf9f1c.724fd",\r
825         "type": "outcomeTrue",\r
826         "name": "true",\r
827         "xml": "<outcome value='true'>\n",\r
828         "comments": "",\r
829         "outputs": 1,\r
830         "x": 1694.566665649414,\r
831         "y": 2355.566665649414,\r
832         "z": "2050832.98c01fc",\r
833         "wires": [\r
834             [\r
835                 "74fc514b.817128"\r
836             ]\r
837         ]\r
838     },\r
839     {\r
840         "id": "996fa9bd.709cb8",\r
841         "type": "comment",\r
842         "name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
843         "info": "if it had: then no new otn/vpn-binding is needed\n           ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n           ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",\r
844         "comments": "",\r
845         "x": 2120.566665649414,\r
846         "y": 2300.566665649414,\r
847         "z": "2050832.98c01fc",\r
848         "wires": []\r
849     },\r
850     {\r
851         "id": "db35c82.2ff7538",\r
852         "type": "comment",\r
853         "name": "create a new connectivity - (for dummy connectivity)",\r
854         "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",\r
855         "comments": "",\r
856         "x": 1987.566635131836,\r
857         "y": 1498.566665649414,\r
858         "z": "2050832.98c01fc",\r
859         "wires": []\r
860     },\r
861     {\r
862         "id": "54f8b37c.0f6ed4",\r
863         "type": "save",\r
864         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
865         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
866         "comments": "",\r
867         "outputs": 1,\r
868         "x": 2034.566665649414,\r
869         "y": 1548.566665649414,\r
870         "z": "2050832.98c01fc",\r
871         "wires": [\r
872             [\r
873                 "7be3896.57701f8"\r
874             ]\r
875         ]\r
876     },\r
877     {\r
878         "id": "7be3896.57701f8",\r
879         "type": "success",\r
880         "name": "success",\r
881         "xml": "<outcome value='success'>\n",\r
882         "comments": "",\r
883         "outputs": 1,\r
884         "x": 2322.566665649414,\r
885         "y": 1549.566665649414,\r
886         "z": "2050832.98c01fc",\r
887         "wires": [\r
888             [\r
889                 "f1bf4e31.6b1fe8"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "f1bf4e31.6b1fe8",\r
895         "type": "block",\r
896         "name": "block",\r
897         "xml": "<block>\n",\r
898         "atomic": "false",\r
899         "comments": "",\r
900         "outputs": 1,\r
901         "x": 2506.066665649414,\r
902         "y": 1547.820571899414,\r
903         "z": "2050832.98c01fc",\r
904         "wires": [\r
905             []\r
906         ]\r
907     },\r
908     {\r
909         "id": "3cd3c761.10556",\r
910         "type": "execute",\r
911         "name": "execute string.contains srcTtpdstTtpPair",\r
912         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",\r
913         "comments": "",\r
914         "outputs": 1,\r
915         "x": 2108.566665649414,\r
916         "y": 2352.566665649414,\r
917         "z": "2050832.98c01fc",\r
918         "wires": [\r
919             [\r
920                 "c33f3993.207e3",\r
921                 "56575be2.b67874"\r
922             ]\r
923         ]\r
924     },\r
925     {\r
926         "id": "c33f3993.207e3",\r
927         "type": "outcomeFalse",\r
928         "name": "false",\r
929         "xml": "<outcome value='false'>\n",\r
930         "comments": "",\r
931         "outputs": 1,\r
932         "x": 2281.566665649414,\r
933         "y": 2200.566665649414,\r
934         "z": "2050832.98c01fc",\r
935         "wires": [\r
936             []\r
937         ]\r
938     },\r
939     {\r
940         "id": "56575be2.b67874",\r
941         "type": "outcomeFalse",\r
942         "name": "true",\r
943         "xml": "<outcome value='true'>\n",\r
944         "comments": "",\r
945         "outputs": 1,\r
946         "x": 2313.566665649414,\r
947         "y": 2459.566665649414,\r
948         "z": "2050832.98c01fc",\r
949         "wires": [\r
950             [\r
951                 "3b0b33da.eb46f4"\r
952             ]\r
953         ]\r
954     },\r
955     {\r
956         "id": "1cae89b4.aa5636",\r
957         "type": "save",\r
958         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
959         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
960         "comments": "",\r
961         "outputs": 1,\r
962         "x": 2720.566665649414,\r
963         "y": 1990.566665649414,\r
964         "z": "2050832.98c01fc",\r
965         "wires": [\r
966             [\r
967                 "d58227c9.ab762"\r
968             ]\r
969         ]\r
970     },\r
971     {\r
972         "id": "d58227c9.ab762",\r
973         "type": "success",\r
974         "name": "success",\r
975         "xml": "<outcome value='success'>\n",\r
976         "comments": "",\r
977         "outputs": 1,\r
978         "x": 3024.566665649414,\r
979         "y": 1987.566665649414,\r
980         "z": "2050832.98c01fc",\r
981         "wires": [\r
982             [\r
983                 "92fb98e0.3a3cb"\r
984             ]\r
985         ]\r
986     },\r
987     {\r
988         "id": "92fb98e0.3a3cb",\r
989         "type": "block",\r
990         "name": "block",\r
991         "xml": "<block>\n",\r
992         "atomic": "false",\r
993         "comments": "",\r
994         "outputs": 1,\r
995         "x": 3175.066665649414,\r
996         "y": 1994.820571899414,\r
997         "z": "2050832.98c01fc",\r
998         "wires": [\r
999             []\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "86dbc539.52181",\r
1004         "type": "execute",\r
1005         "name": "execute UUID generator for connectivity domain otnidx",\r
1006         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
1007         "comments": "",\r
1008         "outputs": 1,\r
1009         "x": 2014.566665649414,\r
1010         "y": 1603.566665649414,\r
1011         "z": "2050832.98c01fc",\r
1012         "wires": [\r
1013             []\r
1014         ]\r
1015     },\r
1016     {\r
1017         "id": "6447d455.3d2644",\r
1018         "type": "save",\r
1019         "name": "save connectivity resource in AAI",\r
1020         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-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='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\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\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1021         "comments": "",\r
1022         "outputs": 1,\r
1023         "x": 1952.566665649414,\r
1024         "y": 1653.566665649414,\r
1025         "z": "2050832.98c01fc",\r
1026         "wires": [\r
1027             []\r
1028         ]\r
1029     },\r
1030     {\r
1031         "id": "f8fc4136.e557d8",\r
1032         "type": "save",\r
1033         "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
1034         "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-otnidx-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-otnidx-uuid`\" />",\r
1035         "comments": "",\r
1036         "outputs": 1,\r
1037         "x": 2053.566665649414,\r
1038         "y": 1698.566665649414,\r
1039         "z": "2050832.98c01fc",\r
1040         "wires": [\r
1041             []\r
1042         ]\r
1043     },\r
1044     {\r
1045         "id": "489556f5.800788",\r
1046         "type": "save",\r
1047         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1048         "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-otnidx-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-otnidx-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
1049         "comments": "",\r
1050         "outputs": 1,\r
1051         "x": 2089.566665649414,\r
1052         "y": 1752.566665649414,\r
1053         "z": "2050832.98c01fc",\r
1054         "wires": [\r
1055             []\r
1056         ]\r
1057     },\r
1058     {\r
1059         "id": "b222b6e5.a2269",\r
1060         "type": "save",\r
1061         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
1062         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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-otnidx-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-otnidx-uuid`\" />",\r
1063         "comments": "",\r
1064         "outputs": 1,\r
1065         "x": 2057.566665649414,\r
1066         "y": 1811.566665649414,\r
1067         "z": "2050832.98c01fc",\r
1068         "wires": [\r
1069             []\r
1070         ]\r
1071     },\r
1072     {\r
1073         "id": "e72c7ac8.1ee27",\r
1074         "type": "comment",\r
1075         "name": "find middle-man's eth-srv-name",\r
1076         "info": "",\r
1077         "comments": "",\r
1078         "x": 1515.566665649414,\r
1079         "y": 1427.566665649414,\r
1080         "z": "2050832.98c01fc",\r
1081         "wires": []\r
1082     },\r
1083     {\r
1084         "id": "af14d18e.54c668",\r
1085         "type": "set",\r
1086         "name": "set prop.ethernet-service-name",\r
1087         "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
1088         "comments": "",\r
1089         "x": 1537.566665649414,\r
1090         "y": 1471.566665649414,\r
1091         "z": "2050832.98c01fc",\r
1092         "wires": []\r
1093     },\r
1094     {\r
1095         "id": "e07c3627.a9ad28",\r
1096         "type": "save",\r
1097         "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
1098         "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/' + $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`\" />",\r
1099         "comments": "",\r
1100         "outputs": 1,\r
1101         "x": 2744.566665649414,\r
1102         "y": 2207.566665649414,\r
1103         "z": "2050832.98c01fc",\r
1104         "wires": [\r
1105             []\r
1106         ]\r
1107     },\r
1108     {\r
1109         "id": "68912ce0.303fb4",\r
1110         "type": "save",\r
1111         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1112         "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-otnidx-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-otnidx-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
1113         "comments": "",\r
1114         "outputs": 1,\r
1115         "x": 2775.566665649414,\r
1116         "y": 2246.566665649414,\r
1117         "z": "2050832.98c01fc",\r
1118         "wires": [\r
1119             []\r
1120         ]\r
1121     },\r
1122     {\r
1123         "id": "18b33cfb.a5700b",\r
1124         "type": "save",\r
1125         "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
1126         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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`\" />",\r
1127         "comments": "",\r
1128         "outputs": 1,\r
1129         "x": 2746.566665649414,\r
1130         "y": 2319.566665649414,\r
1131         "z": "2050832.98c01fc",\r
1132         "wires": [\r
1133             []\r
1134         ]\r
1135     },\r
1136     {\r
1137         "id": "3e5eef0e.e3f73",\r
1138         "type": "comment",\r
1139         "name": "update the founded connectivity to have a new coupling-flag",\r
1140         "info": "",\r
1141         "comments": "",\r
1142         "x": 2716.566665649414,\r
1143         "y": 2035.566665649414,\r
1144         "z": "2050832.98c01fc",\r
1145         "wires": []\r
1146     },\r
1147     {\r
1148         "id": "a5fb576e.12d628",\r
1149         "type": "set",\r
1150         "name": "set newFlag",\r
1151         "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n                                               $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
1152         "comments": "",\r
1153         "x": 2602.566665649414,\r
1154         "y": 2074.566665649414,\r
1155         "z": "2050832.98c01fc",\r
1156         "wires": []\r
1157     },\r
1158     {\r
1159         "id": "d377ac03.65cde",\r
1160         "type": "save",\r
1161         "name": "update connectivity resource in AAI",\r
1162         "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='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",\r
1163         "comments": "",\r
1164         "outputs": 1,\r
1165         "x": 2666.566665649414,\r
1166         "y": 2119.566665649414,\r
1167         "z": "2050832.98c01fc",\r
1168         "wires": [\r
1169             []\r
1170         ]\r
1171     },\r
1172     {\r
1173         "id": "f2d99771.385da",\r
1174         "type": "comment",\r
1175         "name": "the following two relationships should have already been there; if not => error",\r
1176         "info": "",\r
1177         "comments": "",\r
1178         "x": 2758.566665649414,\r
1179         "y": 2169.566665649414,\r
1180         "z": "2050832.98c01fc",\r
1181         "wires": []\r
1182     },\r
1183     {\r
1184         "id": "1df0ae3d.1e012a",\r
1185         "type": "block",\r
1186         "name": "block",\r
1187         "xml": "<block>\n",\r
1188         "atomic": "false",\r
1189         "comments": "",\r
1190         "outputs": 1,\r
1191         "x": 1744.566665649414,\r
1192         "y": 1536.566665649414,\r
1193         "z": "2050832.98c01fc",\r
1194         "wires": [\r
1195             [\r
1196                 "54f8b37c.0f6ed4",\r
1197                 "86dbc539.52181",\r
1198                 "6447d455.3d2644",\r
1199                 "f8fc4136.e557d8",\r
1200                 "489556f5.800788",\r
1201                 "b222b6e5.a2269"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "b4d1d385.3d74f",\r
1207         "type": "outcomeFalse",\r
1208         "name": "false",\r
1209         "xml": "<outcome value='false'>\n",\r
1210         "comments": "",\r
1211         "outputs": 1,\r
1212         "x": 1606.566665649414,\r
1213         "y": 1532.566665649414,\r
1214         "z": "2050832.98c01fc",\r
1215         "wires": [\r
1216             [\r
1217                 "1df0ae3d.1e012a"\r
1218             ]\r
1219         ]\r
1220     },\r
1221     {\r
1222         "id": "74fc514b.817128",\r
1223         "type": "block",\r
1224         "name": "block : atomic",\r
1225         "xml": "<block atomic='true'>",\r
1226         "atomic": "true",\r
1227         "comments": "",\r
1228         "outputs": 1,\r
1229         "x": 2404.566665649414,\r
1230         "y": 1999.566665649414,\r
1231         "z": "2050832.98c01fc",\r
1232         "wires": [\r
1233             [\r
1234                 "1cae89b4.aa5636",\r
1235                 "a5fb576e.12d628",\r
1236                 "d377ac03.65cde",\r
1237                 "18b33cfb.a5700b"\r
1238             ]\r
1239         ]\r
1240     },\r
1241     {\r
1242         "id": "1d755c4.2631d24",\r
1243         "type": "comment",\r
1244         "name": "loop through the relationships of this founded connectivity, then",\r
1245         "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
1246         "comments": "",\r
1247         "x": 2409.566665649414,\r
1248         "y": 2424.566665649414,\r
1249         "z": "2050832.98c01fc",\r
1250         "wires": []\r
1251     },\r
1252     {\r
1253         "id": "e76d16f4.131fa8",\r
1254         "type": "for",\r
1255         "name": "for each relationship",\r
1256         "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
1257         "comments": "",\r
1258         "outputs": 1,\r
1259         "x": 2751.566665649414,\r
1260         "y": 2460.566665649414,\r
1261         "z": "2050832.98c01fc",\r
1262         "wires": [\r
1263             [\r
1264                 "c79290ba.c52288"\r
1265             ]\r
1266         ]\r
1267     },\r
1268     {\r
1269         "id": "c79290ba.c52288",\r
1270         "type": "switchNode",\r
1271         "name": "switch related-to",\r
1272         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
1273         "comments": "",\r
1274         "outputs": 1,\r
1275         "x": 2963.566665649414,\r
1276         "y": 2458.566665649414,\r
1277         "z": "2050832.98c01fc",\r
1278         "wires": [\r
1279             [\r
1280                 "7b053331.5433cc"\r
1281             ]\r
1282         ]\r
1283     },\r
1284     {\r
1285         "id": "7b053331.5433cc",\r
1286         "type": "outcome",\r
1287         "name": "vpn-binding",\r
1288         "xml": "<outcome value='vpn-binding'>\n",\r
1289         "comments": "",\r
1290         "outputs": 1,\r
1291         "x": 3147.566665649414,\r
1292         "y": 2456.566665649414,\r
1293         "z": "2050832.98c01fc",\r
1294         "wires": [\r
1295             [\r
1296                 "874cfbc4.610df"\r
1297             ]\r
1298         ]\r
1299     },\r
1300     {\r
1301         "id": "874cfbc4.610df",\r
1302         "type": "block",\r
1303         "name": "block : atomic",\r
1304         "xml": "<block atomic=\"true\">",\r
1305         "atomic": "true",\r
1306         "outputs": 1,\r
1307         "x": 3326.566665649414,\r
1308         "y": 2461.566665649414,\r
1309         "z": "2050832.98c01fc",\r
1310         "wires": [\r
1311             [\r
1312                 "23e63567.6cde12",\r
1313                 "860dc7bb.33f898"\r
1314             ]\r
1315         ]\r
1316     },\r
1317     {\r
1318         "id": "860dc7bb.33f898",\r
1319         "type": "set",\r
1320         "name": "unset tmp.aai.vpn-binding",\r
1321         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
1322         "comments": "",\r
1323         "x": 3543.566665649414,\r
1324         "y": 2392.566665649414,\r
1325         "z": "2050832.98c01fc",\r
1326         "wires": []\r
1327     },\r
1328     {\r
1329         "id": "23e63567.6cde12",\r
1330         "type": "save",\r
1331         "name": "get vpn-binding from aai",\r
1332         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
1333         "comments": "",\r
1334         "outputs": 1,\r
1335         "x": 3536.566665649414,\r
1336         "y": 2478.566665649414,\r
1337         "z": "2050832.98c01fc",\r
1338         "wires": [\r
1339             [\r
1340                 "9ae4e678.567218",\r
1341                 "7ffe67c7.f6ae9",\r
1342                 "495c2481.525c0c"\r
1343             ]\r
1344         ]\r
1345     },\r
1346     {\r
1347         "id": "7ffe67c7.f6ae9",\r
1348         "type": "not-found",\r
1349         "name": "not-found",\r
1350         "xml": "<outcome value='not-found'>\n",\r
1351         "comments": "",\r
1352         "outputs": 1,\r
1353         "x": 3750.057632446289,\r
1354         "y": 2463.1407012939453,\r
1355         "z": "2050832.98c01fc",\r
1356         "wires": [\r
1357             [\r
1358                 "aa65fd53.ef5338"\r
1359             ]\r
1360         ]\r
1361     },\r
1362     {\r
1363         "id": "aa65fd53.ef5338",\r
1364         "type": "returnFailure",\r
1365         "name": "return failure",\r
1366         "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
1367         "comments": "",\r
1368         "x": 3912.629165649414,\r
1369         "y": 2462.4264068603516,\r
1370         "z": "2050832.98c01fc",\r
1371         "wires": []\r
1372     },\r
1373     {\r
1374         "id": "46144b36.0d9e9c",\r
1375         "type": "returnFailure",\r
1376         "name": "return failure",\r
1377         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1378         "comments": "",\r
1379         "x": 3913.566665649414,\r
1380         "y": 2507.566665649414,\r
1381         "z": "2050832.98c01fc",\r
1382         "wires": []\r
1383     },\r
1384     {\r
1385         "id": "495c2481.525c0c",\r
1386         "type": "failure",\r
1387         "name": "failure",\r
1388         "xml": "<outcome value='failure'>\n",\r
1389         "comments": "",\r
1390         "outputs": 1,\r
1391         "x": 3745.566665649414,\r
1392         "y": 2507.566665649414,\r
1393         "z": "2050832.98c01fc",\r
1394         "wires": [\r
1395             [\r
1396                 "46144b36.0d9e9c"\r
1397             ]\r
1398         ]\r
1399     },\r
1400     {\r
1401         "id": "9ae4e678.567218",\r
1402         "type": "success",\r
1403         "name": "success",\r
1404         "xml": "<outcome value='success'>\n",\r
1405         "comments": "",\r
1406         "outputs": 1,\r
1407         "x": 3747.566665649414,\r
1408         "y": 2567.566665649414,\r
1409         "z": "2050832.98c01fc",\r
1410         "wires": [\r
1411             [\r
1412                 "10d11190.f9b6ce"\r
1413             ]\r
1414         ]\r
1415     },\r
1416     {\r
1417         "id": "10d11190.f9b6ce",\r
1418         "type": "block",\r
1419         "name": "block : atomic",\r
1420         "xml": "<block atomic=\"true\">",\r
1421         "atomic": "true",\r
1422         "outputs": 1,\r
1423         "x": 3916.566665649414,\r
1424         "y": 2566.566665649414,\r
1425         "z": "2050832.98c01fc",\r
1426         "wires": [\r
1427             [\r
1428                 "f3f9bec1.1031a8"\r
1429             ]\r
1430         ]\r
1431     },\r
1432     {\r
1433         "id": "3b0b33da.eb46f4",\r
1434         "type": "block",\r
1435         "name": "block",\r
1436         "xml": "<block>\n",\r
1437         "atomic": "false",\r
1438         "comments": "",\r
1439         "outputs": 1,\r
1440         "x": 2540.566665649414,\r
1441         "y": 2458.566665649414,\r
1442         "z": "2050832.98c01fc",\r
1443         "wires": [\r
1444             [\r
1445                 "e76d16f4.131fa8",\r
1446                 "cf3e3cbd.e0de98",\r
1447                 "d9eb4973.6fd078"\r
1448             ]\r
1449         ]\r
1450     },\r
1451     {\r
1452         "id": "f3f9bec1.1031a8",\r
1453         "type": "switchNode",\r
1454         "name": "switch srcTtp",\r
1455         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
1456         "comments": "",\r
1457         "outputs": 1,\r
1458         "x": 4115.566665649414,\r
1459         "y": 2567.566665649414,\r
1460         "z": "2050832.98c01fc",\r
1461         "wires": [\r
1462             [\r
1463                 "b44e2e1b.d89b7"\r
1464             ]\r
1465         ]\r
1466     },\r
1467     {\r
1468         "id": "b44e2e1b.d89b7",\r
1469         "type": "outcomeTrue",\r
1470         "name": "true",\r
1471         "xml": "<outcome value='true'>\n",\r
1472         "comments": "",\r
1473         "outputs": 1,\r
1474         "x": 4278.566665649414,\r
1475         "y": 2565.566665649414,\r
1476         "z": "2050832.98c01fc",\r
1477         "wires": [\r
1478             [\r
1479                 "1fcb6776.c122c9"\r
1480             ]\r
1481         ]\r
1482     },\r
1483     {\r
1484         "id": "1fcb6776.c122c9",\r
1485         "type": "switchNode",\r
1486         "name": "switch dstTtp",\r
1487         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
1488         "comments": "",\r
1489         "outputs": 1,\r
1490         "x": 4459.566665649414,\r
1491         "y": 2565.566665649414,\r
1492         "z": "2050832.98c01fc",\r
1493         "wires": [\r
1494             [\r
1495                 "9cd0e2ee.ae3208"\r
1496             ]\r
1497         ]\r
1498     },\r
1499     {\r
1500         "id": "9cd0e2ee.ae3208",\r
1501         "type": "outcomeTrue",\r
1502         "name": "true",\r
1503         "xml": "<outcome value='true'>\n",\r
1504         "comments": "",\r
1505         "outputs": 1,\r
1506         "x": 4622.566665649414,\r
1507         "y": 2563.566665649414,\r
1508         "z": "2050832.98c01fc",\r
1509         "wires": [\r
1510             [\r
1511                 "2650c786.e545e"\r
1512             ]\r
1513         ]\r
1514     },\r
1515     {\r
1516         "id": "4a1b7e57.c40f08",\r
1517         "type": "set",\r
1518         "name": "set tmp.the-vpn-binding",\r
1519         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
1520         "comments": "",\r
1521         "x": 4979.566665649414,\r
1522         "y": 2570.566665649414,\r
1523         "z": "2050832.98c01fc",\r
1524         "wires": []\r
1525     },\r
1526     {\r
1527         "id": "2650c786.e545e",\r
1528         "type": "block",\r
1529         "name": "block",\r
1530         "xml": "<block>\n",\r
1531         "atomic": "false",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 4761.566665649414,\r
1535         "y": 2562.566665649414,\r
1536         "z": "2050832.98c01fc",\r
1537         "wires": [\r
1538             [\r
1539                 "4a1b7e57.c40f08",\r
1540                 "a9183733.3981d8"\r
1541             ]\r
1542         ]\r
1543     },\r
1544     {\r
1545         "id": "a9183733.3981d8",\r
1546         "type": "break",\r
1547         "name": "break",\r
1548         "xml": "<break>\n",\r
1549         "comments": "",\r
1550         "x": 4925.566665649414,\r
1551         "y": 2614.566665649414,\r
1552         "z": "2050832.98c01fc",\r
1553         "wires": []\r
1554     },\r
1555     {\r
1556         "id": "cf3e3cbd.e0de98",\r
1557         "type": "set",\r
1558         "name": "unset tmp.the-vpn-binding",\r
1559         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
1560         "comments": "",\r
1561         "x": 2761.566665649414,\r
1562         "y": 2421.566665649414,\r
1563         "z": "2050832.98c01fc",\r
1564         "wires": []\r
1565     },\r
1566     {\r
1567         "id": "b12c732.984971",\r
1568         "type": "comment",\r
1569         "name": "increase the bw of the-vpn-binding and change status to modified",\r
1570         "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
1571         "comments": "",\r
1572         "x": 2850.566665649414,\r
1573         "y": 2595.566665649414,\r
1574         "z": "2050832.98c01fc",\r
1575         "wires": []\r
1576     },\r
1577     {\r
1578         "id": "d9eb4973.6fd078",\r
1579         "type": "save",\r
1580         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
1581         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
1582         "comments": "",\r
1583         "outputs": 1,\r
1584         "x": 2820.566665649414,\r
1585         "y": 2655.566665649414,\r
1586         "z": "2050832.98c01fc",\r
1587         "wires": [\r
1588             []\r
1589         ]\r
1590     },\r
1591     {\r
1592         "id": "64dad903.5a2f98",\r
1593         "type": "switchNode",\r
1594         "name": "switch otninfoProtect exists",\r
1595         "xml": "<switch test=\"`$tmp.otninfoProtect_length > 0`\">\n\n",\r
1596         "comments": "",\r
1597         "outputs": 1,\r
1598         "x": 586.6833038330078,\r
1599         "y": 2521.566665649414,\r
1600         "z": "2050832.98c01fc",\r
1601         "wires": [\r
1602             [\r
1603                 "215a5551.e3e412"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "215a5551.e3e412",\r
1609         "type": "outcomeTrue",\r
1610         "name": "true",\r
1611         "xml": "<outcome value='true'>\n",\r
1612         "comments": "",\r
1613         "outputs": 1,\r
1614         "x": 807.6833038330078,\r
1615         "y": 2522.566665649414,\r
1616         "z": "2050832.98c01fc",\r
1617         "wires": [\r
1618             [\r
1619                 "a45af556.e89b18"\r
1620             ]\r
1621         ]\r
1622     },\r
1623     {\r
1624         "id": "3c1038b8.5e7e68",\r
1625         "type": "for",\r
1626         "name": "for vidx..tmp.otninfoProtect_length[]",\r
1627         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfoProtect_length`' >",\r
1628         "comments": "",\r
1629         "outputs": 1,\r
1630         "x": 623.2333526611328,\r
1631         "y": 3303.466567993164,\r
1632         "z": "2050832.98c01fc",\r
1633         "wires": [\r
1634             [\r
1635                 "ef268a68.25127"\r
1636             ]\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "ef268a68.25127",\r
1641         "type": "block",\r
1642         "name": "block : atomic",\r
1643         "xml": "<block atomic='true'>",\r
1644         "atomic": "true",\r
1645         "comments": "",\r
1646         "outputs": 1,\r
1647         "x": 883.2333221435547,\r
1648         "y": 3296.466567993164,\r
1649         "z": "2050832.98c01fc",\r
1650         "wires": [\r
1651             [\r
1652                 "3c86462f.4b1cfa",\r
1653                 "95fc92f6.a552f",\r
1654                 "bd01141d.416e08",\r
1655                 "a5def1e9.f9efb8",\r
1656                 "2ba7fbc5.caf74c",\r
1657                 "7c316fec.b1e588",\r
1658                 "85ee5aba.20cb98",\r
1659                 "9839af4.fe6bc5",\r
1660                 "f83dd9dc.4b2938",\r
1661                 "e931b49.dce4f48"\r
1662             ]\r
1663         ]\r
1664     },\r
1665     {\r
1666         "id": "95fc92f6.a552f",\r
1667         "type": "switchNode",\r
1668         "name": "switch dstPort == NULL",\r
1669         "xml": "<switch test=\"`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
1670         "comments": "",\r
1671         "outputs": 1,\r
1672         "x": 1272.2333526611328,\r
1673         "y": 2965.466567993164,\r
1674         "z": "2050832.98c01fc",\r
1675         "wires": [\r
1676             [\r
1677                 "11f57316.f3cd45",\r
1678                 "95eb0f31.f65c"\r
1679             ]\r
1680         ]\r
1681     },\r
1682     {\r
1683         "id": "95eb0f31.f65c",\r
1684         "type": "outcomeFalse",\r
1685         "name": "false",\r
1686         "xml": "<outcome value='false'>\n",\r
1687         "comments": "",\r
1688         "outputs": 1,\r
1689         "x": 1639.2333526611328,\r
1690         "y": 2972.466567993164,\r
1691         "z": "2050832.98c01fc",\r
1692         "wires": [\r
1693             [\r
1694                 "bae99d3f.d39558"\r
1695             ]\r
1696         ]\r
1697     },\r
1698     {\r
1699         "id": "bae99d3f.d39558",\r
1700         "type": "set",\r
1701         "name": "set access-provider-id and client-id",\r
1702         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />\n",\r
1703         "comments": "",\r
1704         "x": 1850.2333526611328,\r
1705         "y": 2970.466567993164,\r
1706         "z": "2050832.98c01fc",\r
1707         "wires": []\r
1708     },\r
1709     {\r
1710         "id": "bd01141d.416e08",\r
1711         "type": "set",\r
1712         "name": "set srcdstpnf-name",\r
1713         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
1714         "comments": "",\r
1715         "x": 1448.2333526611328,\r
1716         "y": 3039.466567993164,\r
1717         "z": "2050832.98c01fc",\r
1718         "wires": []\r
1719     },\r
1720     {\r
1721         "id": "a5def1e9.f9efb8",\r
1722         "type": "get-resource",\r
1723         "name": "get-resource tmp.srcdstpnf-name",\r
1724         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
1725         "comments": "",\r
1726         "outputs": 1,\r
1727         "x": 1492.2333526611328,\r
1728         "y": 3087.466567993164,\r
1729         "z": "2050832.98c01fc",\r
1730         "wires": [\r
1731             [\r
1732                 "1b704af4.001005",\r
1733                 "90a71ff0.af51a",\r
1734                 "de22a1d2.f2012"\r
1735             ]\r
1736         ]\r
1737     },\r
1738     {\r
1739         "id": "1b704af4.001005",\r
1740         "type": "success",\r
1741         "name": "success",\r
1742         "xml": "<outcome value='success'>\n",\r
1743         "comments": "",\r
1744         "outputs": 1,\r
1745         "x": 1704.7333526611328,\r
1746         "y": 3034.466567993164,\r
1747         "z": "2050832.98c01fc",\r
1748         "wires": [\r
1749             [\r
1750                 "13747b87.9c71cc"\r
1751             ]\r
1752         ]\r
1753     },\r
1754     {\r
1755         "id": "90a71ff0.af51a",\r
1756         "type": "not-found",\r
1757         "name": "not-found",\r
1758         "xml": "<outcome value='not-found'>\n",\r
1759         "comments": "",\r
1760         "outputs": 1,\r
1761         "x": 1716.7333526611328,\r
1762         "y": 3084.466567993164,\r
1763         "z": "2050832.98c01fc",\r
1764         "wires": [\r
1765             [\r
1766                 "8dc0e81e.e3f4e8"\r
1767             ]\r
1768         ]\r
1769     },\r
1770     {\r
1771         "id": "de22a1d2.f2012",\r
1772         "type": "other",\r
1773         "name": "other",\r
1774         "xml": "<outcome value='Other'>\n",\r
1775         "comments": "",\r
1776         "outputs": 1,\r
1777         "x": 1707.7333526611328,\r
1778         "y": 3139.466567993164,\r
1779         "z": "2050832.98c01fc",\r
1780         "wires": [\r
1781             [\r
1782                 "588af43e.c26e74"\r
1783             ]\r
1784         ]\r
1785     },\r
1786     {\r
1787         "id": "588af43e.c26e74",\r
1788         "type": "returnFailure",\r
1789         "name": "return failure",\r
1790         "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
1791         "comments": "",\r
1792         "x": 1852.7333526611328,\r
1793         "y": 3138.466567993164,\r
1794         "z": "2050832.98c01fc",\r
1795         "wires": []\r
1796     },\r
1797     {\r
1798         "id": "8dc0e81e.e3f4e8",\r
1799         "type": "returnFailure",\r
1800         "name": "return failure",\r
1801         "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
1802         "comments": "",\r
1803         "x": 1863.7333526611328,\r
1804         "y": 3081.466567993164,\r
1805         "z": "2050832.98c01fc",\r
1806         "wires": []\r
1807     },\r
1808     {\r
1809         "id": "13747b87.9c71cc",\r
1810         "type": "block",\r
1811         "name": "block",\r
1812         "xml": "<block>\n",\r
1813         "atomic": "false",\r
1814         "comments": "",\r
1815         "outputs": 1,\r
1816         "x": 1830.1157989501953,\r
1817         "y": 3028.1222381591797,\r
1818         "z": "2050832.98c01fc",\r
1819         "wires": [\r
1820             [\r
1821                 "974aaa11.eb6cb"\r
1822             ]\r
1823         ]\r
1824     },\r
1825     {\r
1826         "id": "974aaa11.eb6cb",\r
1827         "type": "for",\r
1828         "name": "for each relationship",\r
1829         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
1830         "comments": "",\r
1831         "outputs": 1,\r
1832         "x": 1991.2333526611328,\r
1833         "y": 3042.466567993164,\r
1834         "z": "2050832.98c01fc",\r
1835         "wires": [\r
1836             [\r
1837                 "d0dc9aab.207738"\r
1838             ]\r
1839         ]\r
1840     },\r
1841     {\r
1842         "id": "d0dc9aab.207738",\r
1843         "type": "switchNode",\r
1844         "name": "switch related-to",\r
1845         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
1846         "comments": "",\r
1847         "outputs": 1,\r
1848         "x": 2186.233352661133,\r
1849         "y": 3042.466567993164,\r
1850         "z": "2050832.98c01fc",\r
1851         "wires": [\r
1852             [\r
1853                 "c5ea8522.683198"\r
1854             ]\r
1855         ]\r
1856     },\r
1857     {\r
1858         "id": "5023a378.bccf5c",\r
1859         "type": "block",\r
1860         "name": "block : atomic",\r
1861         "xml": "<block atomic=\"true\">",\r
1862         "atomic": "true",\r
1863         "outputs": 1,\r
1864         "x": 2566.233352661133,\r
1865         "y": 3038.466567993164,\r
1866         "z": "2050832.98c01fc",\r
1867         "wires": [\r
1868             [\r
1869                 "684650c8.a4a3a",\r
1870                 "cb667230.05f32"\r
1871             ]\r
1872         ]\r
1873     },\r
1874     {\r
1875         "id": "cb667230.05f32",\r
1876         "type": "execute",\r
1877         "name": "get esr-thirdparty-sdnc",\r
1878         "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.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
1879         "comments": "",\r
1880         "outputs": 1,\r
1881         "x": 2774.233352661133,\r
1882         "y": 3045.466567993164,\r
1883         "z": "2050832.98c01fc",\r
1884         "wires": [\r
1885             [\r
1886                 "b3d421a8.26ce58",\r
1887                 "207778d4.3409c8",\r
1888                 "d90d835c.bc33f"\r
1889             ]\r
1890         ]\r
1891     },\r
1892     {\r
1893         "id": "684650c8.a4a3a",\r
1894         "type": "set",\r
1895         "name": "set esr-thirdparty-sdnc domainG id",\r
1896         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
1897         "comments": "",\r
1898         "x": 2804.233352661133,\r
1899         "y": 2993.466567993164,\r
1900         "z": "2050832.98c01fc",\r
1901         "wires": []\r
1902     },\r
1903     {\r
1904         "id": "b3d421a8.26ce58",\r
1905         "type": "success",\r
1906         "name": "success",\r
1907         "xml": "<outcome value='success'>\n",\r
1908         "comments": "",\r
1909         "outputs": 1,\r
1910         "x": 2984.233352661133,\r
1911         "y": 3036.466567993164,\r
1912         "z": "2050832.98c01fc",\r
1913         "wires": [\r
1914             [\r
1915                 "344430e4.438e1"\r
1916             ]\r
1917         ]\r
1918     },\r
1919     {\r
1920         "id": "207778d4.3409c8",\r
1921         "type": "not-found",\r
1922         "name": "not-found",\r
1923         "xml": "<outcome value='not-found'>\n",\r
1924         "comments": "",\r
1925         "outputs": 1,\r
1926         "x": 2976.233352661133,\r
1927         "y": 3091.466567993164,\r
1928         "z": "2050832.98c01fc",\r
1929         "wires": [\r
1930             [\r
1931                 "dc2a2f20.50fc1"\r
1932             ]\r
1933         ]\r
1934     },\r
1935     {\r
1936         "id": "d90d835c.bc33f",\r
1937         "type": "other",\r
1938         "name": "other",\r
1939         "xml": "<outcome value='Other'>\n",\r
1940         "comments": "",\r
1941         "outputs": 1,\r
1942         "x": 2981.233352661133,\r
1943         "y": 3148.466567993164,\r
1944         "z": "2050832.98c01fc",\r
1945         "wires": [\r
1946             [\r
1947                 "1ecff912.83975f"\r
1948             ]\r
1949         ]\r
1950     },\r
1951     {\r
1952         "id": "1ecff912.83975f",\r
1953         "type": "returnFailure",\r
1954         "name": "return failure",\r
1955         "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
1956         "comments": "",\r
1957         "x": 3133.233352661133,\r
1958         "y": 3149.466567993164,\r
1959         "z": "2050832.98c01fc",\r
1960         "wires": []\r
1961     },\r
1962     {\r
1963         "id": "dc2a2f20.50fc1",\r
1964         "type": "returnFailure",\r
1965         "name": "return failure",\r
1966         "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
1967         "comments": "",\r
1968         "x": 3144.233352661133,\r
1969         "y": 3094.466567993164,\r
1970         "z": "2050832.98c01fc",\r
1971         "wires": []\r
1972     },\r
1973     {\r
1974         "id": "344430e4.438e1",\r
1975         "type": "block",\r
1976         "name": "block",\r
1977         "xml": "<block>\n",\r
1978         "atomic": "false",\r
1979         "comments": "",\r
1980         "outputs": 1,\r
1981         "x": 3128.615676879883,\r
1982         "y": 3034.1222381591797,\r
1983         "z": "2050832.98c01fc",\r
1984         "wires": [\r
1985             [\r
1986                 "8422f10e.6bf76"\r
1987             ]\r
1988         ]\r
1989     },\r
1990     {\r
1991         "id": "c5ea8522.683198",\r
1992         "type": "outcome",\r
1993         "name": "esr-thirdparty-sdnc",\r
1994         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
1995         "comments": "",\r
1996         "outputs": 1,\r
1997         "x": 2389.233352661133,\r
1998         "y": 3046.466567993164,\r
1999         "z": "2050832.98c01fc",\r
2000         "wires": [\r
2001             [\r
2002                 "5023a378.bccf5c"\r
2003             ]\r
2004         ]\r
2005     },\r
2006     {\r
2007         "id": "8422f10e.6bf76",\r
2008         "type": "set",\r
2009         "name": "set controller domainA data",\r
2010         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.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
2011         "comments": "",\r
2012         "x": 3343.233352661133,\r
2013         "y": 3030.466567993164,\r
2014         "z": "2050832.98c01fc",\r
2015         "wires": []\r
2016     },\r
2017     {\r
2018         "id": "2ba7fbc5.caf74c",\r
2019         "type": "switchNode",\r
2020         "name": "switch dmnsidx == 0 (domainA)",\r
2021         "xml": "<switch test='`$otnidx == 0`'>\n",\r
2022         "comments": "",\r
2023         "outputs": 1,\r
2024         "x": 1462.2333526611328,\r
2025         "y": 3256.466567993164,\r
2026         "z": "2050832.98c01fc",\r
2027         "wires": [\r
2028             [\r
2029                 "d1a10e9.68db57",\r
2030                 "55ef105b.219ab8"\r
2031             ]\r
2032         ]\r
2033     },\r
2034     {\r
2035         "id": "d1a10e9.68db57",\r
2036         "type": "outcomeTrue",\r
2037         "name": "true",\r
2038         "xml": "<outcome value='true'>\n",\r
2039         "comments": "",\r
2040         "outputs": 1,\r
2041         "x": 1663.2333526611328,\r
2042         "y": 3254.466567993164,\r
2043         "z": "2050832.98c01fc",\r
2044         "wires": [\r
2045             [\r
2046                 "854cd71a.2831b"\r
2047             ]\r
2048         ]\r
2049     },\r
2050     {\r
2051         "id": "5d22aeae.4146d",\r
2052         "type": "set",\r
2053         "name": "set pce-src-node",\r
2054         "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
2055         "comments": "",\r
2056         "x": 1944.2333526611328,\r
2057         "y": 3204.466567993164,\r
2058         "z": "2050832.98c01fc",\r
2059         "wires": []\r
2060     },\r
2061     {\r
2062         "id": "da07edc0.17da88",\r
2063         "type": "switchNode",\r
2064         "name": "switch dmnsidx == last (domainC)",\r
2065         "xml": "<switch test='`$otnidx == $tmp.otninfoProtect_length - 1`'>\n",\r
2066         "comments": "",\r
2067         "outputs": 1,\r
2068         "x": 1880.2333526611328,\r
2069         "y": 3305.466567993164,\r
2070         "z": "2050832.98c01fc",\r
2071         "wires": [\r
2072             [\r
2073                 "123d4b4b.3d3dad",\r
2074                 "ef13616b.b55bd"\r
2075             ]\r
2076         ]\r
2077     },\r
2078     {\r
2079         "id": "123d4b4b.3d3dad",\r
2080         "type": "outcomeTrue",\r
2081         "name": "true",\r
2082         "xml": "<outcome value='true'>\n",\r
2083         "comments": "",\r
2084         "outputs": 1,\r
2085         "x": 2110.233352661133,\r
2086         "y": 3301.466567993164,\r
2087         "z": "2050832.98c01fc",\r
2088         "wires": [\r
2089             [\r
2090                 "158fea08.6700e6"\r
2091             ]\r
2092         ]\r
2093     },\r
2094     {\r
2095         "id": "55ef105b.219ab8",\r
2096         "type": "outcomeFalse",\r
2097         "name": "false",\r
2098         "xml": "<outcome value='false'>\n",\r
2099         "comments": "",\r
2100         "outputs": 1,\r
2101         "x": 1663.2333526611328,\r
2102         "y": 3303.466567993164,\r
2103         "z": "2050832.98c01fc",\r
2104         "wires": [\r
2105             [\r
2106                 "da07edc0.17da88"\r
2107             ]\r
2108         ]\r
2109     },\r
2110     {\r
2111         "id": "ef13616b.b55bd",\r
2112         "type": "outcomeFalse",\r
2113         "name": "false",\r
2114         "xml": "<outcome value='false'>\n",\r
2115         "comments": "",\r
2116         "outputs": 1,\r
2117         "x": 2111.233352661133,\r
2118         "y": 3347.466567993164,\r
2119         "z": "2050832.98c01fc",\r
2120         "wires": [\r
2121             [\r
2122                 "8c36d27f.e0867"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "8c36d27f.e0867",\r
2128         "type": "set",\r
2129         "name": "set attachment_param domain G",\r
2130         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",\r
2131         "comments": "",\r
2132         "x": 2325.233352661133,\r
2133         "y": 3347.466567993164,\r
2134         "z": "2050832.98c01fc",\r
2135         "wires": []\r
2136     },\r
2137     {\r
2138         "id": "d0c0493f.f08008",\r
2139         "type": "set",\r
2140         "name": "set attachment_param domain A",\r
2141         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-access-node-id`' />",\r
2142         "comments": "",\r
2143         "x": 1999.2333526611328,\r
2144         "y": 3251.466567993164,\r
2145         "z": "2050832.98c01fc",\r
2146         "wires": []\r
2147     },\r
2148     {\r
2149         "id": "854cd71a.2831b",\r
2150         "type": "block",\r
2151         "name": "block",\r
2152         "xml": "<block>\n",\r
2153         "atomic": "false",\r
2154         "comments": "",\r
2155         "outputs": 1,\r
2156         "x": 1787.2333526611328,\r
2157         "y": 3245.466567993164,\r
2158         "z": "2050832.98c01fc",\r
2159         "wires": [\r
2160             [\r
2161                 "d0c0493f.f08008"\r
2162             ]\r
2163         ]\r
2164     },\r
2165     {\r
2166         "id": "158fea08.6700e6",\r
2167         "type": "block",\r
2168         "name": "block",\r
2169         "xml": "<block>\n",\r
2170         "atomic": "false",\r
2171         "comments": "",\r
2172         "outputs": 1,\r
2173         "x": 2243.233352661133,\r
2174         "y": 3277.466567993164,\r
2175         "z": "2050832.98c01fc",\r
2176         "wires": [\r
2177             [\r
2178                 "9e71b7af.8db628"\r
2179             ]\r
2180         ]\r
2181     },\r
2182     {\r
2183         "id": "bea33937.3887e8",\r
2184         "type": "set",\r
2185         "name": "set pce-src-node",\r
2186         "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
2187         "comments": "",\r
2188         "x": 2399.233352661133,\r
2189         "y": 3293.466567993164,\r
2190         "z": "2050832.98c01fc",\r
2191         "wires": []\r
2192     },\r
2193     {\r
2194         "id": "9e71b7af.8db628",\r
2195         "type": "set",\r
2196         "name": "set attachment_param domain C",\r
2197         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />",\r
2198         "comments": "",\r
2199         "x": 2447.233352661133,\r
2200         "y": 3245.466567993164,\r
2201         "z": "2050832.98c01fc",\r
2202         "wires": []\r
2203     },\r
2204     {\r
2205         "id": "7c316fec.b1e588",\r
2206         "type": "set",\r
2207         "name": "set srcTtp+dstTtp pair",\r
2208         "xml": "<set>\n<parameter name='tmp.srcTtpdstTtpPair' value=\"`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id + ',' +\n                                               $tmp.otninfootninfoProtect.dstPort.dst-tunnel-tp-id`\" />\n\n\n",\r
2209         "comments": "",\r
2210         "x": 1438.2333526611328,\r
2211         "y": 3336.466567993164,\r
2212         "z": "2050832.98c01fc",\r
2213         "wires": []\r
2214     },\r
2215     {\r
2216         "id": "9839af4.fe6bc5",\r
2217         "type": "call",\r
2218         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
2219         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
2220         "comments": "",\r
2221         "outputs": 1,\r
2222         "x": 1630.2333221435547,\r
2223         "y": 3434.466567993164,\r
2224         "z": "2050832.98c01fc",\r
2225         "wires": [\r
2226             []\r
2227         ]\r
2228     },\r
2229     {\r
2230         "id": "85ee5aba.20cb98",\r
2231         "type": "set",\r
2232         "name": "set current-provider-id and current-cvlan-id",\r
2233         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$tmp.access-provider-id`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n",\r
2234         "comments": "",\r
2235         "x": 1502.2333526611328,\r
2236         "y": 3387.466567993164,\r
2237         "z": "2050832.98c01fc",\r
2238         "wires": []\r
2239     },\r
2240     {\r
2241         "id": "f83dd9dc.4b2938",\r
2242         "type": "switchNode",\r
2243         "name": "switch found-connectivity?",\r
2244         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
2245         "comments": "",\r
2246         "outputs": 1,\r
2247         "x": 1311.2333526611328,\r
2248         "y": 3588.466567993164,\r
2249         "z": "2050832.98c01fc",\r
2250         "wires": [\r
2251             [\r
2252                 "18d6c2fa.641995",\r
2253                 "dcc8cc4e.be442"\r
2254             ]\r
2255         ]\r
2256     },\r
2257     {\r
2258         "id": "18d6c2fa.641995",\r
2259         "type": "outcomeTrue",\r
2260         "name": "true",\r
2261         "xml": "<outcome value='true'>\n",\r
2262         "comments": "",\r
2263         "outputs": 1,\r
2264         "x": 1597.2333526611328,\r
2265         "y": 4407.466567993164,\r
2266         "z": "2050832.98c01fc",\r
2267         "wires": [\r
2268             [\r
2269                 "e6eb5ead.3574d"\r
2270             ]\r
2271         ]\r
2272     },\r
2273     {\r
2274         "id": "343e95a2.91d102",\r
2275         "type": "comment",\r
2276         "name": "call string.contains to check if the cache has srcTtpdstTtpPair",\r
2277         "info": "if it had: then no new otn/vpn-binding is needed\n           ==> find the otn. ==>look into the relationships of this connectivity and find the one that has same srcTtp and dstTtp\n           ==> increase the bw\nif not, create a new vpn-binding, attach this vpn-binding into the founded connectivity, and attach it to the middle-man-conn as well.",\r
2278         "comments": "",\r
2279         "x": 2023.2333526611328,\r
2280         "y": 4352.466567993164,\r
2281         "z": "2050832.98c01fc",\r
2282         "wires": []\r
2283     },\r
2284     {\r
2285         "id": "96e5df51.7a42e8",\r
2286         "type": "comment",\r
2287         "name": "create a new connectivity - (for dummy connectivity)",\r
2288         "info": "(this should not be for LEAF side or ROOT side, otherwise error)\n\ncreate a new vpn-binding (done here)\ncreate a new connectivity (done below)\nadd srcTtpdstTtpPair into the cache in this connectivity\nattach the vpn-binding into the connectivity relationship\nattach this connectivity into the middle man\nattach this connectivity into the service-instance",\r
2289         "comments": "",\r
2290         "x": 1890.2333221435547,\r
2291         "y": 3550.466567993164,\r
2292         "z": "2050832.98c01fc",\r
2293         "wires": []\r
2294     },\r
2295     {\r
2296         "id": "b3b8f0b4.38811",\r
2297         "type": "save",\r
2298         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
2299         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
2300         "comments": "",\r
2301         "outputs": 1,\r
2302         "x": 1937.2333526611328,\r
2303         "y": 3600.466567993164,\r
2304         "z": "2050832.98c01fc",\r
2305         "wires": [\r
2306             [\r
2307                 "45c4366f.fdbdd8"\r
2308             ]\r
2309         ]\r
2310     },\r
2311     {\r
2312         "id": "45c4366f.fdbdd8",\r
2313         "type": "success",\r
2314         "name": "success",\r
2315         "xml": "<outcome value='success'>\n",\r
2316         "comments": "",\r
2317         "outputs": 1,\r
2318         "x": 2225.233352661133,\r
2319         "y": 3601.466567993164,\r
2320         "z": "2050832.98c01fc",\r
2321         "wires": [\r
2322             [\r
2323                 "2d3f69ef.0fb5de"\r
2324             ]\r
2325         ]\r
2326     },\r
2327     {\r
2328         "id": "2d3f69ef.0fb5de",\r
2329         "type": "block",\r
2330         "name": "block",\r
2331         "xml": "<block>\n",\r
2332         "atomic": "false",\r
2333         "comments": "",\r
2334         "outputs": 1,\r
2335         "x": 2408.733352661133,\r
2336         "y": 3599.720474243164,\r
2337         "z": "2050832.98c01fc",\r
2338         "wires": [\r
2339             []\r
2340         ]\r
2341     },\r
2342     {\r
2343         "id": "2e9ec397.995dbc",\r
2344         "type": "execute",\r
2345         "name": "execute string.contains srcTtpdstTtpPair",\r
2346         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n<parameter name=\"source\" value='`$tmp.the-connectivity.coupling-flag`'/>\n<parameter name=\"target\" value=\"`$tmp.srcTtpdstTtpPair`\"/>\n\n",\r
2347         "comments": "",\r
2348         "outputs": 1,\r
2349         "x": 2011.2333526611328,\r
2350         "y": 4404.466567993164,\r
2351         "z": "2050832.98c01fc",\r
2352         "wires": [\r
2353             [\r
2354                 "ed90dd28.b83e58",\r
2355                 "f82ff6ac.db51f"\r
2356             ]\r
2357         ]\r
2358     },\r
2359     {\r
2360         "id": "ed90dd28.b83e58",\r
2361         "type": "outcomeFalse",\r
2362         "name": "false",\r
2363         "xml": "<outcome value='false'>\n",\r
2364         "comments": "",\r
2365         "outputs": 1,\r
2366         "x": 2184.233352661133,\r
2367         "y": 4252.466567993164,\r
2368         "z": "2050832.98c01fc",\r
2369         "wires": [\r
2370             []\r
2371         ]\r
2372     },\r
2373     {\r
2374         "id": "f82ff6ac.db51f",\r
2375         "type": "outcomeFalse",\r
2376         "name": "true",\r
2377         "xml": "<outcome value='true'>\n",\r
2378         "comments": "",\r
2379         "outputs": 1,\r
2380         "x": 2216.233352661133,\r
2381         "y": 4511.466567993164,\r
2382         "z": "2050832.98c01fc",\r
2383         "wires": [\r
2384             [\r
2385                 "99f4b014.f67058"\r
2386             ]\r
2387         ]\r
2388     },\r
2389     {\r
2390         "id": "8628699c.1adc48",\r
2391         "type": "save",\r
2392         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
2393         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value=\"`$prop.otn-tunnel-name + '-protection'`\" />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<!--<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n<parameter name='slice-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='ops-note' value='`$tmp.srcTtpOtnLayer`' />\n\n",\r
2394         "comments": "",\r
2395         "outputs": 1,\r
2396         "x": 2623.233352661133,\r
2397         "y": 4042.466567993164,\r
2398         "z": "2050832.98c01fc",\r
2399         "wires": [\r
2400             [\r
2401                 "350cf74a.3ae6a8"\r
2402             ]\r
2403         ]\r
2404     },\r
2405     {\r
2406         "id": "350cf74a.3ae6a8",\r
2407         "type": "success",\r
2408         "name": "success",\r
2409         "xml": "<outcome value='success'>\n",\r
2410         "comments": "",\r
2411         "outputs": 1,\r
2412         "x": 2927.233352661133,\r
2413         "y": 4039.466567993164,\r
2414         "z": "2050832.98c01fc",\r
2415         "wires": [\r
2416             [\r
2417                 "80cb8f26.8d8088"\r
2418             ]\r
2419         ]\r
2420     },\r
2421     {\r
2422         "id": "80cb8f26.8d8088",\r
2423         "type": "block",\r
2424         "name": "block",\r
2425         "xml": "<block>\n",\r
2426         "atomic": "false",\r
2427         "comments": "",\r
2428         "outputs": 1,\r
2429         "x": 3077.733352661133,\r
2430         "y": 4046.720474243164,\r
2431         "z": "2050832.98c01fc",\r
2432         "wires": [\r
2433             []\r
2434         ]\r
2435     },\r
2436     {\r
2437         "id": "a2ac802b.508078",\r
2438         "type": "execute",\r
2439         "name": "execute UUID generator for connectivity domain otnidx",\r
2440         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
2441         "comments": "",\r
2442         "outputs": 1,\r
2443         "x": 1917.2333526611328,\r
2444         "y": 3655.466567993164,\r
2445         "z": "2050832.98c01fc",\r
2446         "wires": [\r
2447             []\r
2448         ]\r
2449     },\r
2450     {\r
2451         "id": "9669f040.b74ba",\r
2452         "type": "save",\r
2453         "name": "save connectivity resource in AAI",\r
2454         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-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='`$tmp.access-provider-id`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='coupling-flag' value='`$srcTtpdstTtpPair`' />\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\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\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
2455         "comments": "",\r
2456         "outputs": 1,\r
2457         "x": 1855.2333526611328,\r
2458         "y": 3705.466567993164,\r
2459         "z": "2050832.98c01fc",\r
2460         "wires": [\r
2461             []\r
2462         ]\r
2463     },\r
2464     {\r
2465         "id": "7c73fd.eee64c04",\r
2466         "type": "save",\r
2467         "name": "save middle-man-conn relationship to connectivity-otnidx, in AAI",\r
2468         "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-otnidx-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-otnidx-uuid`\" />",\r
2469         "comments": "",\r
2470         "outputs": 1,\r
2471         "x": 1956.2333526611328,\r
2472         "y": 3750.466567993164,\r
2473         "z": "2050832.98c01fc",\r
2474         "wires": [\r
2475             []\r
2476         ]\r
2477     },\r
2478     {\r
2479         "id": "470effce.6ff878",\r
2480         "type": "save",\r
2481         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
2482         "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-otnidx-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-otnidx-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
2483         "comments": "",\r
2484         "outputs": 1,\r
2485         "x": 1992.2333526611328,\r
2486         "y": 3804.466567993164,\r
2487         "z": "2050832.98c01fc",\r
2488         "wires": [\r
2489             []\r
2490         ]\r
2491     },\r
2492     {\r
2493         "id": "46fef161.e2f5b8",\r
2494         "type": "save",\r
2495         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
2496         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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-otnidx-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-otnidx-uuid`\" />",\r
2497         "comments": "",\r
2498         "outputs": 1,\r
2499         "x": 1960.2333526611328,\r
2500         "y": 3863.466567993164,\r
2501         "z": "2050832.98c01fc",\r
2502         "wires": [\r
2503             []\r
2504         ]\r
2505     },\r
2506     {\r
2507         "id": "a6bdd1f3.4b8e18",\r
2508         "type": "comment",\r
2509         "name": "find middle-man's eth-srv-name",\r
2510         "info": "",\r
2511         "comments": "",\r
2512         "x": 1418.2333526611328,\r
2513         "y": 3479.466567993164,\r
2514         "z": "2050832.98c01fc",\r
2515         "wires": []\r
2516     },\r
2517     {\r
2518         "id": "e931b49.dce4f48",\r
2519         "type": "set",\r
2520         "name": "set prop.ethernet-service-name",\r
2521         "xml": "<set>\n<parameter name='prop.ethernet-service-name' value='`$middle-man-conn.etht-svc-name`' />\n\n",\r
2522         "comments": "",\r
2523         "x": 1440.2333526611328,\r
2524         "y": 3523.466567993164,\r
2525         "z": "2050832.98c01fc",\r
2526         "wires": []\r
2527     },\r
2528     {\r
2529         "id": "90c5dad8.6290a8",\r
2530         "type": "save",\r
2531         "name": "save middle-man-conn relationship to tmp.the-connectivity, in AAI",\r
2532         "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/' + $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`\" />",\r
2533         "comments": "",\r
2534         "outputs": 1,\r
2535         "x": 2647.233352661133,\r
2536         "y": 4259.466567993164,\r
2537         "z": "2050832.98c01fc",\r
2538         "wires": [\r
2539             []\r
2540         ]\r
2541     },\r
2542     {\r
2543         "id": "db332d3c.49a9a",\r
2544         "type": "save",\r
2545         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
2546         "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-otnidx-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-otnidx-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
2547         "comments": "",\r
2548         "outputs": 1,\r
2549         "x": 2678.233352661133,\r
2550         "y": 4298.466567993164,\r
2551         "z": "2050832.98c01fc",\r
2552         "wires": [\r
2553             []\r
2554         ]\r
2555     },\r
2556     {\r
2557         "id": "d699f611.493dc8",\r
2558         "type": "save",\r
2559         "name": "save tmp.the-connectivity relationship to vpn-binding-otnidx, in AAI",\r
2560         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \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`\" />",\r
2561         "comments": "",\r
2562         "outputs": 1,\r
2563         "x": 2649.233352661133,\r
2564         "y": 4371.466567993164,\r
2565         "z": "2050832.98c01fc",\r
2566         "wires": [\r
2567             []\r
2568         ]\r
2569     },\r
2570     {\r
2571         "id": "1cd5d29a.f74d95",\r
2572         "type": "comment",\r
2573         "name": "update the founded connectivity to have a new coupling-flag",\r
2574         "info": "",\r
2575         "comments": "",\r
2576         "x": 2619.233352661133,\r
2577         "y": 4087.466567993164,\r
2578         "z": "2050832.98c01fc",\r
2579         "wires": []\r
2580     },\r
2581     {\r
2582         "id": "41ec6c24.ddf264",\r
2583         "type": "set",\r
2584         "name": "set newFlag",\r
2585         "xml": "<set>\n<parameter name='tmp.newFlag' value=\"`$tmp.the-connectivity.coupling-flag + '-' +\n                                               $tmp.srcTtpdstTtpPair`\" />\n\n\n",\r
2586         "comments": "",\r
2587         "x": 2505.233352661133,\r
2588         "y": 4126.466567993164,\r
2589         "z": "2050832.98c01fc",\r
2590         "wires": []\r
2591     },\r
2592     {\r
2593         "id": "5401259a.255f4c",\r
2594         "type": "save",\r
2595         "name": "update connectivity resource in AAI",\r
2596         "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='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='coupling-flag' value='`$tmp.newFlag`' />\n",\r
2597         "comments": "",\r
2598         "outputs": 1,\r
2599         "x": 2569.233352661133,\r
2600         "y": 4171.466567993164,\r
2601         "z": "2050832.98c01fc",\r
2602         "wires": [\r
2603             []\r
2604         ]\r
2605     },\r
2606     {\r
2607         "id": "f4ae7aab.9265",\r
2608         "type": "comment",\r
2609         "name": "the following two relationships should have already been there; if not => error",\r
2610         "info": "",\r
2611         "comments": "",\r
2612         "x": 2661.233352661133,\r
2613         "y": 4221.466567993164,\r
2614         "z": "2050832.98c01fc",\r
2615         "wires": []\r
2616     },\r
2617     {\r
2618         "id": "f7b21c05.40cbf",\r
2619         "type": "block",\r
2620         "name": "block",\r
2621         "xml": "<block>\n",\r
2622         "atomic": "false",\r
2623         "comments": "",\r
2624         "outputs": 1,\r
2625         "x": 1647.2333526611328,\r
2626         "y": 3588.466567993164,\r
2627         "z": "2050832.98c01fc",\r
2628         "wires": [\r
2629             [\r
2630                 "b3b8f0b4.38811",\r
2631                 "a2ac802b.508078",\r
2632                 "9669f040.b74ba",\r
2633                 "7c73fd.eee64c04",\r
2634                 "470effce.6ff878",\r
2635                 "46fef161.e2f5b8"\r
2636             ]\r
2637         ]\r
2638     },\r
2639     {\r
2640         "id": "dcc8cc4e.be442",\r
2641         "type": "outcomeFalse",\r
2642         "name": "false",\r
2643         "xml": "<outcome value='false'>\n",\r
2644         "comments": "",\r
2645         "outputs": 1,\r
2646         "x": 1509.2333526611328,\r
2647         "y": 3584.466567993164,\r
2648         "z": "2050832.98c01fc",\r
2649         "wires": [\r
2650             [\r
2651                 "f7b21c05.40cbf"\r
2652             ]\r
2653         ]\r
2654     },\r
2655     {\r
2656         "id": "e6eb5ead.3574d",\r
2657         "type": "block",\r
2658         "name": "block : atomic",\r
2659         "xml": "<block atomic='true'>",\r
2660         "atomic": "true",\r
2661         "comments": "",\r
2662         "outputs": 1,\r
2663         "x": 2307.233352661133,\r
2664         "y": 4051.466567993164,\r
2665         "z": "2050832.98c01fc",\r
2666         "wires": [\r
2667             [\r
2668                 "8628699c.1adc48",\r
2669                 "41ec6c24.ddf264",\r
2670                 "5401259a.255f4c",\r
2671                 "d699f611.493dc8"\r
2672             ]\r
2673         ]\r
2674     },\r
2675     {\r
2676         "id": "3343c09a.65c218",\r
2677         "type": "comment",\r
2678         "name": "loop through the relationships of this founded connectivity, then",\r
2679         "info": "then find the vpn-binding that has same src ttp and dst ttp as this one",\r
2680         "comments": "",\r
2681         "x": 2312.233352661133,\r
2682         "y": 4476.466567993164,\r
2683         "z": "2050832.98c01fc",\r
2684         "wires": []\r
2685     },\r
2686     {\r
2687         "id": "9dc35d09.68f5e",\r
2688         "type": "for",\r
2689         "name": "for each relationship",\r
2690         "xml": "<for silentFailure='true' index='tcridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n\n",\r
2691         "comments": "",\r
2692         "outputs": 1,\r
2693         "x": 2654.233352661133,\r
2694         "y": 4512.466567993164,\r
2695         "z": "2050832.98c01fc",\r
2696         "wires": [\r
2697             [\r
2698                 "9e275798.602f8"\r
2699             ]\r
2700         ]\r
2701     },\r
2702     {\r
2703         "id": "9e275798.602f8",\r
2704         "type": "switchNode",\r
2705         "name": "switch related-to",\r
2706         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$tcridx].related-to`'>\n",\r
2707         "comments": "",\r
2708         "outputs": 1,\r
2709         "x": 2866.233352661133,\r
2710         "y": 4510.466567993164,\r
2711         "z": "2050832.98c01fc",\r
2712         "wires": [\r
2713             [\r
2714                 "7a3ca348.6eb8cc"\r
2715             ]\r
2716         ]\r
2717     },\r
2718     {\r
2719         "id": "7a3ca348.6eb8cc",\r
2720         "type": "outcome",\r
2721         "name": "vpn-binding",\r
2722         "xml": "<outcome value='vpn-binding'>\n",\r
2723         "comments": "",\r
2724         "outputs": 1,\r
2725         "x": 3050.233352661133,\r
2726         "y": 4508.466567993164,\r
2727         "z": "2050832.98c01fc",\r
2728         "wires": [\r
2729             [\r
2730                 "18297da6.def11a"\r
2731             ]\r
2732         ]\r
2733     },\r
2734     {\r
2735         "id": "18297da6.def11a",\r
2736         "type": "block",\r
2737         "name": "block : atomic",\r
2738         "xml": "<block atomic=\"true\">",\r
2739         "atomic": "true",\r
2740         "outputs": 1,\r
2741         "x": 3229.233352661133,\r
2742         "y": 4513.466567993164,\r
2743         "z": "2050832.98c01fc",\r
2744         "wires": [\r
2745             [\r
2746                 "cae15caf.d873b",\r
2747                 "b9a58cc8.83da"\r
2748             ]\r
2749         ]\r
2750     },\r
2751     {\r
2752         "id": "b9a58cc8.83da",\r
2753         "type": "set",\r
2754         "name": "unset tmp.aai.vpn-binding",\r
2755         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
2756         "comments": "",\r
2757         "x": 3446.233352661133,\r
2758         "y": 4444.466567993164,\r
2759         "z": "2050832.98c01fc",\r
2760         "wires": []\r
2761     },\r
2762     {\r
2763         "id": "cae15caf.d873b",\r
2764         "type": "save",\r
2765         "name": "get vpn-binding from aai",\r
2766         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$tcridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
2767         "comments": "",\r
2768         "outputs": 1,\r
2769         "x": 3439.233352661133,\r
2770         "y": 4530.466567993164,\r
2771         "z": "2050832.98c01fc",\r
2772         "wires": [\r
2773             [\r
2774                 "5138a4d2.ef8fac",\r
2775                 "ac846614.4aec2",\r
2776                 "f282e20e.a80ae8"\r
2777             ]\r
2778         ]\r
2779     },\r
2780     {\r
2781         "id": "ac846614.4aec2",\r
2782         "type": "not-found",\r
2783         "name": "not-found",\r
2784         "xml": "<outcome value='not-found'>\n",\r
2785         "comments": "",\r
2786         "outputs": 1,\r
2787         "x": 3652.724319458008,\r
2788         "y": 4515.040603637695,\r
2789         "z": "2050832.98c01fc",\r
2790         "wires": [\r
2791             [\r
2792                 "a9c1a4d0.be4bf"\r
2793             ]\r
2794         ]\r
2795     },\r
2796     {\r
2797         "id": "a9c1a4d0.be4bf",\r
2798         "type": "returnFailure",\r
2799         "name": "return failure",\r
2800         "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
2801         "comments": "",\r
2802         "x": 3815.295852661133,\r
2803         "y": 4514.326309204102,\r
2804         "z": "2050832.98c01fc",\r
2805         "wires": []\r
2806     },\r
2807     {\r
2808         "id": "3f01f4a.cba308c",\r
2809         "type": "returnFailure",\r
2810         "name": "return failure",\r
2811         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2812         "comments": "",\r
2813         "x": 3816.233352661133,\r
2814         "y": 4559.466567993164,\r
2815         "z": "2050832.98c01fc",\r
2816         "wires": []\r
2817     },\r
2818     {\r
2819         "id": "f282e20e.a80ae8",\r
2820         "type": "failure",\r
2821         "name": "failure",\r
2822         "xml": "<outcome value='failure'>\n",\r
2823         "comments": "",\r
2824         "outputs": 1,\r
2825         "x": 3648.233352661133,\r
2826         "y": 4559.466567993164,\r
2827         "z": "2050832.98c01fc",\r
2828         "wires": [\r
2829             [\r
2830                 "3f01f4a.cba308c"\r
2831             ]\r
2832         ]\r
2833     },\r
2834     {\r
2835         "id": "5138a4d2.ef8fac",\r
2836         "type": "success",\r
2837         "name": "success",\r
2838         "xml": "<outcome value='success'>\n",\r
2839         "comments": "",\r
2840         "outputs": 1,\r
2841         "x": 3650.233352661133,\r
2842         "y": 4619.466567993164,\r
2843         "z": "2050832.98c01fc",\r
2844         "wires": [\r
2845             [\r
2846                 "77a45849.e6938"\r
2847             ]\r
2848         ]\r
2849     },\r
2850     {\r
2851         "id": "77a45849.e6938",\r
2852         "type": "block",\r
2853         "name": "block : atomic",\r
2854         "xml": "<block atomic=\"true\">",\r
2855         "atomic": "true",\r
2856         "outputs": 1,\r
2857         "x": 3819.233352661133,\r
2858         "y": 4618.466567993164,\r
2859         "z": "2050832.98c01fc",\r
2860         "wires": [\r
2861             [\r
2862                 "4ba14139.176d1"\r
2863             ]\r
2864         ]\r
2865     },\r
2866     {\r
2867         "id": "99f4b014.f67058",\r
2868         "type": "block",\r
2869         "name": "block",\r
2870         "xml": "<block>\n",\r
2871         "atomic": "false",\r
2872         "comments": "",\r
2873         "outputs": 1,\r
2874         "x": 2443.233352661133,\r
2875         "y": 4510.466567993164,\r
2876         "z": "2050832.98c01fc",\r
2877         "wires": [\r
2878             [\r
2879                 "9dc35d09.68f5e",\r
2880                 "389a95d9.814532",\r
2881                 "dc2c44c.de08338"\r
2882             ]\r
2883         ]\r
2884     },\r
2885     {\r
2886         "id": "4ba14139.176d1",\r
2887         "type": "switchNode",\r
2888         "name": "switch srcTtp",\r
2889         "xml": "<switch test='`$tmp.aai.vpn-binding.src-access-ltp-id == $tmp.otninfoProtect[$otnidx].srcPort.src-tunnel-tp-id`'>\n",\r
2890         "comments": "",\r
2891         "outputs": 1,\r
2892         "x": 4018.233352661133,\r
2893         "y": 4619.466567993164,\r
2894         "z": "2050832.98c01fc",\r
2895         "wires": [\r
2896             [\r
2897                 "bca4df60.ab3168"\r
2898             ]\r
2899         ]\r
2900     },\r
2901     {\r
2902         "id": "bca4df60.ab3168",\r
2903         "type": "outcomeTrue",\r
2904         "name": "true",\r
2905         "xml": "<outcome value='true'>\n",\r
2906         "comments": "",\r
2907         "outputs": 1,\r
2908         "x": 4181.233352661133,\r
2909         "y": 4617.466567993164,\r
2910         "z": "2050832.98c01fc",\r
2911         "wires": [\r
2912             [\r
2913                 "8c9fdcfa.7d409"\r
2914             ]\r
2915         ]\r
2916     },\r
2917     {\r
2918         "id": "8c9fdcfa.7d409",\r
2919         "type": "switchNode",\r
2920         "name": "switch dstTtp",\r
2921         "xml": "<switch test='`$tmp.aai.vpn-binding.dst-access-ltp-id == $tmp.otninfoProtect[$otnidx].dstPort.dst-tunnel-tp-id`'>\n",\r
2922         "comments": "",\r
2923         "outputs": 1,\r
2924         "x": 4362.233352661133,\r
2925         "y": 4617.466567993164,\r
2926         "z": "2050832.98c01fc",\r
2927         "wires": [\r
2928             [\r
2929                 "1fd4ba30.e4e24e"\r
2930             ]\r
2931         ]\r
2932     },\r
2933     {\r
2934         "id": "1fd4ba30.e4e24e",\r
2935         "type": "outcomeTrue",\r
2936         "name": "true",\r
2937         "xml": "<outcome value='true'>\n",\r
2938         "comments": "",\r
2939         "outputs": 1,\r
2940         "x": 4525.233352661133,\r
2941         "y": 4615.466567993164,\r
2942         "z": "2050832.98c01fc",\r
2943         "wires": [\r
2944             [\r
2945                 "eeebf323.f178a8"\r
2946             ]\r
2947         ]\r
2948     },\r
2949     {\r
2950         "id": "19bf4184.74519e",\r
2951         "type": "set",\r
2952         "name": "set tmp.the-vpn-binding",\r
2953         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='`$tmp.aai.vpn-binding.`' />\n",\r
2954         "comments": "",\r
2955         "x": 4882.233352661133,\r
2956         "y": 4622.466567993164,\r
2957         "z": "2050832.98c01fc",\r
2958         "wires": []\r
2959     },\r
2960     {\r
2961         "id": "eeebf323.f178a8",\r
2962         "type": "block",\r
2963         "name": "block",\r
2964         "xml": "<block>\n",\r
2965         "atomic": "false",\r
2966         "comments": "",\r
2967         "outputs": 1,\r
2968         "x": 4664.233352661133,\r
2969         "y": 4614.466567993164,\r
2970         "z": "2050832.98c01fc",\r
2971         "wires": [\r
2972             [\r
2973                 "19bf4184.74519e",\r
2974                 "12253a72.5240ae"\r
2975             ]\r
2976         ]\r
2977     },\r
2978     {\r
2979         "id": "12253a72.5240ae",\r
2980         "type": "break",\r
2981         "name": "break",\r
2982         "xml": "<break>\n",\r
2983         "comments": "",\r
2984         "x": 4828.233352661133,\r
2985         "y": 4666.466567993164,\r
2986         "z": "2050832.98c01fc",\r
2987         "wires": []\r
2988     },\r
2989     {\r
2990         "id": "389a95d9.814532",\r
2991         "type": "set",\r
2992         "name": "unset tmp.the-vpn-binding",\r
2993         "xml": "<set>\n<parameter name='tmp.the-vpn-binding.' value='' />\n",\r
2994         "comments": "",\r
2995         "x": 2664.233352661133,\r
2996         "y": 4473.466567993164,\r
2997         "z": "2050832.98c01fc",\r
2998         "wires": []\r
2999     },\r
3000     {\r
3001         "id": "5b2a70f3.05e488",\r
3002         "type": "comment",\r
3003         "name": "increase the bw of the-vpn-binding and change status to modified",\r
3004         "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
3005         "comments": "",\r
3006         "x": 2753.233352661133,\r
3007         "y": 4647.466567993164,\r
3008         "z": "2050832.98c01fc",\r
3009         "wires": []\r
3010     },\r
3011     {\r
3012         "id": "dc2c44c.de08338",\r
3013         "type": "save",\r
3014         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3015         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<!--<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />-->\n<parameter name='customer-vpn-id' value='`($tmp.the-vpn-binding.customer-vpn-id + $gfp)`' />\n\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
3016         "comments": "",\r
3017         "outputs": 1,\r
3018         "x": 2723.233352661133,\r
3019         "y": 4707.466567993164,\r
3020         "z": "2050832.98c01fc",\r
3021         "wires": [\r
3022             []\r
3023         ]\r
3024     },\r
3025     {\r
3026         "id": "3c86462f.4b1cfa",\r
3027         "type": "execute",\r
3028         "name": "execute UUID generator for vpn-binding $otnidx",\r
3029         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
3030         "comments": "",\r
3031         "outputs": 1,\r
3032         "x": 1558.2333526611328,\r
3033         "y": 2875.466567993164,\r
3034         "z": "2050832.98c01fc",\r
3035         "wires": [\r
3036             []\r
3037         ]\r
3038     },\r
3039     {\r
3040         "id": "11f57316.f3cd45",\r
3041         "type": "outcomeTrue",\r
3042         "name": "true",\r
3043         "xml": "<outcome value='true'>\n",\r
3044         "comments": "",\r
3045         "outputs": 1,\r
3046         "x": 1638.2333526611328,\r
3047         "y": 2926.466567993164,\r
3048         "z": "2050832.98c01fc",\r
3049         "wires": [\r
3050             [\r
3051                 "9c6641d3.3410d"\r
3052             ]\r
3053         ]\r
3054     },\r
3055     {\r
3056         "id": "9c6641d3.3410d",\r
3057         "type": "set",\r
3058         "name": "set access-provider-id and client-id",\r
3059         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfoProtect[$otnidx].srcPort.src-access-node-id`' />\n",\r
3060         "comments": "",\r
3061         "x": 1852.2333526611328,\r
3062         "y": 2925.466567993164,\r
3063         "z": "2050832.98c01fc",\r
3064         "wires": []\r
3065     },\r
3066     {\r
3067         "id": "397ccb1f.018174",\r
3068         "type": "set",\r
3069         "name": "unset parameters",\r
3070         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value='' />\n<parameter name='prop.vpn-binding-otnidx-uuid' value='' />\n<parameter name='tmp.access-provider-id' value='' />\n<parameter name='tmp.access-client-id' value='' />\n<parameter name='tmp.access-topology-id' value='' />\n<parameter name='tmp.srcdstpnf-id' value='' />\n<parameter name='tmp.aai.srcdst-pnf.' value='' />\n<parameter name='tmp.domainG.esr-thirdparty-id' value='' />\n<parameter name='tmp.aai.domainG.esr-thirdparty-sdnc.' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value='' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value='' />\n<parameter name='tmp.srcTtpdstTtpPair' value='' />\n\n\n",\r
3071         "comments": "",\r
3072         "x": 1218.1332550048828,\r
3073         "y": 2510.466567993164,\r
3074         "z": "2050832.98c01fc",\r
3075         "wires": []\r
3076     },\r
3077     {\r
3078         "id": "a45af556.e89b18",\r
3079         "type": "block",\r
3080         "name": "block : atomic",\r
3081         "xml": "<block atomic='true'>",\r
3082         "atomic": "true",\r
3083         "comments": "",\r
3084         "outputs": 1,\r
3085         "x": 992.7666778564453,\r
3086         "y": 2526.699966430664,\r
3087         "z": "2050832.98c01fc",\r
3088         "wires": [\r
3089             [\r
3090                 "397ccb1f.018174",\r
3091                 "3c1038b8.5e7e68"\r
3092             ]\r
3093         ]\r
3094     }\r
3095 ]