232afae40d6e400e72932d5bb4fbb169fc7e8d76
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_esr-thirdparty-sdnc-discovery.json
1 [\r
2     {\r
3         "id": "b49e6ed1.c8dcb",\r
4         "type": "other",\r
5         "name": "update",\r
6         "xml": "<outcome value='Update'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 663,\r
10         "y": 290,\r
11         "z": "1b18cff5.bba51",\r
12         "wires": [\r
13             [\r
14                 "afc79595.03a058"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "93d3a809.23d83",\r
20         "type": "other",\r
21         "name": "delete",\r
22         "xml": "<outcome value='delete'>\n",\r
23         "comments": "",\r
24         "outputs": 1,\r
25         "x": 663,\r
26         "y": 370,\r
27         "z": "1b18cff5.bba51",\r
28         "wires": [\r
29             [\r
30                 "87f5ce3d.163be8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "87f5ce3d.163be8",\r
36         "type": "block",\r
37         "name": "block : atomic",\r
38         "xml": "<block atomic=\"true\">",\r
39         "atomic": "true",\r
40         "outputs": 1,\r
41         "x": 804.5,\r
42         "y": 370,\r
43         "z": "1b18cff5.bba51",\r
44         "wires": [\r
45             []\r
46         ]\r
47     },\r
48     {\r
49         "id": "ed89d8e2.366518",\r
50         "type": "comment",\r
51         "name": "TODO: Delete topology from AAI",\r
52         "info": "",\r
53         "comments": "",\r
54         "x": 737.3335189819336,\r
55         "y": 337.96899485588074,\r
56         "z": "1b18cff5.bba51",\r
57         "wires": []\r
58     },\r
59     {\r
60         "id": "493ee223.06b5cc",\r
61         "type": "switchNode",\r
62         "name": "switch aai-event-trigger",\r
63         "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
64         "comments": "",\r
65         "outputs": 1,\r
66         "x": 493.5,\r
67         "y": 330,\r
68         "z": "1b18cff5.bba51",\r
69         "wires": [\r
70             [\r
71                 "b49e6ed1.c8dcb",\r
72                 "93d3a809.23d83"\r
73             ]\r
74         ]\r
75     },\r
76     {\r
77         "id": "c970e0d9.988dc8",\r
78         "type": "block",\r
79         "name": "block : atomic",\r
80         "xml": "<block atomic=\"true\">",\r
81         "atomic": "true",\r
82         "outputs": 1,\r
83         "x": 1190.5,\r
84         "y": 201,\r
85         "z": "1b18cff5.bba51",\r
86         "wires": [\r
87             [\r
88                 "b93333aa.1c0a7",\r
89                 "8e89ec86.381848",\r
90                 "6bfd56ef.86aba8",\r
91                 "29c878c8.6e2e3",\r
92                 "9dd42ebd.c3ec58"\r
93             ]\r
94         ]\r
95     },\r
96     {\r
97         "id": "8e89ec86.381848",\r
98         "type": "execute",\r
99         "name": "execute RestApiCallNode Get token",\r
100         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\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\"/>",\r
101         "comments": "",\r
102         "outputs": 1,\r
103         "x": 1463.5001983642578,\r
104         "y": 122.00000953674316,\r
105         "z": "1b18cff5.bba51",\r
106         "wires": [\r
107             [\r
108                 "37b02225.daaf3e",\r
109                 "e44faed5.0a562"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "37b02225.daaf3e",\r
115         "type": "success",\r
116         "name": "success",\r
117         "xml": "<outcome value='success'>\n",\r
118         "comments": "",\r
119         "outputs": 1,\r
120         "x": 1753.000244140625,\r
121         "y": 114,\r
122         "z": "1b18cff5.bba51",\r
123         "wires": [\r
124             [\r
125                 "9ee82b4c.027258"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "e44faed5.0a562",\r
131         "type": "failure",\r
132         "name": "failure",\r
133         "xml": "<outcome value='failure'>\n",\r
134         "comments": "",\r
135         "outputs": 1,\r
136         "x": 1749.000244140625,\r
137         "y": 154,\r
138         "z": "1b18cff5.bba51",\r
139         "wires": [\r
140             [\r
141                 "95fadd6c.fb4588"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "9ee82b4c.027258",\r
147         "type": "set",\r
148         "name": "set token-id",\r
149         "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
150         "comments": "",\r
151         "x": 1903.500244140625,\r
152         "y": 114,\r
153         "z": "1b18cff5.bba51",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "d863483.fe451b8",\r
158         "type": "execute",\r
159         "name": "execute RestApiCallNode Get Topology",\r
160         "xml": "<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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
161         "comments": "",\r
162         "outputs": 1,\r
163         "x": 1970.500244140625,\r
164         "y": 234,\r
165         "z": "1b18cff5.bba51",\r
166         "wires": [\r
167             [\r
168                 "27150b59.a15c7c",\r
169                 "10804f14.8fac71"\r
170             ]\r
171         ]\r
172     },\r
173     {\r
174         "id": "27150b59.a15c7c",\r
175         "type": "success",\r
176         "name": "success",\r
177         "xml": "<outcome value='success'>\n",\r
178         "comments": "",\r
179         "outputs": 1,\r
180         "x": 2213.000244140625,\r
181         "y": 254,\r
182         "z": "1b18cff5.bba51",\r
183         "wires": [\r
184             [\r
185                 "45766a62.487964"\r
186             ]\r
187         ]\r
188     },\r
189     {\r
190         "id": "45766a62.487964",\r
191         "type": "block",\r
192         "name": "block : atomic",\r
193         "xml": "<block atomic=\"true\">",\r
194         "atomic": "true",\r
195         "comments": "",\r
196         "outputs": 1,\r
197         "x": 2370.500244140625,\r
198         "y": 254,\r
199         "z": "1b18cff5.bba51",\r
200         "wires": [\r
201             [\r
202                 "ed8abc6a.23da9",\r
203                 "3075f0c3.b7397",\r
204                 "5530fe3e.d46a6"\r
205             ]\r
206         ]\r
207     },\r
208     {\r
209         "id": "679734df.7d768c",\r
210         "type": "returnFailure",\r
211         "name": "return failure",\r
212         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
213         "comments": "",\r
214         "x": 2347.000244140625,\r
215         "y": 154,\r
216         "z": "1b18cff5.bba51",\r
217         "wires": []\r
218     },\r
219     {\r
220         "id": "10804f14.8fac71",\r
221         "type": "failure",\r
222         "name": "failure",\r
223         "xml": "<outcome value='failure'>\n",\r
224         "comments": "",\r
225         "outputs": 1,\r
226         "x": 2209.000244140625,\r
227         "y": 154,\r
228         "z": "1b18cff5.bba51",\r
229         "wires": [\r
230             [\r
231                 "679734df.7d768c"\r
232             ]\r
233         ]\r
234     },\r
235     {\r
236         "id": "fb65e652.c18e18",\r
237         "type": "dgstart",\r
238         "name": "DGSTART",\r
239         "outputs": 1,\r
240         "x": 116,\r
241         "y": 65,\r
242         "z": "1b18cff5.bba51",\r
243         "wires": [\r
244             [\r
245                 "5fd8c6ae.cf15e8"\r
246             ]\r
247         ]\r
248     },\r
249     {\r
250         "id": "5fd8c6ae.cf15e8",\r
251         "type": "service-logic",\r
252         "name": "DataChange ${project.version}",\r
253         "module": "DataChange",\r
254         "version": "${project.version}",\r
255         "comments": "",\r
256         "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='DataChange' version='${project.version}'>",\r
257         "outputs": 1,\r
258         "x": 129,\r
259         "y": 125,\r
260         "z": "1b18cff5.bba51",\r
261         "wires": [\r
262             [\r
263                 "7c6d0d29.a4e9cc"\r
264             ]\r
265         ]\r
266     },\r
267     {\r
268         "id": "7c6d0d29.a4e9cc",\r
269         "type": "method",\r
270         "name": "method esr-thirdparty-sdnc-discovery",\r
271         "xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",\r
272         "comments": "",\r
273         "outputs": 1,\r
274         "x": 149,\r
275         "y": 205,\r
276         "z": "1b18cff5.bba51",\r
277         "wires": [\r
278             [\r
279                 "d5da3f05.d59de8"\r
280             ]\r
281         ]\r
282     },\r
283     {\r
284         "id": "d5da3f05.d59de8",\r
285         "type": "block",\r
286         "name": "block : atomic",\r
287         "xml": "<block atomic=\"true\">\n",\r
288         "atomic": "false",\r
289         "comments": "",\r
290         "outputs": 1,\r
291         "x": 396.5,\r
292         "y": 205,\r
293         "z": "1b18cff5.bba51",\r
294         "wires": [\r
295             [\r
296                 "94fe0252.df11a8"\r
297             ]\r
298         ]\r
299     },\r
300     {\r
301         "id": "ed8abc6a.23da9",\r
302         "type": "for",\r
303         "name": "for each Network",\r
304         "xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",\r
305         "comments": "",\r
306         "outputs": 1,\r
307         "x": 2609.500244140625,\r
308         "y": 214,\r
309         "z": "1b18cff5.bba51",\r
310         "wires": [\r
311             [\r
312                 "9a721924.2f2028"\r
313             ]\r
314         ]\r
315     },\r
316     {\r
317         "id": "9a721924.2f2028",\r
318         "type": "block",\r
319         "name": "block",\r
320         "xml": "<block>\n",\r
321         "atomic": "false",\r
322         "comments": "",\r
323         "outputs": 1,\r
324         "x": 2786.000244140625,\r
325         "y": 209,\r
326         "z": "1b18cff5.bba51",\r
327         "wires": [\r
328             [\r
329                 "6726d129.2959a",\r
330                 "896230f8.99ca6"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "6726d129.2959a",\r
336         "type": "call",\r
337         "name": "call update-network-to-aai",\r
338         "xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",\r
339         "comments": "",\r
340         "outputs": 1,\r
341         "x": 2965.000244140625,\r
342         "y": 229,\r
343         "z": "1b18cff5.bba51",\r
344         "wires": [\r
345             []\r
346         ]\r
347     },\r
348     {\r
349         "id": "896230f8.99ca6",\r
350         "type": "set",\r
351         "name": "set network",\r
352         "xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",\r
353         "comments": "",\r
354         "x": 2920.000244140625,\r
355         "y": 189,\r
356         "z": "1b18cff5.bba51",\r
357         "wires": []\r
358     },\r
359     {\r
360         "id": "95fadd6c.fb4588",\r
361         "type": "block",\r
362         "name": "block",\r
363         "xml": "<block>\n",\r
364         "atomic": "false",\r
365         "comments": "",\r
366         "outputs": 1,\r
367         "x": 1869.000244140625,\r
368         "y": 154,\r
369         "z": "1b18cff5.bba51",\r
370         "wires": [\r
371             []\r
372         ]\r
373     },\r
374     {\r
375         "id": "8fa7ac01.7e9068",\r
376         "type": "comment",\r
377         "name": "Do Nothing",\r
378         "info": "",\r
379         "comments": "",\r
380         "x": 2039.000244140625,\r
381         "y": 194,\r
382         "z": "1b18cff5.bba51",\r
383         "wires": []\r
384     },\r
385     {\r
386         "id": "4076575b.04c63",\r
387         "type": "switchNode",\r
388         "name": "switch type",\r
389         "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
390         "comments": "",\r
391         "outputs": 1,\r
392         "x": 916,\r
393         "y": 290,\r
394         "z": "1b18cff5.bba51",\r
395         "wires": [\r
396             [\r
397                 "e5bd5122.002238",\r
398                 "6d8d65c8.0b06bc",\r
399                 "b3287819.8ca7c",\r
400                 "4433c168.8e0cb"\r
401             ]\r
402         ]\r
403     },\r
404     {\r
405         "id": "afc79595.03a058",\r
406         "type": "block",\r
407         "name": "block",\r
408         "xml": "<block>\n",\r
409         "atomic": "false",\r
410         "comments": "",\r
411         "outputs": 1,\r
412         "x": 783,\r
413         "y": 290,\r
414         "z": "1b18cff5.bba51",\r
415         "wires": [\r
416             [\r
417                 "4076575b.04c63"\r
418             ]\r
419         ]\r
420     },\r
421     {\r
422         "id": "e5bd5122.002238",\r
423         "type": "other",\r
424         "name": "SOTN",\r
425         "xml": "<outcome value='SOTN'>\n",\r
426         "comments": "",\r
427         "outputs": 1,\r
428         "x": 1029,\r
429         "y": 201,\r
430         "z": "1b18cff5.bba51",\r
431         "wires": [\r
432             [\r
433                 "c970e0d9.988dc8"\r
434             ]\r
435         ]\r
436     },\r
437     {\r
438         "id": "6d8d65c8.0b06bc",\r
439         "type": "other",\r
440         "name": "other",\r
441         "xml": "<outcome value='Other'>\n",\r
442         "comments": "",\r
443         "outputs": 1,\r
444         "x": 1031.000087738037,\r
445         "y": 750.0001106262207,\r
446         "z": "1b18cff5.bba51",\r
447         "wires": [\r
448             [\r
449                 "f76541c6.503d4"\r
450             ]\r
451         ]\r
452     },\r
453     {\r
454         "id": "f76541c6.503d4",\r
455         "type": "returnFailure",\r
456         "name": "return failure",\r
457         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
458         "comments": "",\r
459         "x": 1181.0000610351562,\r
460         "y": 746.0000972747803,\r
461         "z": "1b18cff5.bba51",\r
462         "wires": []\r
463     },\r
464     {\r
465         "id": "b93333aa.1c0a7",\r
466         "type": "execute",\r
467         "name": "execute Properties",\r
468         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
469         "comments": "",\r
470         "outputs": 1,\r
471         "x": 1410.0001983642578,\r
472         "y": 82.00000953674316,\r
473         "z": "1b18cff5.bba51",\r
474         "wires": [\r
475             []\r
476         ]\r
477     },\r
478     {\r
479         "id": "6bfd56ef.86aba8",\r
480         "type": "switchNode",\r
481         "name": "switch prop.sdncRestApi.token_id",\r
482         "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",\r
483         "comments": "",\r
484         "outputs": 1,\r
485         "x": 1456.5001983642578,\r
486         "y": 202.00000953674316,\r
487         "z": "1b18cff5.bba51",\r
488         "wires": [\r
489             [\r
490                 "ec0b1f86.de86a8",\r
491                 "d869f67b.6cbd68"\r
492             ]\r
493         ]\r
494     },\r
495     {\r
496         "id": "ec0b1f86.de86a8",\r
497         "type": "other",\r
498         "name": "Null",\r
499         "xml": "<outcome value=''>\n",\r
500         "comments": "",\r
501         "outputs": 1,\r
502         "x": 1749.000244140625,\r
503         "y": 194,\r
504         "z": "1b18cff5.bba51",\r
505         "wires": [\r
506             [\r
507                 "36410877.b60b2"\r
508             ]\r
509         ]\r
510     },\r
511     {\r
512         "id": "d869f67b.6cbd68",\r
513         "type": "other",\r
514         "name": "other",\r
515         "xml": "<outcome value='Other'>\n",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 1749.000244140625,\r
519         "y": 234,\r
520         "z": "1b18cff5.bba51",\r
521         "wires": [\r
522             [\r
523                 "d863483.fe451b8"\r
524             ]\r
525         ]\r
526     },\r
527     {\r
528         "id": "36410877.b60b2",\r
529         "type": "execute",\r
530         "name": "execute RestApiCallNode Get Topology",\r
531         "xml": "<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
532         "comments": "",\r
533         "outputs": 1,\r
534         "x": 1970.500244140625,\r
535         "y": 194,\r
536         "z": "1b18cff5.bba51",\r
537         "wires": [\r
538             [\r
539                 "10804f14.8fac71",\r
540                 "27150b59.a15c7c"\r
541             ]\r
542         ]\r
543     },\r
544     {\r
545         "id": "9dd42ebd.c3ec58",\r
546         "type": "execute",\r
547         "name": "execute RestconfDiscoveryNode",\r
548         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",\r
549         "comments": "",\r
550         "outputs": 1,\r
551         "x": 1453.0001983642578,\r
552         "y": 342.00000953674316,\r
553         "z": "1b18cff5.bba51",\r
554         "wires": [\r
555             []\r
556         ]\r
557     },\r
558     {\r
559         "id": "29c878c8.6e2e3",\r
560         "type": "set",\r
561         "name": "set encoding-format",\r
562         "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",\r
563         "comments": "",\r
564         "x": 1413.0001983642578,\r
565         "y": 302.00000953674316,\r
566         "z": "1b18cff5.bba51",\r
567         "wires": []\r
568     },\r
569     {\r
570         "id": "6c35f59f.31aaf4",\r
571         "type": "comment",\r
572         "name": "Notification subscription",\r
573         "info": "",\r
574         "comments": "",\r
575         "x": 1418.000343322754,\r
576         "y": 259.00000858306885,\r
577         "z": "1b18cff5.bba51",\r
578         "wires": []\r
579     },\r
580     {\r
581         "id": "94fe0252.df11a8",\r
582         "type": "switchNode",\r
583         "name": "switch",\r
584         "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",\r
585         "comments": "",\r
586         "outputs": 1,\r
587         "x": 103,\r
588         "y": 330,\r
589         "z": "1b18cff5.bba51",\r
590         "wires": [\r
591             [\r
592                 "97112dfb.d25148",\r
593                 "c86f88a8.e3654"\r
594             ]\r
595         ]\r
596     },\r
597     {\r
598         "id": "97112dfb.d25148",\r
599         "type": "outcomeFalse",\r
600         "name": "false",\r
601         "xml": "<outcome value='false'>\n",\r
602         "comments": "",\r
603         "outputs": 1,\r
604         "x": 290,\r
605         "y": 330,\r
606         "z": "1b18cff5.bba51",\r
607         "wires": [\r
608             [\r
609                 "493ee223.06b5cc"\r
610             ]\r
611         ]\r
612     },\r
613     {\r
614         "id": "c86f88a8.e3654",\r
615         "type": "outcomeTrue",\r
616         "name": "true",\r
617         "xml": "<outcome value='true'>\n",\r
618         "comments": "",\r
619         "outputs": 1,\r
620         "x": 291,\r
621         "y": 455,\r
622         "z": "1b18cff5.bba51",\r
623         "wires": [\r
624             [\r
625                 "31c62e46.1b6bfa"\r
626             ]\r
627         ]\r
628     },\r
629     {\r
630         "id": "31c62e46.1b6bfa",\r
631         "type": "call",\r
632         "name": "call esr-thirdparty-sdnc-of-zte",\r
633         "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",\r
634         "comments": "",\r
635         "outputs": 1,\r
636         "x": 514,\r
637         "y": 455,\r
638         "z": "1b18cff5.bba51",\r
639         "wires": [\r
640             []\r
641         ]\r
642     },\r
643     {\r
644         "id": "b3287819.8ca7c",\r
645         "type": "other",\r
646         "name": "TAPI",\r
647         "xml": "<outcome value='TAPI'>\n",\r
648         "comments": "",\r
649         "outputs": 1,\r
650         "x": 1107,\r
651         "y": 435,\r
652         "z": "1b18cff5.bba51",\r
653         "wires": [\r
654             [\r
655                 "a1b223fc.4bfc8"\r
656             ]\r
657         ]\r
658     },\r
659     {\r
660         "id": "a1b223fc.4bfc8",\r
661         "type": "block",\r
662         "name": "block : atomic",\r
663         "xml": "<block atomic=\"true\">",\r
664         "atomic": "true",\r
665         "outputs": 1,\r
666         "x": 1270,\r
667         "y": 434,\r
668         "z": "1b18cff5.bba51",\r
669         "wires": [\r
670             [\r
671                 "2ba90d0d.a5469a"\r
672             ]\r
673         ]\r
674     },\r
675     {\r
676         "id": "2ba90d0d.a5469a",\r
677         "type": "execute",\r
678         "name": "execute",\r
679         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/>  \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=\"topologies\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.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\"/>",\r
680         "comments": "",\r
681         "outputs": 1,\r
682         "x": 1431,\r
683         "y": 433,\r
684         "z": "1b18cff5.bba51",\r
685         "wires": [\r
686             [\r
687                 "e4e0c00a.96655",\r
688                 "8857c3bd.cbf58"\r
689             ]\r
690         ]\r
691     },\r
692     {\r
693         "id": "8857c3bd.cbf58",\r
694         "type": "success",\r
695         "name": "success",\r
696         "xml": "<outcome value='success'>\n",\r
697         "comments": "",\r
698         "outputs": 1,\r
699         "x": 1573,\r
700         "y": 509,\r
701         "z": "1b18cff5.bba51",\r
702         "wires": [\r
703             [\r
704                 "5009a48f.6c9144"\r
705             ]\r
706         ]\r
707     },\r
708     {\r
709         "id": "e4e0c00a.96655",\r
710         "type": "failure",\r
711         "name": "failure",\r
712         "xml": "<outcome value='failure'>\n",\r
713         "comments": "",\r
714         "outputs": 1,\r
715         "x": 1607,\r
716         "y": 430,\r
717         "z": "1b18cff5.bba51",\r
718         "wires": [\r
719             [\r
720                 "3d3fabb0.3b7c64"\r
721             ]\r
722         ]\r
723     },\r
724     {\r
725         "id": "3d3fabb0.3b7c64",\r
726         "type": "returnFailure",\r
727         "name": "return failure",\r
728         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",\r
729         "comments": "",\r
730         "x": 1777,\r
731         "y": 429,\r
732         "z": "1b18cff5.bba51",\r
733         "wires": []\r
734     },\r
735     {\r
736         "id": "5009a48f.6c9144",\r
737         "type": "block",\r
738         "name": "block : atomic",\r
739         "xml": "<block atomic=\"true\">",\r
740         "atomic": "true",\r
741         "outputs": 1,\r
742         "x": 1734,\r
743         "y": 508,\r
744         "z": "1b18cff5.bba51",\r
745         "wires": [\r
746             [\r
747                 "7bccde97.6587f8"\r
748             ]\r
749         ]\r
750     },\r
751     {\r
752         "id": "7bccde97.6587f8",\r
753         "type": "for",\r
754         "name": "for each topology",\r
755         "xml": "<for index='tidx' start='0' end=\"`$topologies.topology_length`\" >\n",\r
756         "comments": "",\r
757         "outputs": 1,\r
758         "x": 1913,\r
759         "y": 508,\r
760         "z": "1b18cff5.bba51",\r
761         "wires": [\r
762             [\r
763                 "b488f25e.063e58"\r
764             ]\r
765         ]\r
766     },\r
767     {\r
768         "id": "b488f25e.063e58",\r
769         "type": "block",\r
770         "name": "block",\r
771         "xml": "<block>\n",\r
772         "atomic": "false",\r
773         "comments": "",\r
774         "outputs": 1,\r
775         "x": 2080,\r
776         "y": 509,\r
777         "z": "1b18cff5.bba51",\r
778         "wires": [\r
779             [\r
780                 "5387bb7e.ccfa04",\r
781                 "58ce3e1c.538878"\r
782             ]\r
783         ]\r
784     },\r
785     {\r
786         "id": "5387bb7e.ccfa04",\r
787         "type": "set",\r
788         "name": "set topology",\r
789         "xml": "<set>\n<parameter name='topology.' value='`$topologies.topology[$tidx].`' />\n",\r
790         "comments": "",\r
791         "x": 2239,\r
792         "y": 510,\r
793         "z": "1b18cff5.bba51",\r
794         "wires": []\r
795     },\r
796     {\r
797         "id": "58ce3e1c.538878",\r
798         "type": "call",\r
799         "name": "call tapi-update-network-to-aai",\r
800         "xml": "<call module='DataChange' rpc='tapi-update-network-to-aai' mode='sync' >\n\n",\r
801         "comments": "",\r
802         "outputs": 1,\r
803         "x": 2230,\r
804         "y": 576,\r
805         "z": "1b18cff5.bba51",\r
806         "wires": [\r
807             []\r
808         ]\r
809     },\r
810     {\r
811         "id": "4433c168.8e0cb",\r
812         "type": "outcome",\r
813         "name": "MSA",\r
814         "xml": "<outcome value='MSA'>\n",\r
815         "comments": "",\r
816         "outputs": 1,\r
817         "x": 1077.677324295044,\r
818         "y": 591.8993349075317,\r
819         "z": "1b18cff5.bba51",\r
820         "wires": [\r
821             [\r
822                 "e65be9ee.c7b3b"\r
823             ]\r
824         ]\r
825     },\r
826     {\r
827         "id": "e65be9ee.c7b3b",\r
828         "type": "block",\r
829         "name": "block : atomic",\r
830         "xml": "<block atomic=\"true\">",\r
831         "atomic": "true",\r
832         "outputs": 1,\r
833         "x": 1239.6773872375488,\r
834         "y": 589.899335861206,\r
835         "z": "1b18cff5.bba51",\r
836         "wires": [\r
837             [\r
838                 "35fd633c.bf4964"\r
839             ]\r
840         ]\r
841     },\r
842     {\r
843         "id": "35fd633c.bf4964",\r
844         "type": "execute",\r
845         "name": "execute",\r
846         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/openroadm/v2/networks/otn-topology'`\"/>  \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=\"networks\"/>\n    <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.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
847         "comments": "",\r
848         "outputs": 1,\r
849         "x": 1416.6771354675293,\r
850         "y": 581.8992919921875,\r
851         "z": "1b18cff5.bba51",\r
852         "wires": [\r
853             [\r
854                 "7a243e03.e07788",\r
855                 "31b0685e.813ca8"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "7a243e03.e07788",\r
861         "type": "failure",\r
862         "name": "failure",\r
863         "xml": "<outcome value='failure'>\n",\r
864         "comments": "",\r
865         "outputs": 1,\r
866         "x": 1569.6771354675293,\r
867         "y": 578.8992919921875,\r
868         "z": "1b18cff5.bba51",\r
869         "wires": [\r
870             [\r
871                 "a65ca6e4.09ef28"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "a65ca6e4.09ef28",\r
877         "type": "returnFailure",\r
878         "name": "return failure",\r
879         "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology MSA rest api\" />\n\n",\r
880         "comments": "",\r
881         "x": 1744.6771354675293,\r
882         "y": 577.8992919921875,\r
883         "z": "1b18cff5.bba51",\r
884         "wires": []\r
885     },\r
886     {\r
887         "id": "31b0685e.813ca8",\r
888         "type": "success",\r
889         "name": "success",\r
890         "xml": "<outcome value='success'>\n",\r
891         "comments": "",\r
892         "outputs": 1,\r
893         "x": 1575.6771354675293,\r
894         "y": 651.8992919921875,\r
895         "z": "1b18cff5.bba51",\r
896         "wires": [\r
897             [\r
898                 "777a7a58.789fc4"\r
899             ]\r
900         ]\r
901     },\r
902     {\r
903         "id": "777a7a58.789fc4",\r
904         "type": "block",\r
905         "name": "block : atomic",\r
906         "xml": "<block atomic=\"true\">",\r
907         "atomic": "true",\r
908         "outputs": 1,\r
909         "x": 1759.6771354675293,\r
910         "y": 653.8992919921875,\r
911         "z": "1b18cff5.bba51",\r
912         "wires": [\r
913             [\r
914                 "7575649a.153f4c"\r
915             ]\r
916         ]\r
917     },\r
918     {\r
919         "id": "7575649a.153f4c",\r
920         "type": "call",\r
921         "name": "call msa-update-network-to-aai",\r
922         "xml": "<call module='DataChange' rpc='msa-update-network-to-aai' mode='sync' >\n\n",\r
923         "comments": "",\r
924         "outputs": 1,\r
925         "x": 2038.677001953125,\r
926         "y": 651.8992919921875,\r
927         "z": "1b18cff5.bba51",\r
928         "wires": [\r
929             []\r
930         ]\r
931     },\r
932     {\r
933         "id": "3075f0c3.b7397",\r
934         "type": "switchNode",\r
935         "name": "switch network_length",\r
936         "xml": "<switch test='`$topology.networks.network_length`'>\n",\r
937         "comments": "",\r
938         "outputs": 1,\r
939         "x": 2630,\r
940         "y": 320,\r
941         "z": "1b18cff5.bba51",\r
942         "wires": [\r
943             [\r
944                 "8524dca2.aeded8"\r
945             ]\r
946         ]\r
947     },\r
948     {\r
949         "id": "8524dca2.aeded8",\r
950         "type": "outcome",\r
951         "name": "2 Topologies (1 Domain)",\r
952         "xml": "<outcome value='2'>\n",\r
953         "comments": "",\r
954         "outputs": 1,\r
955         "x": 2904,\r
956         "y": 320,\r
957         "z": "1b18cff5.bba51",\r
958         "wires": [\r
959             [\r
960                 "b33095ec.9e9e"\r
961             ]\r
962         ]\r
963     },\r
964     {\r
965         "id": "b33095ec.9e9e",\r
966         "type": "switchNode",\r
967         "name": "switch network-types[0]",\r
968         "xml": "<switch test='`$topology.networks.network[0].network-types`'>\n",\r
969         "comments": "",\r
970         "outputs": 1,\r
971         "x": 3272,\r
972         "y": 305,\r
973         "z": "1b18cff5.bba51",\r
974         "wires": [\r
975             [\r
976                 "d9671ae7.1f2ac",\r
977                 "8d2f7cad.ac7078"\r
978             ]\r
979         ]\r
980     },\r
981     {\r
982         "id": "d9671ae7.1f2ac",\r
983         "type": "outcome",\r
984         "name": "ethernet-topology",\r
985         "xml": "<outcome value='ethernet-topology'>\n",\r
986         "comments": "",\r
987         "outputs": 1,\r
988         "x": 3488,\r
989         "y": 305,\r
990         "z": "1b18cff5.bba51",\r
991         "wires": [\r
992             [\r
993                 "9105249.2609cd8"\r
994             ]\r
995         ]\r
996     },\r
997     {\r
998         "id": "9105249.2609cd8",\r
999         "type": "switchNode",\r
1000         "name": "switch network-types[1]",\r
1001         "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
1002         "comments": "",\r
1003         "outputs": 1,\r
1004         "x": 3713,\r
1005         "y": 305,\r
1006         "z": "1b18cff5.bba51",\r
1007         "wires": [\r
1008             [\r
1009                 "9ce7c86d.2eb2d8",\r
1010                 "36497843.e3494"\r
1011             ]\r
1012         ]\r
1013     },\r
1014     {\r
1015         "id": "9ce7c86d.2eb2d8",\r
1016         "type": "outcome",\r
1017         "name": "otn-topology",\r
1018         "xml": "<outcome value='otn-topology'>\n",\r
1019         "comments": "",\r
1020         "outputs": 1,\r
1021         "x": 3949,\r
1022         "y": 258,\r
1023         "z": "1b18cff5.bba51",\r
1024         "wires": [\r
1025             [\r
1026                 "637acfae.0f124"\r
1027             ]\r
1028         ]\r
1029     },\r
1030     {\r
1031         "id": "f3d25251.c6e91",\r
1032         "type": "call",\r
1033         "name": "call update-tp-ttp-relationship",\r
1034         "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
1035         "comments": "",\r
1036         "outputs": 1,\r
1037         "x": 4365,\r
1038         "y": 246,\r
1039         "z": "1b18cff5.bba51",\r
1040         "wires": [\r
1041             []\r
1042         ]\r
1043     },\r
1044     {\r
1045         "id": "741e41f5.1da6",\r
1046         "type": "set",\r
1047         "name": "set networks",\r
1048         "xml": "<set>\n<parameter name='network-eth.' value='`$topology.networks.network[0].`' />\n<parameter name='network-otn.' value='`$topology.networks.network[1].`' />\n",\r
1049         "comments": "",\r
1050         "x": 4321,\r
1051         "y": 155,\r
1052         "z": "1b18cff5.bba51",\r
1053         "wires": []\r
1054     },\r
1055     {\r
1056         "id": "8d2f7cad.ac7078",\r
1057         "type": "outcome",\r
1058         "name": "otn-topology",\r
1059         "xml": "<outcome value='otn-topology'>\n",\r
1060         "comments": "",\r
1061         "outputs": 1,\r
1062         "x": 3493,\r
1063         "y": 362,\r
1064         "z": "1b18cff5.bba51",\r
1065         "wires": [\r
1066             [\r
1067                 "a8d319cf.4bc79"\r
1068             ]\r
1069         ]\r
1070     },\r
1071     {\r
1072         "id": "637acfae.0f124",\r
1073         "type": "block",\r
1074         "name": "block",\r
1075         "xml": "<block>\n",\r
1076         "atomic": "false",\r
1077         "comments": "",\r
1078         "outputs": 1,\r
1079         "x": 4131,\r
1080         "y": 232,\r
1081         "z": "1b18cff5.bba51",\r
1082         "wires": [\r
1083             [\r
1084                 "741e41f5.1da6",\r
1085                 "f3d25251.c6e91"\r
1086             ]\r
1087         ]\r
1088     },\r
1089     {\r
1090         "id": "a8d319cf.4bc79",\r
1091         "type": "switchNode",\r
1092         "name": "switch network-types[1]",\r
1093         "xml": "<switch test='`$topology.networks.network[1].network-types`'>\n",\r
1094         "comments": "",\r
1095         "outputs": 1,\r
1096         "x": 3712,\r
1097         "y": 364,\r
1098         "z": "1b18cff5.bba51",\r
1099         "wires": [\r
1100             [\r
1101                 "5531c9a0.612ad8",\r
1102                 "182315db.ba9502"\r
1103             ]\r
1104         ]\r
1105     },\r
1106     {\r
1107         "id": "36497843.e3494",\r
1108         "type": "other",\r
1109         "name": "other",\r
1110         "xml": "<outcome value='Other'>\n",\r
1111         "comments": "",\r
1112         "outputs": 1,\r
1113         "x": 3943,\r
1114         "y": 317,\r
1115         "z": "1b18cff5.bba51",\r
1116         "wires": [\r
1117             [\r
1118                 "695f6a27.1421dc"\r
1119             ]\r
1120         ]\r
1121     },\r
1122     {\r
1123         "id": "695f6a27.1421dc",\r
1124         "type": "returnFailure",\r
1125         "name": "return failure",\r
1126         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1127         "comments": "",\r
1128         "x": 4145,\r
1129         "y": 315,\r
1130         "z": "1b18cff5.bba51",\r
1131         "wires": []\r
1132     },\r
1133     {\r
1134         "id": "5531c9a0.612ad8",\r
1135         "type": "outcome",\r
1136         "name": "ethernet-topology",\r
1137         "xml": "<outcome value='ethernet-topology'>\n",\r
1138         "comments": "",\r
1139         "outputs": 1,\r
1140         "x": 3935,\r
1141         "y": 378,\r
1142         "z": "1b18cff5.bba51",\r
1143         "wires": [\r
1144             [\r
1145                 "842f72e1.b17048"\r
1146             ]\r
1147         ]\r
1148     },\r
1149     {\r
1150         "id": "3a98f05a.e5da8",\r
1151         "type": "set",\r
1152         "name": "set networks",\r
1153         "xml": "<set>\n<parameter name='network.eth' value='`$topology.networks.network[1].`' />\n<parameter name='network.otn' value='`$topology.networks.network[0].`' />\n",\r
1154         "comments": "",\r
1155         "x": 4351,\r
1156         "y": 359,\r
1157         "z": "1b18cff5.bba51",\r
1158         "wires": []\r
1159     },\r
1160     {\r
1161         "id": "182315db.ba9502",\r
1162         "type": "other",\r
1163         "name": "other",\r
1164         "xml": "<outcome value='Other'>\n",\r
1165         "comments": "",\r
1166         "outputs": 1,\r
1167         "x": 3894,\r
1168         "y": 439,\r
1169         "z": "1b18cff5.bba51",\r
1170         "wires": [\r
1171             [\r
1172                 "ac618cc1.491d7"\r
1173             ]\r
1174         ]\r
1175     },\r
1176     {\r
1177         "id": "ac618cc1.491d7",\r
1178         "type": "returnFailure",\r
1179         "name": "return failure",\r
1180         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1181         "comments": "",\r
1182         "x": 4063,\r
1183         "y": 446,\r
1184         "z": "1b18cff5.bba51",\r
1185         "wires": []\r
1186     },\r
1187     {\r
1188         "id": "842f72e1.b17048",\r
1189         "type": "block",\r
1190         "name": "block",\r
1191         "xml": "<block>\n",\r
1192         "atomic": "false",\r
1193         "comments": "",\r
1194         "outputs": 1,\r
1195         "x": 4113,\r
1196         "y": 374,\r
1197         "z": "1b18cff5.bba51",\r
1198         "wires": [\r
1199             [\r
1200                 "3a98f05a.e5da8",\r
1201                 "225dfddc.2a0cba"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "5530fe3e.d46a6",\r
1207         "type": "get-resource",\r
1208         "name": "get-resource network-resources",\r
1209         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resources\" \n        pfx='tmp.aai.network-resources' local-only='false' >\n\n",\r
1210         "comments": "",\r
1211         "outputs": 1,\r
1212         "x": 2617,\r
1213         "y": 510,\r
1214         "z": "1b18cff5.bba51",\r
1215         "wires": [\r
1216             [\r
1217                 "d9e48832.552bd8",\r
1218                 "59795789.351ce",\r
1219                 "61ad07cf.dca3e8"\r
1220             ]\r
1221         ]\r
1222     },\r
1223     {\r
1224         "id": "d9e48832.552bd8",\r
1225         "type": "success",\r
1226         "name": "success",\r
1227         "xml": "<outcome value='success'>\n",\r
1228         "comments": "",\r
1229         "outputs": 1,\r
1230         "x": 2870,\r
1231         "y": 428,\r
1232         "z": "1b18cff5.bba51",\r
1233         "wires": [\r
1234             [\r
1235                 "aa408c9d.56c38"\r
1236             ]\r
1237         ]\r
1238     },\r
1239     {\r
1240         "id": "59795789.351ce",\r
1241         "type": "not-found",\r
1242         "name": "not-found",\r
1243         "xml": "<outcome value='not-found'>\n",\r
1244         "comments": "",\r
1245         "outputs": 1,\r
1246         "x": 2873.490966796875,\r
1247         "y": 475.57403564453125,\r
1248         "z": "1b18cff5.bba51",\r
1249         "wires": [\r
1250             [\r
1251                 "c28a983a.0204"\r
1252             ]\r
1253         ]\r
1254     },\r
1255     {\r
1256         "id": "61ad07cf.dca3e8",\r
1257         "type": "other",\r
1258         "name": "other",\r
1259         "xml": "<outcome value='Other'>\n",\r
1260         "comments": "",\r
1261         "outputs": 1,\r
1262         "x": 2861.823974609375,\r
1263         "y": 519.9073486328125,\r
1264         "z": "1b18cff5.bba51",\r
1265         "wires": [\r
1266             [\r
1267                 "781b901c.45ff08"\r
1268             ]\r
1269         ]\r
1270     },\r
1271     {\r
1272         "id": "225dfddc.2a0cba",\r
1273         "type": "call",\r
1274         "name": "call update-tp-ttp-relationship",\r
1275         "xml": "<call module='DataChange' rpc='update-tp-ttp-relationship' mode='sync' >\n",\r
1276         "comments": "",\r
1277         "outputs": 1,\r
1278         "x": 4386,\r
1279         "y": 425,\r
1280         "z": "1b18cff5.bba51",\r
1281         "wires": [\r
1282             []\r
1283         ]\r
1284     },\r
1285     {\r
1286         "id": "11abef7e.ad2629",\r
1287         "type": "call",\r
1288         "name": "call update-open-ended-links",\r
1289         "xml": "<call module='DataChange' rpc='update-open-ended-links' mode='sync' >\n",\r
1290         "comments": "",\r
1291         "outputs": 1,\r
1292         "x": 3658,\r
1293         "y": 683,\r
1294         "z": "1b18cff5.bba51",\r
1295         "wires": [\r
1296             []\r
1297         ]\r
1298     },\r
1299     {\r
1300         "id": "aa408c9d.56c38",\r
1301         "type": "switchNode",\r
1302         "name": "switch network-resources_length",\r
1303         "xml": "<switch test='tmp.aai.network-resources_length'>\n",\r
1304         "comments": "",\r
1305         "outputs": 1,\r
1306         "x": 3085,\r
1307         "y": 426,\r
1308         "z": "1b18cff5.bba51",\r
1309         "wires": [\r
1310             [\r
1311                 "13de82c2.31f6ad"\r
1312             ]\r
1313         ]\r
1314     },\r
1315     {\r
1316         "id": "13de82c2.31f6ad",\r
1317         "type": "outcome",\r
1318         "name": "4 Topologies (2 Domains)",\r
1319         "xml": "<outcome value='4'>\n",\r
1320         "comments": "",\r
1321         "outputs": 1,\r
1322         "x": 3362,\r
1323         "y": 425,\r
1324         "z": "1b18cff5.bba51",\r
1325         "wires": [\r
1326             [\r
1327                 "e4acb7eb.00534"\r
1328             ]\r
1329         ]\r
1330     },\r
1331     {\r
1332         "id": "c28a983a.0204",\r
1333         "type": "returnFailure",\r
1334         "name": "return failure",\r
1335         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1336         "comments": "",\r
1337         "x": 3046,\r
1338         "y": 476,\r
1339         "z": "1b18cff5.bba51",\r
1340         "wires": []\r
1341     },\r
1342     {\r
1343         "id": "781b901c.45ff08",\r
1344         "type": "returnFailure",\r
1345         "name": "return failure",\r
1346         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1347         "comments": "",\r
1348         "x": 3035,\r
1349         "y": 522,\r
1350         "z": "1b18cff5.bba51",\r
1351         "wires": []\r
1352     },\r
1353     {\r
1354         "id": "3daf0b35.8056dc",\r
1355         "type": "for",\r
1356         "name": "for each network-resource",\r
1357         "xml": "<for index='nridx' start='0' end='`$tmp.aai.network-resources.network-resource_length`' >\n",\r
1358         "comments": "",\r
1359         "outputs": 1,\r
1360         "x": 3677,\r
1361         "y": 476,\r
1362         "z": "1b18cff5.bba51",\r
1363         "wires": [\r
1364             [\r
1365                 "a478abea.aef858"\r
1366             ]\r
1367         ]\r
1368     },\r
1369     {\r
1370         "id": "a478abea.aef858",\r
1371         "type": "block",\r
1372         "name": "block",\r
1373         "xml": "<block>\n",\r
1374         "atomic": "false",\r
1375         "comments": "",\r
1376         "outputs": 1,\r
1377         "x": 3836,\r
1378         "y": 575,\r
1379         "z": "1b18cff5.bba51",\r
1380         "wires": [\r
1381             [\r
1382                 "672de2b7.6fadec",\r
1383                 "b7971e38.4fdc88"\r
1384             ]\r
1385         ]\r
1386     },\r
1387     {\r
1388         "id": "672de2b7.6fadec",\r
1389         "type": "switchNode",\r
1390         "name": "switch network-types[nridx]",\r
1391         "xml": "<switch test='`$tmp.aai.network-resources.network-resource[$nridx].network-type`'>\n",\r
1392         "comments": "",\r
1393         "outputs": 1,\r
1394         "x": 4043,\r
1395         "y": 568,\r
1396         "z": "1b18cff5.bba51",\r
1397         "wires": [\r
1398             [\r
1399                 "8b03cc56.be0278"\r
1400             ]\r
1401         ]\r
1402     },\r
1403     {\r
1404         "id": "8b03cc56.be0278",\r
1405         "type": "outcome",\r
1406         "name": "otn-topology",\r
1407         "xml": "<outcome value='otn-topology'>\n",\r
1408         "comments": "",\r
1409         "outputs": 1,\r
1410         "x": 4256,\r
1411         "y": 562,\r
1412         "z": "1b18cff5.bba51",\r
1413         "wires": [\r
1414             [\r
1415                 "5b2aaa85.617b44"\r
1416             ]\r
1417         ]\r
1418     },\r
1419     {\r
1420         "id": "7c2a6199.8c29b",\r
1421         "type": "set",\r
1422         "name": "set network-resource-otn[$otnidx]",\r
1423         "xml": "<set>\n<parameter name='network-resource-otn[$otnidx].' value='`$tmp.aai.network-resources.network-resource[$nridx].`' />\n",\r
1424         "comments": "",\r
1425         "x": 4622,\r
1426         "y": 555,\r
1427         "z": "1b18cff5.bba51",\r
1428         "wires": []\r
1429     },\r
1430     {\r
1431         "id": "b7971e38.4fdc88",\r
1432         "type": "set",\r
1433         "name": "set otnidx",\r
1434         "xml": "<set>\n<parameter name='otnidx' value='0' />\n",\r
1435         "comments": "",\r
1436         "x": 3988,\r
1437         "y": 526,\r
1438         "z": "1b18cff5.bba51",\r
1439         "wires": []\r
1440     },\r
1441     {\r
1442         "id": "ee5c6cf6.44a0c",\r
1443         "type": "set",\r
1444         "name": "set otnidx",\r
1445         "xml": "<set>\n<parameter name='otnidx' value='`$otnidx + 1`' />\n",\r
1446         "comments": "",\r
1447         "x": 4539,\r
1448         "y": 607,\r
1449         "z": "1b18cff5.bba51",\r
1450         "wires": []\r
1451     },\r
1452     {\r
1453         "id": "5b2aaa85.617b44",\r
1454         "type": "block",\r
1455         "name": "block",\r
1456         "xml": "<block>\n",\r
1457         "atomic": "false",\r
1458         "comments": "",\r
1459         "outputs": 1,\r
1460         "x": 4402,\r
1461         "y": 575,\r
1462         "z": "1b18cff5.bba51",\r
1463         "wires": [\r
1464             [\r
1465                 "7c2a6199.8c29b",\r
1466                 "ee5c6cf6.44a0c"\r
1467             ]\r
1468         ]\r
1469     },\r
1470     {\r
1471         "id": "e4acb7eb.00534",\r
1472         "type": "block",\r
1473         "name": "block : atomic",\r
1474         "xml": "<block atomic='true'>",\r
1475         "atomic": "true",\r
1476         "comments": "",\r
1477         "outputs": 1,\r
1478         "x": 3456,\r
1479         "y": 499,\r
1480         "z": "1b18cff5.bba51",\r
1481         "wires": [\r
1482             [\r
1483                 "3daf0b35.8056dc",\r
1484                 "11abef7e.ad2629"\r
1485             ]\r
1486         ]\r
1487     }\r
1488 ]