SDWAN flow based end-end test and issue fix
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-wanport-vnf-topology-operation-underlay.json
1 [
2   {
3     "id": "acaf9f12.dd321",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 119.00390625,
8     "y": 52.00390625,
9     "z": "816d5e60.eba45",
10     "wires": [
11       [
12         "9e7830e2.084e3"
13       ]
14     ]
15   },
16   {
17     "id": "9e7830e2.084e3",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 235.2895965576172,
26     "y": 103.24201393127441,
27     "z": "816d5e60.eba45",
28     "wires": [
29       [
30         "b00ec17b.44975"
31       ]
32     ]
33   },
34   {
35     "id": "b00ec17b.44975",
36     "type": "method",
37     "name": "method sdwan-wanport-vnf-topology-operation-underlay",
38     "xml": "<method rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 238.43252563476562,
42     "y": 188.00393772125244,
43     "z": "816d5e60.eba45",
44     "wires": [
45       [
46         "2452d404.5dd7bc"
47       ]
48     ]
49   },
50   {
51     "id": "2452d404.5dd7bc",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 170.67059326171875,
58     "y": 296.67063903808594,
59     "z": "816d5e60.eba45",
60     "wires": [
61       [
62         "74620ff1.b94be",
63         "e68f1fae.052f",
64         "18ea4160.5b97af",
65         "84666856.592818",
66         "f80aa612.1d1cd8"
67       ]
68     ]
69   },
70   {
71     "id": "74620ff1.b94be",
72     "type": "for",
73     "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]",
74     "xml": "<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n",
75     "comments": "",
76     "outputs": 1,
77     "x": 605.004337310791,
78     "y": 435.6707601547241,
79     "z": "816d5e60.eba45",
80     "wires": [
81       [
82         "89904125.f9c2d"
83       ]
84     ]
85   },
86   {
87     "id": "f587f945.9668c8",
88     "type": "set",
89     "name": "set prop.ar.allotted-resource-id",
90     "xml": "<set>\n<parameter name='prop.ar.allotted-resource-id' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id`' />\n",
91     "comments": "",
92     "x": 1395.0052490234375,
93     "y": 124.97268486022949,
94     "z": "816d5e60.eba45",
95     "wires": []
96   },
97   {
98     "id": "7103c5d5.4c730c",
99     "type": "comment",
100     "name": "Query MDSAL for AR",
101     "info": "",
102     "comments": "",
103     "x": 1720.3379211425781,
104     "y": 148.97255420684814,
105     "z": "816d5e60.eba45",
106     "wires": []
107   },
108   {
109     "id": "95a2de04.a237b",
110     "type": "comment",
111     "name": "Query MDSAL to get parent service based on service instance id from AR",
112     "info": "",
113     "comments": "",
114     "x": 2190.338779449463,
115     "y": 167.97253322601318,
116     "z": "816d5e60.eba45",
117     "wires": []
118   },
119   {
120     "id": "4d085fb4.7bdbe",
121     "type": "success",
122     "name": "success",
123     "xml": "<outcome value='success'>\n",
124     "comments": "",
125     "outputs": 1,
126     "x": 1969.67232131958,
127     "y": 203.63917350769043,
128     "z": "816d5e60.eba45",
129     "wires": [
130       [
131         "6619fa96.9e1c44"
132       ]
133     ]
134   },
135   {
136     "id": "6619fa96.9e1c44",
137     "type": "block",
138     "name": "block: atomic",
139     "xml": "<block atomic=\"true\">\n",
140     "atomic": "false",
141     "comments": "",
142     "outputs": 1,
143     "x": 2124.672161102295,
144     "y": 203.13900661468506,
145     "z": "816d5e60.eba45",
146     "wires": [
147       [
148         "65302594.0054ec"
149       ]
150     ]
151   },
152   {
153     "id": "33787bc7.0b4834",
154     "type": "other",
155     "name": "outcome 1",
156     "xml": "<outcome value='1'>\n",
157     "comments": "",
158     "outputs": 1,
159     "x": 2448.3626976013184,
160     "y": 199.75814723968506,
161     "z": "816d5e60.eba45",
162     "wires": [
163       [
164         "545b3871.7610f8"
165       ]
166     ]
167   },
168   {
169     "id": "17a34962.7bafd7",
170     "type": "returnFailure",
171     "name": "return failure",
172     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Connection attachement resource not found\" />\n    \n",
173     "comments": "",
174     "x": 2594.1314735412598,
175     "y": 239.20513534545898,
176     "z": "816d5e60.eba45",
177     "wires": []
178   },
179   {
180     "id": "60f770e5.3c645",
181     "type": "other",
182     "name": "other",
183     "xml": "<outcome value='Other'>\n",
184     "comments": "",
185     "outputs": 1,
186     "x": 1962.5240478515625,
187     "y": 250.70518016815186,
188     "z": "816d5e60.eba45",
189     "wires": [
190       [
191         "a69f2107.3bfff"
192       ]
193     ]
194   },
195   {
196     "id": "a69f2107.3bfff",
197     "type": "block",
198     "name": "block: atomic",
199     "xml": "<block atomic=\"true\">\n",
200     "atomic": "false",
201     "comments": "",
202     "outputs": 1,
203     "x": 2112.5238914489746,
204     "y": 251.37173557281494,
205     "z": "816d5e60.eba45",
206     "wires": [
207       [
208         "48f1dbd9.82eaf4"
209       ]
210     ]
211   },
212   {
213     "id": "3677d240.46bcee",
214     "type": "other",
215     "name": "other",
216     "xml": "<outcome value='Other'>\n",
217     "comments": "",
218     "outputs": 1,
219     "x": 2436.6906509399414,
220     "y": 237.03850746154785,
221     "z": "816d5e60.eba45",
222     "wires": [
223       [
224         "17a34962.7bafd7"
225       ]
226     ]
227   },
228   {
229     "id": "65302594.0054ec",
230     "type": "switchNode",
231     "name": "switch cr length",
232     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
233     "comments": "",
234     "outputs": 1,
235     "x": 2288.672336578369,
236     "y": 203.6391897201538,
237     "z": "816d5e60.eba45",
238     "wires": [
239       [
240         "33787bc7.0b4834",
241         "3677d240.46bcee"
242       ]
243     ]
244   },
245   {
246     "id": "f2c93863.974c98",
247     "type": "set",
248     "name": "set parent-service-instance-id",
249     "xml": "<set>\n<parameter name='prop.parent-service-instance-id' value='`$mdsal-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id`' />\n\n",
250     "comments": "",
251     "x": 2844.0059356689453,
252     "y": 200.63917064666748,
253     "z": "816d5e60.eba45",
254     "wires": []
255   },
256   {
257     "id": "545b3871.7610f8",
258     "type": "block",
259     "name": "block: atomic",
260     "xml": "<block atomic='true'>\n",
261     "atomic": "false",
262     "comments": "",
263     "outputs": 1,
264     "x": 2598.4817276000977,
265     "y": 199.80570697784424,
266     "z": "816d5e60.eba45",
267     "wires": [
268       [
269         "f2c93863.974c98",
270         "c4ef0618.a01ef8"
271       ]
272     ]
273   },
274   {
275     "id": "48f1dbd9.82eaf4",
276     "type": "returnFailure",
277     "name": "return failure",
278     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Connection attachement resource not found\" />\n    \n",
279     "comments": "",
280     "x": 2280.005344390869,
281     "y": 249.63911151885986,
282     "z": "816d5e60.eba45",
283     "wires": []
284   },
285   {
286     "id": "3af4c28.a27653e",
287     "type": "success",
288     "name": "success",
289     "xml": "<outcome value='success'>\n",
290     "comments": "",
291     "outputs": 1,
292     "x": 2067.307460784912,
293     "y": 521.7748374938965,
294     "z": "816d5e60.eba45",
295     "wires": [
296       [
297         "29090a88.41c1f6"
298       ]
299     ]
300   },
301   {
302     "id": "b8d8640d.13eac8",
303     "type": "other",
304     "name": "other",
305     "xml": "<outcome value='Other'>\n",
306     "comments": "",
307     "outputs": 1,
308     "x": 2059.15926361084,
309     "y": 556.8409223556519,
310     "z": "816d5e60.eba45",
311     "wires": [
312       [
313         "bda3efcf.89dfe"
314       ]
315     ]
316   },
317   {
318     "id": "bda3efcf.89dfe",
319     "type": "returnFailure",
320     "name": "return failure",
321     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
322     "comments": "",
323     "x": 2205.308036804199,
324     "y": 557.1084184646606,
325     "z": "816d5e60.eba45",
326     "wires": []
327   },
328   {
329     "id": "29090a88.41c1f6",
330     "type": "block",
331     "name": "block",
332     "xml": "<block>\n",
333     "atomic": "false",
334     "comments": "",
335     "outputs": 1,
336     "x": 2187.3077087402344,
337     "y": 521.774920463562,
338     "z": "816d5e60.eba45",
339     "wires": [
340       []
341     ]
342   },
343   {
344     "id": "c548252d.342ee8",
345     "type": "for",
346     "name": "for pnidx.. mdsal-psd.networks.network_length[]",
347     "xml": "<for index='pnidx' start='0' end='`$mdsal-psd.service-data.networks.network_length`' >\n",
348     "comments": "",
349     "outputs": 1,
350     "x": 1750.6722564697266,
351     "y": 621.3067955970764,
352     "z": "816d5e60.eba45",
353     "wires": [
354       [
355         "e621a712.c02488"
356       ]
357     ]
358   },
359   {
360     "id": "4d2b2a60.5a15c4",
361     "type": "switchNode",
362     "name": "switch ActivateSDWANConnectivityInstance",
363     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n    \n    \n\n",
364     "comments": "",
365     "outputs": 1,
366     "x": 2280.3388900756836,
367     "y": 590.3067970275879,
368     "z": "816d5e60.eba45",
369     "wires": [
370       [
371         "eff7a2d.680436"
372       ]
373     ]
374   },
375   {
376     "id": "eff7a2d.680436",
377     "type": "outcomeTrue",
378     "name": "true",
379     "xml": "<outcome value='true'>\n",
380     "comments": "",
381     "outputs": 1,
382     "x": 2532.338424682617,
383     "y": 591.3067345619202,
384     "z": "816d5e60.eba45",
385     "wires": [
386       [
387         "b41985de.5559e8"
388       ]
389     ]
390   },
391   {
392     "id": "b41985de.5559e8",
393     "type": "set",
394     "name": "set tmp.pnidx ",
395     "xml": "<set>\n<parameter name='tmp.pnidx' value='`$pnidx`' />\n\n",
396     "comments": "",
397     "x": 2688.3381118774414,
398     "y": 591.3067345619202,
399     "z": "816d5e60.eba45",
400     "wires": []
401   },
402   {
403     "id": "2eff9ba0.ecf354",
404     "type": "for",
405     "name": "for loop paramidx - Get topology from servicedata",
406     "xml": "<for index=\"paramidx\" start=\"0\" end=\"`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param_length`\">\n    \n    \n",
407     "comments": "",
408     "outputs": 1,
409     "x": 1682.3390655517578,
410     "y": 706.3064250946045,
411     "z": "816d5e60.eba45",
412     "wires": [
413       [
414         "f3cef2f6.2a146"
415       ]
416     ]
417   },
418   {
419     "id": "482a4c29.31cfa4",
420     "type": "switchNode",
421     "name": "switch topology",
422     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
423     "comments": "",
424     "outputs": 1,
425     "x": 2134.339157104492,
426     "y": 685.3063306808472,
427     "z": "816d5e60.eba45",
428     "wires": [
429       [
430         "65d66991.892e68"
431       ]
432     ]
433   },
434   {
435     "id": "65d66991.892e68",
436     "type": "outcomeTrue",
437     "name": "true",
438     "xml": "<outcome value='true'>\n",
439     "comments": "",
440     "outputs": 1,
441     "x": 2285.339168548584,
442     "y": 683.3063726425171,
443     "z": "816d5e60.eba45",
444     "wires": [
445       [
446         "1a0e340c.b9591c"
447       ]
448     ]
449   },
450   {
451     "id": "1a0e340c.b9591c",
452     "type": "set",
453     "name": "set topology",
454     "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
455     "comments": "",
456     "x": 2426.338897705078,
457     "y": 682.9063062667847,
458     "z": "816d5e60.eba45",
459     "wires": []
460   },
461   {
462     "id": "8b82943e.e37978",
463     "type": "switchNode",
464     "name": "switch tmp.pnidx ",
465     "xml": "<switch test=\"`$tmp.pnidx`\">\n\n",
466     "comments": "",
467     "outputs": 1,
468     "x": 1653.338882446289,
469     "y": 665.9729976654053,
470     "z": "816d5e60.eba45",
471     "wires": [
472       [
473         "6c46e25f.8ffa9c"
474       ]
475     ]
476   },
477   {
478     "id": "6c46e25f.8ffa9c",
479     "type": "outcome",
480     "name": "NULL",
481     "xml": "<outcome value=''>\n",
482     "comments": "",
483     "outputs": 1,
484     "x": 1808.7675552368164,
485     "y": 664.5443773269653,
486     "z": "816d5e60.eba45",
487     "wires": [
488       [
489         "7abaa33.8b7355c"
490       ]
491     ]
492   },
493   {
494     "id": "7abaa33.8b7355c",
495     "type": "returnFailure",
496     "name": "return failure",
497     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
498     "comments": "",
499     "x": 1949.1961784362793,
500     "y": 665.6874666213989,
501     "z": "816d5e60.eba45",
502     "wires": []
503   },
504   {
505     "id": "f3550d2c.724f9",
506     "type": "switchNode",
507     "name": "switch topology hub-spoke",
508     "xml": "<switch test=\"`$prop.topology == 'hub-spoke'`\">\n",
509     "comments": "",
510     "outputs": 1,
511     "x": 1561.3387489318848,
512     "y": 768.3062467575073,
513     "z": "816d5e60.eba45",
514     "wires": [
515       [
516         "ab080c7a.92d5",
517         "3d04ef10.4ea32"
518       ]
519     ]
520   },
521   {
522     "id": "ab080c7a.92d5",
523     "type": "outcomeTrue",
524     "name": "true",
525     "xml": "<outcome value='true'>\n",
526     "comments": "",
527     "outputs": 1,
528     "x": 1751.338436126709,
529     "y": 793.3067321777344,
530     "z": "816d5e60.eba45",
531     "wires": [
532       [
533         "8abbeb7b.b004e8"
534       ]
535     ]
536   },
537   {
538     "id": "3d04ef10.4ea32",
539     "type": "outcomeTrue",
540     "name": "false",
541     "xml": "<outcome value='false'>\n",
542     "comments": "",
543     "outputs": 1,
544     "x": 1745.3393630981445,
545     "y": 754.3063945770264,
546     "z": "816d5e60.eba45",
547     "wires": [
548       [
549         "86771426.4b32c8"
550       ]
551     ]
552   },
553   {
554     "id": "86771426.4b32c8",
555     "type": "block",
556     "name": "block",
557     "xml": "<block>\n",
558     "atomic": "false",
559     "comments": "",
560     "outputs": 1,
561     "x": 1881.3393669128418,
562     "y": 754.3063335418701,
563     "z": "816d5e60.eba45",
564     "wires": [
565       []
566     ]
567   },
568   {
569     "id": "8abbeb7b.b004e8",
570     "type": "block",
571     "name": "block: atomic",
572     "xml": "<block atomic=\"true\">\n",
573     "atomic": "false",
574     "comments": "",
575     "outputs": 1,
576     "x": 1756.67138671875,
577     "y": 861.3059663772583,
578     "z": "816d5e60.eba45",
579     "wires": [
580       [
581         "aa63c4ce.dcdf88"
582       ]
583     ]
584   },
585   {
586     "id": "aa63c4ce.dcdf88",
587     "type": "for",
588     "name": "for ppidx.. mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
589     "xml": "<for index='ppidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
590     "comments": "",
591     "outputs": 1,
592     "x": 2164.004638671875,
593     "y": 861.6395845413208,
594     "z": "816d5e60.eba45",
595     "wires": [
596       [
597         "db34806a.eb197"
598       ]
599     ]
600   },
601   {
602     "id": "a12ec2fd.fe008",
603     "type": "set",
604     "name": "set prop.ar.provided-allotted-resource-id",
605     "xml": "<set>\n<parameter name='prop.ar.provided-allotted-resource-id' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$ppidx].allotted-resource-id`' />\n\n",
606     "comments": "",
607     "x": 2255.0057525634766,
608     "y": 939.6398825645447,
609     "z": "816d5e60.eba45",
610     "wires": []
611   },
612   {
613     "id": "48c0bc5c.016e84",
614     "type": "for",
615     "name": "for loop aridx - Get role from allotted resource",
616     "xml": "<for index=\"aridx\" start=\"0\" end=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`\">\n    \n    \n",
617     "comments": "",
618     "outputs": 1,
619     "x": 2273.0064544677734,
620     "y": 1050.306674003601,
621     "z": "816d5e60.eba45",
622     "wires": [
623       [
624         "6e2c1efa.030fd"
625       ]
626     ]
627   },
628   {
629     "id": "d87f1462.94a148",
630     "type": "switchNode",
631     "name": "switch Role",
632     "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].name == 'Role'`\">\n",
633     "comments": "",
634     "outputs": 1,
635     "x": 2682.006565093994,
636     "y": 1053.3067607879639,
637     "z": "816d5e60.eba45",
638     "wires": [
639       [
640         "8902bff0.b993a"
641       ]
642     ]
643   },
644   {
645     "id": "8902bff0.b993a",
646     "type": "outcomeTrue",
647     "name": "true",
648     "xml": "<outcome value='true'>\n",
649     "comments": "",
650     "outputs": 1,
651     "x": 2823.0068969726562,
652     "y": 1052.3067598342896,
653     "z": "816d5e60.eba45",
654     "wires": [
655       [
656         "d0dace3e.a4044"
657       ]
658     ]
659   },
660   {
661     "id": "d0dace3e.a4044",
662     "type": "set",
663     "name": "set prop.role",
664     "xml": "<set>\n<parameter name='prop.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
665     "comments": "",
666     "x": 2964.0069313049316,
667     "y": 1053.9066514968872,
668     "z": "816d5e60.eba45",
669     "wires": []
670   },
671   {
672     "id": "a56e979.94c4668",
673     "type": "success",
674     "name": "success",
675     "xml": "<outcome value='success'>\n",
676     "comments": "",
677     "outputs": 1,
678     "x": 2759.0059509277344,
679     "y": 956.973176240921,
680     "z": "816d5e60.eba45",
681     "wires": [
682       [
683         "5e3a3525.ed601c"
684       ]
685     ]
686   },
687   {
688     "id": "36ee87ff.edcc88",
689     "type": "other",
690     "name": "other",
691     "xml": "<outcome value='Other'>\n",
692     "comments": "",
693     "outputs": 1,
694     "x": 2755.8576736450195,
695     "y": 1011.0392594337463,
696     "z": "816d5e60.eba45",
697     "wires": [
698       [
699         "61955a75.34d004"
700       ]
701     ]
702   },
703   {
704     "id": "1dae6147.4a990f",
705     "type": "switchNode",
706     "name": "switch role hub",
707     "xml": "<switch test=\"`$prop.role == hub`\">\n",
708     "comments": "",
709     "outputs": 1,
710     "x": 2139.3390884399414,
711     "y": 1115.6397142410278,
712     "z": "816d5e60.eba45",
713     "wires": [
714       [
715         "918c56f9.c83968",
716         "c6d12fe7.97792"
717       ]
718     ]
719   },
720   {
721     "id": "f44852b5.87cbc",
722     "type": "block",
723     "name": "block",
724     "xml": "<block>\n",
725     "atomic": "false",
726     "comments": "",
727     "outputs": 1,
728     "x": 2455.3384742736816,
729     "y": 1091.6393175125122,
730     "z": "816d5e60.eba45",
731     "wires": [
732       []
733     ]
734   },
735   {
736     "id": "b92c0442.b0f838",
737     "type": "success",
738     "name": "success",
739     "xml": "<outcome value='success'>\n",
740     "comments": "",
741     "outputs": 1,
742     "x": 2865.3081092834473,
743     "y": 1187.1084241867065,
744     "z": "816d5e60.eba45",
745     "wires": [
746       [
747         "c83cb2fc.e107f"
748       ]
749     ]
750   },
751   {
752     "id": "3638a6d7.49015a",
753     "type": "other",
754     "name": "other",
755     "xml": "<outcome value='Other'>\n",
756     "comments": "",
757     "outputs": 1,
758     "x": 2867.159679412842,
759     "y": 1247.174506187439,
760     "z": "816d5e60.eba45",
761     "wires": [
762       [
763         "7e0afffe.3838d"
764       ]
765     ]
766   },
767   {
768     "id": "7e0afffe.3838d",
769     "type": "returnFailure",
770     "name": "return failure",
771     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SDWAN service-data not found\" />\n    \n",
772     "comments": "",
773     "x": 3011.308452606201,
774     "y": 1209.4419202804565,
775     "z": "816d5e60.eba45",
776     "wires": []
777   },
778   {
779     "id": "c83cb2fc.e107f",
780     "type": "block",
781     "name": "block",
782     "xml": "<block>\n",
783     "atomic": "false",
784     "comments": "",
785     "outputs": 1,
786     "x": 2995.3081283569336,
787     "y": 1176.1085844039917,
788     "z": "816d5e60.eba45",
789     "wires": [
790       []
791     ]
792   },
793   {
794     "id": "f6606352.8ce6f",
795     "type": "set",
796     "name": "set prop.ar-service-instance-id",
797     "xml": "<set>\n<parameter name='prop.ar-service-instance-id' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.connection-attachment-topology.allotted-resource-identifiers.consuming-service-instance-id`' />\n",
798     "comments": "",
799     "x": 2467.3395080566406,
800     "y": 1175.6399170160294,
801     "z": "816d5e60.eba45",
802     "wires": []
803   },
804   {
805     "id": "5ea29b9f.be4264",
806     "type": "for",
807     "name": "for arvidx.. mdsal-arsd.service-data.vnfs.vnf_length[]",
808     "xml": "<for index='arvidx' start='0' end='`$mdsal-arsd.service-data.vnfs.vnf_length`' >\n",
809     "comments": "",
810     "outputs": 1,
811     "x": 2511.0059814453125,
812     "y": 1297.6397066116333,
813     "z": "816d5e60.eba45",
814     "wires": [
815       [
816         "4d51cabb.29bdd4"
817       ]
818     ]
819   },
820   {
821     "id": "4d51cabb.29bdd4",
822     "type": "block",
823     "name": "block atmoic",
824     "xml": "<block atomic=\"true\">\n",
825     "atomic": "false",
826     "comments": "",
827     "outputs": 1,
828     "x": 2857.6723022460938,
829     "y": 1287.6396827697754,
830     "z": "816d5e60.eba45",
831     "wires": [
832       [
833         "d3ef4c0.e5881b8",
834         "6e60b7ca.332018",
835         "a1284f22.c1dd1"
836       ]
837     ]
838   },
839   {
840     "id": "d3ef4c0.e5881b8",
841     "type": "switchNode",
842     "name": "switch ActivateSDWANPortInstance",
843     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n    \n\n",
844     "comments": "",
845     "outputs": 1,
846     "x": 3119.672410964966,
847     "y": 1258.6406421661377,
848     "z": "816d5e60.eba45",
849     "wires": [
850       [
851         "bf3a29ae.d2e8a8"
852       ]
853     ]
854   },
855   {
856     "id": "5fa744b7.80a78c",
857     "type": "switchNode",
858     "name": "switch tmp.portvidx ",
859     "xml": "<switch test=\"`$tmp.portvidx`\">\n\n",
860     "comments": "",
861     "outputs": 1,
862     "x": 2592.672119140625,
863     "y": 1342.3063516616821,
864     "z": "816d5e60.eba45",
865     "wires": [
866       [
867         "72b9c858.12ec88"
868       ]
869     ]
870   },
871   {
872     "id": "15f5118.456cfef",
873     "type": "for",
874     "name": "for loop wportidx - Get wan port ID from servicedata",
875     "xml": "<for index=\"wportidx\" start=\"0\" end=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
876     "comments": "",
877     "outputs": 1,
878     "x": 2517.6727294921875,
879     "y": 1497.6406106948853,
880     "z": "816d5e60.eba45",
881     "wires": [
882       [
883         "b2e9e931.6800c8"
884       ]
885     ]
886   },
887   {
888     "id": "72b9c858.12ec88",
889     "type": "outcome",
890     "name": "NULL",
891     "xml": "<outcome value=''>\n",
892     "comments": "",
893     "outputs": 1,
894     "x": 2753.1005840301514,
895     "y": 1341.8778715133667,
896     "z": "816d5e60.eba45",
897     "wires": [
898       [
899         "f81f5327.8ee49"
900       ]
901     ]
902   },
903   {
904     "id": "f81f5327.8ee49",
905     "type": "returnFailure",
906     "name": "return failure",
907     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id (port) not found in service-data\" />\n",
908     "comments": "",
909     "x": 2890.529541015625,
910     "y": 1342.0212831497192,
911     "z": "816d5e60.eba45",
912     "wires": []
913   },
914   {
915     "id": "bf3a29ae.d2e8a8",
916     "type": "outcomeTrue",
917     "name": "true",
918     "xml": "<outcome value='true'>\n",
919     "comments": "",
920     "outputs": 1,
921     "x": 3347.67209815979,
922     "y": 1256.640643119812,
923     "z": "816d5e60.eba45",
924     "wires": [
925       [
926         "2e9dbb2.cfc4c44"
927       ]
928     ]
929   },
930   {
931     "id": "b2e9e931.6800c8",
932     "type": "block",
933     "name": "block atomic",
934     "xml": "<block atomic=\"true\">\n",
935     "atomic": "false",
936     "comments": "",
937     "outputs": 1,
938     "x": 2860.673713684082,
939     "y": 1500.6408605575562,
940     "z": "816d5e60.eba45",
941     "wires": [
942       [
943         "948d8437.e73248",
944         "89e2b91a.b2d6b8",
945         "18165b60.a7ba85",
946         "ccf6624c.26897"
947       ]
948     ]
949   },
950   {
951     "id": "948d8437.e73248",
952     "type": "switchNode",
953     "name": "switch transportNetworkName",
954     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'transportNetworkName'`\">\n",
955     "comments": "",
956     "outputs": 1,
957     "x": 3155.674663543701,
958     "y": 1439.6413974761963,
959     "z": "816d5e60.eba45",
960     "wires": [
961       [
962         "cfc84538.b28318"
963       ]
964     ]
965   },
966   {
967     "id": "2e9dbb2.cfc4c44",
968     "type": "set",
969     "name": "set tmp.portvidx ",
970     "xml": "<set>\n<parameter name='tmp.portvidx' value='`$arvidx`' />\n\n",
971     "comments": "",
972     "x": 3502.671781539917,
973     "y": 1256.6406421661377,
974     "z": "816d5e60.eba45",
975     "wires": []
976   },
977   {
978     "id": "cfc84538.b28318",
979     "type": "outcomeTrue",
980     "name": "true",
981     "xml": "<outcome value='true'>\n",
982     "comments": "",
983     "outputs": 1,
984     "x": 3348.6746788024902,
985     "y": 1439.64155960083,
986     "z": "816d5e60.eba45",
987     "wires": [
988       [
989         "cb06aff7.fe992"
990       ]
991     ]
992   },
993   {
994     "id": "cb06aff7.fe992",
995     "type": "set",
996     "name": "set prop.hub.transportNetworkName",
997     "xml": "<set>\n<parameter name='prop.hub.transportNetworkName' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
998     "comments": "",
999     "x": 3566.6746864318848,
1000     "y": 1438.24214553833,
1001     "z": "816d5e60.eba45",
1002     "wires": []
1003   },
1004   {
1005     "id": "89e2b91a.b2d6b8",
1006     "type": "switchNode",
1007     "name": "switch wanPortId",
1008     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'wanPortId'`\">\n",
1009     "comments": "",
1010     "outputs": 1,
1011     "x": 3117.007396697998,
1012     "y": 1473.6410064697266,
1013     "z": "816d5e60.eba45",
1014     "wires": [
1015       [
1016         "c1169dfe.4c65a"
1017       ]
1018     ]
1019   },
1020   {
1021     "id": "c1169dfe.4c65a",
1022     "type": "outcomeTrue",
1023     "name": "true",
1024     "xml": "<outcome value='true'>\n",
1025     "comments": "",
1026     "outputs": 1,
1027     "x": 3278.007724761963,
1028     "y": 1474.6410865783691,
1029     "z": "816d5e60.eba45",
1030     "wires": [
1031       [
1032         "6fd3807f.bc967"
1033       ]
1034     ]
1035   },
1036   {
1037     "id": "6fd3807f.bc967",
1038     "type": "set",
1039     "name": "set prop.hub.wanPortId",
1040     "xml": "<set>\n<parameter name='prop.hub.wanPortId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
1041     "comments": "",
1042     "x": 3468.008186340332,
1043     "y": 1474.2413625717163,
1044     "z": "816d5e60.eba45",
1045     "wires": []
1046   },
1047   {
1048     "id": "2d5b2f06.016de",
1049     "type": "switchNode",
1050     "name": "switch  prop.hub.transportNetworkName==prop.spoke.transportNetworkName",
1051     "xml": "<switch test=\"`$prop.hub.transportNetworkName == $prop.spoke.transportNetworkName`\">\n",
1052     "comments": "",
1053     "outputs": 1,
1054     "x": 2595.008056640625,
1055     "y": 1600.308346748352,
1056     "z": "816d5e60.eba45",
1057     "wires": [
1058       [
1059         "336fdae9.175cb6",
1060         "1f1ba045.97a09"
1061       ]
1062     ]
1063   },
1064   {
1065     "id": "336fdae9.175cb6",
1066     "type": "outcomeTrue",
1067     "name": "true",
1068     "xml": "<outcome value='true'>\n",
1069     "comments": "",
1070     "outputs": 1,
1071     "x": 2941.0075874328613,
1072     "y": 1637.3084206581116,
1073     "z": "816d5e60.eba45",
1074     "wires": [
1075       [
1076         "4f105ce1.5af714"
1077       ]
1078     ]
1079   },
1080   {
1081     "id": "1f1ba045.97a09",
1082     "type": "outcomeTrue",
1083     "name": "false",
1084     "xml": "<outcome value='false'>\n",
1085     "comments": "",
1086     "outputs": 1,
1087     "x": 2945.0080757141113,
1088     "y": 1572.3080530166626,
1089     "z": "816d5e60.eba45",
1090     "wires": [
1091       [
1092         "5909586.22baea8"
1093       ]
1094     ]
1095   },
1096   {
1097     "id": "5909586.22baea8",
1098     "type": "block",
1099     "name": "block",
1100     "xml": "<block>\n",
1101     "atomic": "false",
1102     "comments": "",
1103     "outputs": 1,
1104     "x": 3085.0080032348633,
1105     "y": 1600.308177947998,
1106     "z": "816d5e60.eba45",
1107     "wires": [
1108       []
1109     ]
1110   },
1111   {
1112     "id": "db34806a.eb197",
1113     "type": "block",
1114     "name": "block atomic",
1115     "xml": "<block atomic=\"true\">\n",
1116     "atomic": "false",
1117     "comments": "",
1118     "outputs": 1,
1119     "x": 1906.0361328125,
1120     "y": 970.8372163772583,
1121     "z": "816d5e60.eba45",
1122     "wires": [
1123       [
1124         "a12ec2fd.fe008",
1125         "7504b3dc.db15fc",
1126         "28b961ad.bfb2de",
1127         "1dae6147.4a990f",
1128         "48c0bc5c.016e84"
1129       ]
1130     ]
1131   },
1132   {
1133     "id": "3b80b5a9.9770ba",
1134     "type": "switchNode",
1135     "name": "switch vpnId",
1136     "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpnId'`\">\n",
1137     "comments": "",
1138     "outputs": 1,
1139     "x": 2124.005172729492,
1140     "y": 729.6393413543701,
1141     "z": "816d5e60.eba45",
1142     "wires": [
1143       [
1144         "c6514d30.77c24"
1145       ]
1146     ]
1147   },
1148   {
1149     "id": "c6514d30.77c24",
1150     "type": "outcomeTrue",
1151     "name": "true",
1152     "xml": "<outcome value='true'>\n",
1153     "comments": "",
1154     "outputs": 1,
1155     "x": 2268.005184173584,
1156     "y": 729.6393823623657,
1157     "z": "816d5e60.eba45",
1158     "wires": [
1159       [
1160         "777a9029.320d4"
1161       ]
1162     ]
1163   },
1164   {
1165     "id": "777a9029.320d4",
1166     "type": "set",
1167     "name": "set prop.vpnId",
1168     "xml": "<set>\n<parameter name='prop.vpnId' value='`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
1169     "comments": "",
1170     "x": 2426.0049057006836,
1171     "y": 728.2393169403076,
1172     "z": "816d5e60.eba45",
1173     "wires": []
1174   },
1175   {
1176     "id": "772df895.4e43b8",
1177     "type": "set",
1178     "name": "Set prop.hubTnpId",
1179     "xml": "<set>\n<parameter name='prop.hubTnpId' value='$prop.hub.wanPortId' />\n\n",
1180     "comments": "",
1181     "x": 2632.340461730957,
1182     "y": 1726.6402111053467,
1183     "z": "816d5e60.eba45",
1184     "wires": []
1185   },
1186   {
1187     "id": "32021f5a.688fc",
1188     "type": "execute",
1189     "name": "execute RestApiCallNode underlay route",
1190     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-underlay.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/routing-protocol/static/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"underlayHubResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
1191     "comments": "",
1192     "outputs": 1,
1193     "x": 3461.3399982452393,
1194     "y": 2412.9747483730316,
1195     "z": "816d5e60.eba45",
1196     "wires": [
1197       [
1198         "dd81b865.bfe928",
1199         "b6ee17f7.b3f2b8"
1200       ]
1201     ]
1202   },
1203   {
1204     "id": "b6ee17f7.b3f2b8",
1205     "type": "success",
1206     "name": "success",
1207     "xml": "<outcome value='success'>\n",
1208     "comments": "",
1209     "outputs": 1,
1210     "x": 3728.339906692505,
1211     "y": 2440.9747779369354,
1212     "z": "816d5e60.eba45",
1213     "wires": [
1214       []
1215     ]
1216   },
1217   {
1218     "id": "dd81b865.bfe928",
1219     "type": "failure",
1220     "name": "failure",
1221     "xml": "<outcome value='failure'>\n",
1222     "comments": "",
1223     "outputs": 1,
1224     "x": 3726.3395862579346,
1225     "y": 2396.9747684001923,
1226     "z": "816d5e60.eba45",
1227     "wires": [
1228       [
1229         "5f5cdc8d.3e29c4"
1230       ]
1231     ]
1232   },
1233   {
1234     "id": "5f5cdc8d.3e29c4",
1235     "type": "returnFailure",
1236     "name": "return failure",
1237     "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=\"Error executing sdwan hub route underlay rest api\" />\n",
1238     "comments": "",
1239     "x": 3868.3402729034424,
1240     "y": 2394.974851369858,
1241     "z": "816d5e60.eba45",
1242     "wires": []
1243   },
1244   {
1245     "id": "ae46a29e.f97e3",
1246     "type": "set",
1247     "name": "Add prop.hub.route",
1248     "xml": "<set>\n<parameter name='prop.route.id' value='`$prop.hubRouteId`' />\n<parameter name='prop.route.vpnId' value='`$prop.vpnId`' />\n<parameter name='prop.route.siteId' value='`$prop.hub.siteId`' />\n<parameter name='prop.route.deviceId' value='`$prop.hub.deviceId`' />\n<parameter name='prop.route.providerIpAddress' value='`$prop.hub.providerIpAddress`' />\n<parameter name='prop.route.wanportId' value='`$prop.spoke.wanPortId`' />\n<parameter name='prop.route.ipAddress' value='`$prop.hub.ipAddress`' />\n\n\n",
1249     "comments": "",
1250     "x": 3405.6733779907227,
1251     "y": 2369.6412563323975,
1252     "z": "816d5e60.eba45",
1253     "wires": []
1254   },
1255   {
1256     "id": "6c422db5.5ce744",
1257     "type": "execute",
1258     "name": "execute RestApiCallNode underlay route",
1259     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-underlay.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/routing-protocol/static/action/batch-delete'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"underlayspokeResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
1260     "comments": "",
1261     "outputs": 1,
1262     "x": 3480.6733779907227,
1263     "y": 2511.6417214870453,
1264     "z": "816d5e60.eba45",
1265     "wires": [
1266       [
1267         "911061e0.d1dd4",
1268         "f999921.375d37"
1269       ]
1270     ]
1271   },
1272   {
1273     "id": "f999921.375d37",
1274     "type": "success",
1275     "name": "success",
1276     "xml": "<outcome value='success'>\n",
1277     "comments": "",
1278     "outputs": 1,
1279     "x": 3732.6735248565674,
1280     "y": 2540.6420180797577,
1281     "z": "816d5e60.eba45",
1282     "wires": [
1283       []
1284     ]
1285   },
1286   {
1287     "id": "911061e0.d1dd4",
1288     "type": "failure",
1289     "name": "failure",
1290     "xml": "<outcome value='failure'>\n",
1291     "comments": "",
1292     "outputs": 1,
1293     "x": 3730.673204421997,
1294     "y": 2496.6420085430145,
1295     "z": "816d5e60.eba45",
1296     "wires": [
1297       [
1298         "98292650.e96428"
1299       ]
1300     ]
1301   },
1302   {
1303     "id": "98292650.e96428",
1304     "type": "returnFailure",
1305     "name": "return failure",
1306     "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=\"Error executing sdwan spoke route underlay rest api\" />\n",
1307     "comments": "",
1308     "x": 3872.673891067505,
1309     "y": 2494.64209151268,
1310     "z": "816d5e60.eba45",
1311     "wires": []
1312   },
1313   {
1314     "id": "6e60b7ca.332018",
1315     "type": "switchNode",
1316     "name": "switch ActivateSDWANDeviceInstance",
1317     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n    \n    \n\n",
1318     "comments": "",
1319     "outputs": 1,
1320     "x": 3130.535987854004,
1321     "y": 1291.8376007080078,
1322     "z": "816d5e60.eba45",
1323     "wires": [
1324       [
1325         "8aedc456.2f7ae8"
1326       ]
1327     ]
1328   },
1329   {
1330     "id": "ae09c3af.7e2b1",
1331     "type": "switchNode",
1332     "name": "switch tmp.devicevidx ",
1333     "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
1334     "comments": "",
1335     "outputs": 1,
1336     "x": 2598.5355377197266,
1337     "y": 1384.5038328170776,
1338     "z": "816d5e60.eba45",
1339     "wires": [
1340       [
1341         "250b22bf.a152be"
1342       ]
1343     ]
1344   },
1345   {
1346     "id": "250b22bf.a152be",
1347     "type": "outcome",
1348     "name": "NULL",
1349     "xml": "<outcome value=''>\n",
1350     "comments": "",
1351     "outputs": 1,
1352     "x": 2764.9639739990234,
1353     "y": 1384.0753660202026,
1354     "z": "816d5e60.eba45",
1355     "wires": [
1356       [
1357         "923c6659.234fb8"
1358       ]
1359     ]
1360   },
1361   {
1362     "id": "923c6659.234fb8",
1363     "type": "returnFailure",
1364     "name": "return failure",
1365     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id (device) not found in service-data\" />\n",
1366     "comments": "",
1367     "x": 2905.392906188965,
1368     "y": 1386.2183408737183,
1369     "z": "816d5e60.eba45",
1370     "wires": []
1371   },
1372   {
1373     "id": "8aedc456.2f7ae8",
1374     "type": "outcomeTrue",
1375     "name": "true",
1376     "xml": "<outcome value='true'>\n",
1377     "comments": "",
1378     "outputs": 1,
1379     "x": 3358.535675048828,
1380     "y": 1289.8376016616821,
1381     "z": "816d5e60.eba45",
1382     "wires": [
1383       [
1384         "bd37a285.897b2"
1385       ]
1386     ]
1387   },
1388   {
1389     "id": "bd37a285.897b2",
1390     "type": "set",
1391     "name": "set tmp.devicevidx ",
1392     "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$arvidx`' />\n\n",
1393     "comments": "",
1394     "x": 3513.535358428955,
1395     "y": 1289.8376007080078,
1396     "z": "816d5e60.eba45",
1397     "wires": []
1398   },
1399   {
1400     "id": "a1284f22.c1dd1",
1401     "type": "switchNode",
1402     "name": "switch ActivateSiteInstance",
1403     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n    \n    \n\n",
1404     "comments": "",
1405     "outputs": 1,
1406     "x": 3093.5360584259033,
1407     "y": 1325.837664604187,
1408     "z": "816d5e60.eba45",
1409     "wires": [
1410       [
1411         "b05e575a.27f578"
1412       ]
1413     ]
1414   },
1415   {
1416     "id": "3739eed6.72baf2",
1417     "type": "switchNode",
1418     "name": "switch tmp.sitevidx ",
1419     "xml": "<switch test=\"`$tmp.sitevidx`\">\n\n",
1420     "comments": "",
1421     "outputs": 1,
1422     "x": 2597.5354080200195,
1423     "y": 1422.5037107467651,
1424     "z": "816d5e60.eba45",
1425     "wires": [
1426       [
1427         "3396efac.e6fa3"
1428       ]
1429     ]
1430   },
1431   {
1432     "id": "3396efac.e6fa3",
1433     "type": "outcome",
1434     "name": "NULL",
1435     "xml": "<outcome value=''>\n",
1436     "comments": "",
1437     "outputs": 1,
1438     "x": 2757.963872909546,
1439     "y": 1422.0752305984497,
1440     "z": "816d5e60.eba45",
1441     "wires": [
1442       [
1443         "35fde04d.b7b7a"
1444       ]
1445     ]
1446   },
1447   {
1448     "id": "35fde04d.b7b7a",
1449     "type": "returnFailure",
1450     "name": "return failure",
1451     "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id (site) not found in service-data\" />\n",
1452     "comments": "",
1453     "x": 2906.392827987671,
1454     "y": 1424.2182369232178,
1455     "z": "816d5e60.eba45",
1456     "wires": []
1457   },
1458   {
1459     "id": "b05e575a.27f578",
1460     "type": "outcomeTrue",
1461     "name": "true",
1462     "xml": "<outcome value='true'>\n",
1463     "comments": "",
1464     "outputs": 1,
1465     "x": 3281.535623550415,
1466     "y": 1325.837830543518,
1467     "z": "816d5e60.eba45",
1468     "wires": [
1469       [
1470         "18980fd.036c1f"
1471       ]
1472     ]
1473   },
1474   {
1475     "id": "18980fd.036c1f",
1476     "type": "set",
1477     "name": "set tmp.sitevidx ",
1478     "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
1479     "comments": "",
1480     "x": 3436.535306930542,
1481     "y": 1325.8378295898438,
1482     "z": "816d5e60.eba45",
1483     "wires": []
1484   },
1485   {
1486     "id": "5b475dee.c12664",
1487     "type": "for",
1488     "name": "for loop deviceidx - Get wan port ID from servicedata",
1489     "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.devicevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
1490     "comments": "",
1491     "outputs": 1,
1492     "x": 2729.5370559692383,
1493     "y": 1762.837965965271,
1494     "z": "816d5e60.eba45",
1495     "wires": [
1496       [
1497         "42885256.de226c"
1498       ]
1499     ]
1500   },
1501   {
1502     "id": "a3360f10.ddde5",
1503     "type": "switchNode",
1504     "name": "switch deviceId",
1505     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.devicevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
1506     "comments": "",
1507     "outputs": 1,
1508     "x": 3190.5384101867676,
1509     "y": 1676.838833808899,
1510     "z": "816d5e60.eba45",
1511     "wires": [
1512       [
1513         "ecee3f37.bc6a5"
1514       ]
1515     ]
1516   },
1517   {
1518     "id": "ecee3f37.bc6a5",
1519     "type": "outcomeTrue",
1520     "name": "true",
1521     "xml": "<outcome value='true'>\n",
1522     "comments": "",
1523     "outputs": 1,
1524     "x": 3341.5387840270996,
1525     "y": 1673.839077949524,
1526     "z": "816d5e60.eba45",
1527     "wires": [
1528       [
1529         "1f5be2a4.d6905d"
1530       ]
1531     ]
1532   },
1533   {
1534     "id": "1f5be2a4.d6905d",
1535     "type": "set",
1536     "name": "set prop.hub.deviceId",
1537     "xml": "<set>\n<parameter name='prop.hub.deviceId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.devicevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].value`' />\n",
1538     "comments": "",
1539     "x": 3516.539031982422,
1540     "y": 1673.4396028518677,
1541     "z": "816d5e60.eba45",
1542     "wires": []
1543   },
1544   {
1545     "id": "4b7a9b51.8c06a4",
1546     "type": "for",
1547     "name": "for loop siteidx - Get site ID from servicedata",
1548     "xml": "<for index=\"siteidx\" start=\"0\" end=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
1549     "comments": "",
1550     "outputs": 1,
1551     "x": 2704.0369415283203,
1552     "y": 1819.83798122406,
1553     "z": "816d5e60.eba45",
1554     "wires": [
1555       [
1556         "48cb425f.55b89c"
1557       ]
1558     ]
1559   },
1560   {
1561     "id": "d000ff03.568cc",
1562     "type": "comment",
1563     "name": "Add route src->dst, dst->src",
1564     "info": "",
1565     "comments": "",
1566     "x": 2920.6726989746094,
1567     "y": 1867.6398572921753,
1568     "z": "816d5e60.eba45",
1569     "wires": []
1570   },
1571   {
1572     "id": "29f55e34.5e8332",
1573     "type": "block",
1574     "name": "block atomic",
1575     "xml": "<block atomic=\"true\">\n",
1576     "atomic": "false",
1577     "comments": "",
1578     "outputs": 1,
1579     "x": 2142.338134765625,
1580     "y": 1247.972653388977,
1581     "z": "816d5e60.eba45",
1582     "wires": [
1583       [
1584         "5ea29b9f.be4264",
1585         "15f5118.456cfef",
1586         "2d5b2f06.016de",
1587         "e6f50ce2.c15fa",
1588         "f6606352.8ce6f",
1589         "ed12d667.ce10c8",
1590         "bae059eb.7d03c8"
1591       ]
1592     ]
1593   },
1594   {
1595     "id": "e6f50ce2.c15fa",
1596     "type": "block",
1597     "name": "block atmoic",
1598     "xml": "<block atomic=\"true\">\n",
1599     "atomic": "false",
1600     "comments": "",
1601     "outputs": 1,
1602     "x": 2397.337890625,
1603     "y": 1384.3060274124146,
1604     "z": "816d5e60.eba45",
1605     "wires": [
1606       [
1607         "5fa744b7.80a78c",
1608         "ae09c3af.7e2b1",
1609         "3739eed6.72baf2"
1610       ]
1611     ]
1612   },
1613   {
1614     "id": "4f105ce1.5af714",
1615     "type": "block",
1616     "name": "block atomic",
1617     "xml": "<block atomic=\"true\">\n",
1618     "atomic": "false",
1619     "comments": "",
1620     "outputs": 1,
1621     "x": 2417.3389282226562,
1622     "y": 1756.639549255371,
1623     "z": "816d5e60.eba45",
1624     "wires": [
1625       [
1626         "772df895.4e43b8",
1627         "5b475dee.c12664",
1628         "4b7a9b51.8c06a4",
1629         "4ae4f054.fa7eb"
1630       ]
1631     ]
1632   },
1633   {
1634     "id": "18165b60.a7ba85",
1635     "type": "switchNode",
1636     "name": "switch providerIpAddress",
1637     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'providerIpAddress'`\">\n",
1638     "comments": "",
1639     "outputs": 1,
1640     "x": 3138.5358810424805,
1641     "y": 1510.8373112678528,
1642     "z": "816d5e60.eba45",
1643     "wires": [
1644       [
1645         "547ceb11.0ca1f4"
1646       ]
1647     ]
1648   },
1649   {
1650     "id": "547ceb11.0ca1f4",
1651     "type": "outcomeTrue",
1652     "name": "true",
1653     "xml": "<outcome value='true'>\n",
1654     "comments": "",
1655     "outputs": 1,
1656     "x": 3314.536865234375,
1657     "y": 1510.8374338150024,
1658     "z": "816d5e60.eba45",
1659     "wires": [
1660       [
1661         "79cc0282.5e8e0c"
1662       ]
1663     ]
1664   },
1665   {
1666     "id": "79cc0282.5e8e0c",
1667     "type": "set",
1668     "name": "set prop.hub.providerIpAddress",
1669     "xml": "<set>\n<parameter name='prop.hub.providerIpAddress' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
1670     "comments": "",
1671     "x": 3516.5369033813477,
1672     "y": 1511.4373540878296,
1673     "z": "816d5e60.eba45",
1674     "wires": []
1675   },
1676   {
1677     "id": "ccf6624c.26897",
1678     "type": "switchNode",
1679     "name": "switch ipAddress",
1680     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'ipAddress'`\">\n",
1681     "comments": "",
1682     "outputs": 1,
1683     "x": 3111.0359630584717,
1684     "y": 1548.337396621704,
1685     "z": "816d5e60.eba45",
1686     "wires": [
1687       [
1688         "11581651.226caa"
1689       ]
1690     ]
1691   },
1692   {
1693     "id": "11581651.226caa",
1694     "type": "outcomeTrue",
1695     "name": "true",
1696     "xml": "<outcome value='true'>\n",
1697     "comments": "",
1698     "outputs": 1,
1699     "x": 3315.0369033813477,
1700     "y": 1548.3373484611511,
1701     "z": "816d5e60.eba45",
1702     "wires": [
1703       [
1704         "4b6a5df1.4c4ce4"
1705       ]
1706     ]
1707   },
1708   {
1709     "id": "4b6a5df1.4c4ce4",
1710     "type": "set",
1711     "name": "set prop.hub.ipAddress",
1712     "xml": "<set>\n<parameter name='prop.hub.ipAddress' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
1713     "comments": "",
1714     "x": 3510.036907196045,
1715     "y": 1547.9373240470886,
1716     "z": "816d5e60.eba45",
1717     "wires": []
1718   },
1719   {
1720     "id": "162bc63c.6a40ba",
1721     "type": "set",
1722     "name": "Add prop.spoke.route",
1723     "xml": "<set>\n<parameter name='prop.route.id' value='`$prop.spokeRouteId`' />\n<parameter name='prop.route.vpnId' value='`$prop.vpnId`' />\n<parameter name='prop.route.siteId' value='`$prop.spoke.siteId`' />\n<parameter name='prop.route.deviceId' value='`$prop.spoke.deviceId`' />\n<parameter name='prop.route.providerIpAddress' value='`$prop.spoke.providerIpAddress`' />\n<parameter name='prop.route.wanportId' value='`$prop.hub.wanPortId`' />\n<parameter name='prop.route.ipAddress' value='`$prop.spoke.ipAddress`' />\n\n\n\n\n",
1724     "comments": "",
1725     "x": 3415.5373935699463,
1726     "y": 2480.338482618332,
1727     "z": "816d5e60.eba45",
1728     "wires": []
1729   },
1730   {
1731     "id": "e68f1fae.052f",
1732     "type": "returnSuccess",
1733     "name": "return success",
1734     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
1735     "comments": "",
1736     "x": 367.3382110595703,
1737     "y": 1122.3382453918457,
1738     "z": "816d5e60.eba45",
1739     "wires": []
1740   },
1741   {
1742     "id": "20ecb75b.a622b8",
1743     "type": "execute",
1744     "name": "generate connection attachment AR url ",
1745     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar.allotted-resource-id`\"/>\n",
1746     "comments": "",
1747     "outputs": 1,
1748     "x": 1416.6711120605469,
1749     "y": 184.30574321746826,
1750     "z": "816d5e60.eba45",
1751     "wires": [
1752       []
1753     ]
1754   },
1755   {
1756     "id": "f4ac6977.3d92e8",
1757     "type": "execute",
1758     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1759     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
1760     "comments": "",
1761     "outputs": 1,
1762     "x": 1543.671142578125,
1763     "y": 232.3057336807251,
1764     "z": "816d5e60.eba45",
1765     "wires": [
1766       [
1767         "4d085fb4.7bdbe",
1768         "60f770e5.3c645"
1769       ]
1770     ]
1771   },
1772   {
1773     "id": "e17df7dc.7298b8",
1774     "type": "execute",
1775     "name": "execute RestApiCallNode - get parent service data",
1776     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-parent-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
1777     "comments": "",
1778     "outputs": 1,
1779     "x": 1768.0052947998047,
1780     "y": 566.3060474395752,
1781     "z": "816d5e60.eba45",
1782     "wires": [
1783       [
1784         "3af4c28.a27653e",
1785         "b8d8640d.13eac8"
1786       ]
1787     ]
1788   },
1789   {
1790     "id": "496b2343.92811c",
1791     "type": "execute",
1792     "name": "generate connection attachment parent url ",
1793     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-parent-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.parent-service-instance-id`\"/>\n",
1794     "comments": "",
1795     "outputs": 1,
1796     "x": 1745.0049438476562,
1797     "y": 512.3059749603271,
1798     "z": "816d5e60.eba45",
1799     "wires": [
1800       []
1801     ]
1802   },
1803   {
1804     "id": "de20210d.6ba26",
1805     "type": "comment",
1806     "name": "full mesh do nothing",
1807     "info": "",
1808     "comments": "",
1809     "x": 1579.671745300293,
1810     "y": 723.3060131072998,
1811     "z": "816d5e60.eba45",
1812     "wires": []
1813   },
1814   {
1815     "id": "688e61c6.6ef82",
1816     "type": "comment",
1817     "name": "hub-spoke",
1818     "info": "",
1819     "comments": "",
1820     "x": 2580.6711463928223,
1821     "y": 820.3059029579163,
1822     "z": "816d5e60.eba45",
1823     "wires": []
1824   },
1825   {
1826     "id": "7504b3dc.db15fc",
1827     "type": "execute",
1828     "name": "generate connection attachment AR url ",
1829     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar.provided-allotted-resource-id`\"/>\n",
1830     "comments": "",
1831     "outputs": 1,
1832     "x": 2253.0042991638184,
1833     "y": 971.3058981895447,
1834     "z": "816d5e60.eba45",
1835     "wires": [
1836       []
1837     ]
1838   },
1839   {
1840     "id": "28b961ad.bfb2de",
1841     "type": "execute",
1842     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1843     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-providedAr\" />\n\n",
1844     "comments": "",
1845     "outputs": 1,
1846     "x": 2384.004379272461,
1847     "y": 1010.9725279808044,
1848     "z": "816d5e60.eba45",
1849     "wires": [
1850       [
1851         "a56e979.94c4668",
1852         "36ee87ff.edcc88"
1853       ]
1854     ]
1855   },
1856   {
1857     "id": "ed12d667.ce10c8",
1858     "type": "execute",
1859     "name": "generate service data url",
1860     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-connection\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.ar-service-instance-id`\"/>\n",
1861     "comments": "",
1862     "outputs": 1,
1863     "x": 2434.508274078369,
1864     "y": 1212.3097982406616,
1865     "z": "816d5e60.eba45",
1866     "wires": [
1867       []
1868     ]
1869   },
1870   {
1871     "id": "bae059eb.7d03c8",
1872     "type": "execute",
1873     "name": "execute RestApiCallNode - get service data of allotted resource",
1874     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-arsd\" />\n\n",
1875     "comments": "",
1876     "outputs": 1,
1877     "x": 2550.5084075927734,
1878     "y": 1249.3096895217896,
1879     "z": "816d5e60.eba45",
1880     "wires": [
1881       [
1882         "b92c0442.b0f838",
1883         "3638a6d7.49015a"
1884       ]
1885     ]
1886   },
1887   {
1888     "id": "c6d12fe7.97792",
1889     "type": "outcomeTrue",
1890     "name": "true",
1891     "xml": "<outcome value='true'>\n",
1892     "comments": "",
1893     "outputs": 1,
1894     "x": 2314.5039710998535,
1895     "y": 1134.8057622909546,
1896     "z": "816d5e60.eba45",
1897     "wires": [
1898       [
1899         "29f55e34.5e8332"
1900       ]
1901     ]
1902   },
1903   {
1904     "id": "918c56f9.c83968",
1905     "type": "outcomeFalse",
1906     "name": "false",
1907     "xml": "<outcome value='false'>\n",
1908     "comments": "",
1909     "outputs": 1,
1910     "x": 2320.504219055176,
1911     "y": 1091.805853843689,
1912     "z": "816d5e60.eba45",
1913     "wires": [
1914       [
1915         "f44852b5.87cbc"
1916       ]
1917     ]
1918   },
1919   {
1920     "id": "c4ef0618.a01ef8",
1921     "type": "for",
1922     "name": "for loop roleidx - Get role from allotted resource",
1923     "xml": "<for index=\"roleidx\" start=\"0\" end=\"`$mdsal-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`\">\n    \n    \n",
1924     "comments": "",
1925     "outputs": 1,
1926     "x": 2895.5047760009766,
1927     "y": 239.30567932128906,
1928     "z": "816d5e60.eba45",
1929     "wires": [
1930       [
1931         "67fa3697.488778"
1932       ]
1933     ]
1934   },
1935   {
1936     "id": "67fa3697.488778",
1937     "type": "block",
1938     "name": "block",
1939     "xml": "<block>\n",
1940     "atomic": "false",
1941     "comments": "",
1942     "outputs": 1,
1943     "x": 3154.5050888061523,
1944     "y": 238.3059949874878,
1945     "z": "816d5e60.eba45",
1946     "wires": [
1947       [
1948         "907c7650.cad4a8"
1949       ]
1950     ]
1951   },
1952   {
1953     "id": "907c7650.cad4a8",
1954     "type": "switchNode",
1955     "name": "switch Role",
1956     "xml": "<switch test=\"`$mdsal-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$roleidx].name == 'role'`\">\n",
1957     "comments": "",
1958     "outputs": 1,
1959     "x": 3303.505100250244,
1960     "y": 239.3058319091797,
1961     "z": "816d5e60.eba45",
1962     "wires": [
1963       [
1964         "d808a0cf.f074f"
1965       ]
1966     ]
1967   },
1968   {
1969     "id": "d539825b.12e92",
1970     "type": "set",
1971     "name": "set prop.spoke.role",
1972     "xml": "<set>\n<parameter name='prop.spoke.role' value='`$mdsal-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$roleidx].value`' />\n",
1973     "comments": "",
1974     "x": 3608.505661010742,
1975     "y": 236.90573978424072,
1976     "z": "816d5e60.eba45",
1977     "wires": []
1978   },
1979   {
1980     "id": "d808a0cf.f074f",
1981     "type": "outcomeTrue",
1982     "name": "true",
1983     "xml": "<outcome value='true'>\n",
1984     "comments": "",
1985     "outputs": 1,
1986     "x": 3439.00492477417,
1987     "y": 236.30567169189453,
1988     "z": "816d5e60.eba45",
1989     "wires": [
1990       [
1991         "d539825b.12e92"
1992       ]
1993     ]
1994   },
1995   {
1996     "id": "5d0ffac5.1d4814",
1997     "type": "switchNode",
1998     "name": "switch spoke",
1999     "xml": "<switch test=\"`$prop.spoke.role == 'spoke'`\">\n",
2000     "comments": "",
2001     "outputs": 1,
2002     "x": 1331.004280090332,
2003     "y": 383.305606842041,
2004     "z": "816d5e60.eba45",
2005     "wires": [
2006       [
2007         "d39c2ae1.e3a298"
2008       ]
2009     ]
2010   },
2011   {
2012     "id": "d39c2ae1.e3a298",
2013     "type": "outcomeTrue",
2014     "name": "true",
2015     "xml": "<outcome value='true'>\n",
2016     "comments": "",
2017     "outputs": 1,
2018     "x": 1472.004035949707,
2019     "y": 384.30564403533936,
2020     "z": "816d5e60.eba45",
2021     "wires": [
2022       [
2023         "401953e4.0343fc"
2024       ]
2025     ]
2026   },
2027   {
2028     "id": "3b2ee77e.0ad758",
2029     "type": "for",
2030     "name": "for i.. service-data.vnfs.vnf_length[]",
2031     "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
2032     "comments": "",
2033     "outputs": 1,
2034     "x": 1744.5045623779297,
2035     "y": 438.3056392669678,
2036     "z": "816d5e60.eba45",
2037     "wires": [
2038       [
2039         "847bf9c5.b5b848"
2040       ]
2041     ]
2042   },
2043   {
2044     "id": "847bf9c5.b5b848",
2045     "type": "block",
2046     "name": "block atmoic",
2047     "xml": "<block atomic=\"true\">\n",
2048     "atomic": "false",
2049     "comments": "",
2050     "outputs": 1,
2051     "x": 2078.170753479004,
2052     "y": 382.3055696487427,
2053     "z": "816d5e60.eba45",
2054     "wires": [
2055       [
2056         "7d9b7d9a.b8ca74",
2057         "6a3836f9.009c38",
2058         "55c5f84e.24eae8"
2059       ]
2060     ]
2061   },
2062   {
2063     "id": "7d9b7d9a.b8ca74",
2064     "type": "switchNode",
2065     "name": "switch ActivateSDWANPortInstance",
2066     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n    \n    \n\n",
2067     "comments": "",
2068     "outputs": 1,
2069     "x": 2349.1707916259766,
2070     "y": 328.3064560890198,
2071     "z": "816d5e60.eba45",
2072     "wires": [
2073       [
2074         "5b0d5f1.e72d3a"
2075       ]
2076     ]
2077   },
2078   {
2079     "id": "5b0d5f1.e72d3a",
2080     "type": "outcomeTrue",
2081     "name": "true",
2082     "xml": "<outcome value='true'>\n",
2083     "comments": "",
2084     "outputs": 1,
2085     "x": 2562.170555114746,
2086     "y": 329.3064589500427,
2087     "z": "816d5e60.eba45",
2088     "wires": [
2089       [
2090         "2bd1babe.4be726"
2091       ]
2092     ]
2093   },
2094   {
2095     "id": "2bd1babe.4be726",
2096     "type": "block",
2097     "name": "block atomic",
2098     "xml": "<block atomic=\"true\">\n",
2099     "atomic": "false",
2100     "comments": "",
2101     "outputs": 1,
2102     "x": 2711.0042991638184,
2103     "y": 331.3056483268738,
2104     "z": "816d5e60.eba45",
2105     "wires": [
2106       [
2107         "5b294f75.d92f3"
2108       ]
2109     ]
2110   },
2111   {
2112     "id": "5b294f75.d92f3",
2113     "type": "for",
2114     "name": "for loop widx - Get wan port ID from servicedata",
2115     "xml": "<for index=\"widx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
2116     "comments": "",
2117     "outputs": 1,
2118     "x": 2984.004249572754,
2119     "y": 329.6728663444519,
2120     "z": "816d5e60.eba45",
2121     "wires": [
2122       [
2123         "32cc5203.15e8fe"
2124       ]
2125     ]
2126   },
2127   {
2128     "id": "32cc5203.15e8fe",
2129     "type": "block",
2130     "name": "block atomic",
2131     "xml": "<block atomic=\"true\">\n",
2132     "atomic": "false",
2133     "comments": "",
2134     "outputs": 1,
2135     "x": 3253.0051765441895,
2136     "y": 328.67311239242554,
2137     "z": "816d5e60.eba45",
2138     "wires": [
2139       [
2140         "2831a4a1.42336c",
2141         "8813fbf3.259e18",
2142         "c11e3914.922088",
2143         "5141e407.34b3cc"
2144       ]
2145     ]
2146   },
2147   {
2148     "id": "2831a4a1.42336c",
2149     "type": "switchNode",
2150     "name": "switch transportNetworkName",
2151     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'transportNetworkName'`\">\n",
2152     "comments": "",
2153     "outputs": 1,
2154     "x": 3496.0062103271484,
2155     "y": 283.6736855506897,
2156     "z": "816d5e60.eba45",
2157     "wires": [
2158       [
2159         "2a15c273.32ab0e"
2160       ]
2161     ]
2162   },
2163   {
2164     "id": "2a15c273.32ab0e",
2165     "type": "outcomeTrue",
2166     "name": "true",
2167     "xml": "<outcome value='true'>\n",
2168     "comments": "",
2169     "outputs": 1,
2170     "x": 3696.0059852600098,
2171     "y": 283.6738476753235,
2172     "z": "816d5e60.eba45",
2173     "wires": [
2174       [
2175         "5b3ec893.cb96e8"
2176       ]
2177     ]
2178   },
2179   {
2180     "id": "5b3ec893.cb96e8",
2181     "type": "set",
2182     "name": "set prop.spoke.transportNetworkName",
2183     "xml": "<set>\n<parameter name='prop.spoke.transportNetworkName' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].value`' />\n",
2184     "comments": "",
2185     "x": 3923.006721496582,
2186     "y": 285.2744297981262,
2187     "z": "816d5e60.eba45",
2188     "wires": []
2189   },
2190   {
2191     "id": "401953e4.0343fc",
2192     "type": "block",
2193     "name": "block: atomic",
2194     "xml": "<block atomic=\"true\">\n",
2195     "atomic": "false",
2196     "comments": "",
2197     "outputs": 1,
2198     "x": 1224.9733276367188,
2199     "y": 694.2745552062988,
2200     "z": "816d5e60.eba45",
2201     "wires": [
2202       [
2203         "3b2ee77e.0ad758",
2204         "496b2343.92811c",
2205         "e17df7dc.7298b8",
2206         "c548252d.342ee8",
2207         "2eff9ba0.ecf354",
2208         "f3550d2c.724f9",
2209         "8b82943e.e37978",
2210         "7fba3a52.cfca64"
2211       ]
2212     ]
2213   },
2214   {
2215     "id": "6a3836f9.009c38",
2216     "type": "switchNode",
2217     "name": "switch ActivateSDWANDeviceInstance",
2218     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n    \n    \n\n",
2219     "comments": "",
2220     "outputs": 1,
2221     "x": 2341.5042266845703,
2222     "y": 402.3056607246399,
2223     "z": "816d5e60.eba45",
2224     "wires": [
2225       [
2226         "7c4ac4a1.4747bc"
2227       ]
2228     ]
2229   },
2230   {
2231     "id": "7c4ac4a1.4747bc",
2232     "type": "outcomeTrue",
2233     "name": "true",
2234     "xml": "<outcome value='true'>\n",
2235     "comments": "",
2236     "outputs": 1,
2237     "x": 2560.5039768218994,
2238     "y": 403.30564546585083,
2239     "z": "816d5e60.eba45",
2240     "wires": [
2241       [
2242         "f4aa9e41.b53e5"
2243       ]
2244     ]
2245   },
2246   {
2247     "id": "f4aa9e41.b53e5",
2248     "type": "block",
2249     "name": "block atomic",
2250     "xml": "<block atomic=\"true\">\n",
2251     "atomic": "false",
2252     "comments": "",
2253     "outputs": 1,
2254     "x": 2711.3379669189453,
2255     "y": 409.3048367500305,
2256     "z": "816d5e60.eba45",
2257     "wires": [
2258       [
2259         "82e0fc37.26ed9"
2260       ]
2261     ]
2262   },
2263   {
2264     "id": "82e0fc37.26ed9",
2265     "type": "for",
2266     "name": "for loop didx - Get device ID from servicedata",
2267     "xml": "<for index=\"didx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
2268     "comments": "",
2269     "outputs": 1,
2270     "x": 2970.338218688965,
2271     "y": 411.67213201522827,
2272     "z": "816d5e60.eba45",
2273     "wires": [
2274       [
2275         "c5f6af8d.43acf"
2276       ]
2277     ]
2278   },
2279   {
2280     "id": "c5f6af8d.43acf",
2281     "type": "block",
2282     "name": "block atomic",
2283     "xml": "<block atomic=\"true\">\n",
2284     "atomic": "false",
2285     "comments": "",
2286     "outputs": 1,
2287     "x": 3256.338726043701,
2288     "y": 444.67231702804565,
2289     "z": "816d5e60.eba45",
2290     "wires": [
2291       [
2292         "eb564ac9.966e08"
2293       ]
2294     ]
2295   },
2296   {
2297     "id": "eb564ac9.966e08",
2298     "type": "switchNode",
2299     "name": "switch deviceId",
2300     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].name == 'deviceId'`\">\n",
2301     "comments": "",
2302     "outputs": 1,
2303     "x": 3439.3396377563477,
2304     "y": 444.67292737960815,
2305     "z": "816d5e60.eba45",
2306     "wires": [
2307       [
2308         "f15b5da7.6e6af"
2309       ]
2310     ]
2311   },
2312   {
2313     "id": "f15b5da7.6e6af",
2314     "type": "outcomeTrue",
2315     "name": "true",
2316     "xml": "<outcome value='true'>\n",
2317     "comments": "",
2318     "outputs": 1,
2319     "x": 3639.339412689209,
2320     "y": 444.67308950424194,
2321     "z": "816d5e60.eba45",
2322     "wires": [
2323       [
2324         "24ab8642.92a16a"
2325       ]
2326     ]
2327   },
2328   {
2329     "id": "24ab8642.92a16a",
2330     "type": "set",
2331     "name": "set prop.spoke.deviceId",
2332     "xml": "<set>\n<parameter name='prop.spoke.deviceId' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].value`' />\n",
2333     "comments": "",
2334     "x": 3834.3400955200195,
2335     "y": 441.27367067337036,
2336     "z": "816d5e60.eba45",
2337     "wires": []
2338   },
2339   {
2340     "id": "55c5f84e.24eae8",
2341     "type": "switchNode",
2342     "name": "switch ActivateSiteInstance",
2343     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n    \n    \n\n",
2344     "comments": "",
2345     "outputs": 1,
2346     "x": 2320.5043411254883,
2347     "y": 463.30569219589233,
2348     "z": "816d5e60.eba45",
2349     "wires": [
2350       [
2351         "7ebe3d6.3c123c4"
2352       ]
2353     ]
2354   },
2355   {
2356     "id": "7ebe3d6.3c123c4",
2357     "type": "outcomeTrue",
2358     "name": "true",
2359     "xml": "<outcome value='true'>\n",
2360     "comments": "",
2361     "outputs": 1,
2362     "x": 2554.503978729248,
2363     "y": 464.3056321144104,
2364     "z": "816d5e60.eba45",
2365     "wires": [
2366       [
2367         "eaa83766.f196c8"
2368       ]
2369     ]
2370   },
2371   {
2372     "id": "eaa83766.f196c8",
2373     "type": "block",
2374     "name": "block atomic",
2375     "xml": "<block atomic=\"true\">\n",
2376     "atomic": "false",
2377     "comments": "",
2378     "outputs": 1,
2379     "x": 2706.3379669189453,
2380     "y": 486.30486822128296,
2381     "z": "816d5e60.eba45",
2382     "wires": [
2383       [
2384         "d0b475ec.f63c48",
2385         "3857554a.ced0aa"
2386       ]
2387     ]
2388   },
2389   {
2390     "id": "d0b475ec.f63c48",
2391     "type": "for",
2392     "name": "for loop widx - Get wan site ID from servicedata",
2393     "xml": "<for index=\"sidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n    \n    \n",
2394     "comments": "",
2395     "outputs": 1,
2396     "x": 2987.3377990722656,
2397     "y": 485.672070980072,
2398     "z": "816d5e60.eba45",
2399     "wires": [
2400       [
2401         "d6950beb.98c1a8"
2402       ]
2403     ]
2404   },
2405   {
2406     "id": "d6950beb.98c1a8",
2407     "type": "block",
2408     "name": "block atomic",
2409     "xml": "<block atomic=\"true\">\n",
2410     "atomic": "false",
2411     "comments": "",
2412     "outputs": 1,
2413     "x": 3256.338726043701,
2414     "y": 484.67231702804565,
2415     "z": "816d5e60.eba45",
2416     "wires": [
2417       [
2418         "f84a2fdd.ca38",
2419         "8488fc33.1f86c",
2420         "4d409006.b4615"
2421       ]
2422     ]
2423   },
2424   {
2425     "id": "f84a2fdd.ca38",
2426     "type": "switchNode",
2427     "name": "switch siteId",
2428     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'siteId'`\">\n",
2429     "comments": "",
2430     "outputs": 1,
2431     "x": 3445.33992767334,
2432     "y": 534.6729888916016,
2433     "z": "816d5e60.eba45",
2434     "wires": [
2435       [
2436         "785cdd27.fd93c4"
2437       ]
2438     ]
2439   },
2440   {
2441     "id": "785cdd27.fd93c4",
2442     "type": "outcomeTrue",
2443     "name": "true",
2444     "xml": "<outcome value='true'>\n",
2445     "comments": "",
2446     "outputs": 1,
2447     "x": 3645.3394050598145,
2448     "y": 522.6731033325195,
2449     "z": "816d5e60.eba45",
2450     "wires": [
2451       [
2452         "5c156f9.fbc869"
2453       ]
2454     ]
2455   },
2456   {
2457     "id": "5c156f9.fbc869",
2458     "type": "set",
2459     "name": "set prop.spoke.siteId",
2460     "xml": "<set>\n<parameter name='prop.spoke.siteId' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].value`' />\n",
2461     "comments": "",
2462     "x": 3838.340358734131,
2463     "y": 529.2737336158752,
2464     "z": "816d5e60.eba45",
2465     "wires": []
2466   },
2467   {
2468     "id": "8813fbf3.259e18",
2469     "type": "switchNode",
2470     "name": "switch wanPortId",
2471     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'wanPortId'`\">\n",
2472     "comments": "",
2473     "outputs": 1,
2474     "x": 3469.50390625,
2475     "y": 320.3057417869568,
2476     "z": "816d5e60.eba45",
2477     "wires": [
2478       [
2479         "d0babd8f.c557b"
2480       ]
2481     ]
2482   },
2483   {
2484     "id": "d0babd8f.c557b",
2485     "type": "outcomeTrue",
2486     "name": "true",
2487     "xml": "<outcome value='true'>\n",
2488     "comments": "",
2489     "outputs": 1,
2490     "x": 3699.5039100646973,
2491     "y": 320.3058533668518,
2492     "z": "816d5e60.eba45",
2493     "wires": [
2494       [
2495         "e2b46cce.ea19d"
2496       ]
2497     ]
2498   },
2499   {
2500     "id": "e2b46cce.ea19d",
2501     "type": "set",
2502     "name": "set prop.spoke.wanPortId",
2503     "xml": "<set>\n<parameter name='prop.spoke.wanPortId' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].value`' />\n",
2504     "comments": "",
2505     "x": 3926.5046463012695,
2506     "y": 321.90643548965454,
2507     "z": "816d5e60.eba45",
2508     "wires": []
2509   },
2510   {
2511     "id": "c11e3914.922088",
2512     "type": "switchNode",
2513     "name": "switch providerIpAddress",
2514     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'providerIpAddress'`\">\n",
2515     "comments": "",
2516     "outputs": 1,
2517     "x": 3487.504066467285,
2518     "y": 364.30569219589233,
2519     "z": "816d5e60.eba45",
2520     "wires": [
2521       [
2522         "c0d01537.19ceb8"
2523       ]
2524     ]
2525   },
2526   {
2527     "id": "c0d01537.19ceb8",
2528     "type": "outcomeTrue",
2529     "name": "true",
2530     "xml": "<outcome value='true'>\n",
2531     "comments": "",
2532     "outputs": 1,
2533     "x": 3687.5038414001465,
2534     "y": 364.3058543205261,
2535     "z": "816d5e60.eba45",
2536     "wires": [
2537       [
2538         "6ecb9e8.25b2b6"
2539       ]
2540     ]
2541   },
2542   {
2543     "id": "6ecb9e8.25b2b6",
2544     "type": "set",
2545     "name": "set prop.spoke.providerIpAddress",
2546     "xml": "<set>\n<parameter name='prop.spoke.providerIpAddress' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].value`' />\n",
2547     "comments": "",
2548     "x": 3914.5045776367188,
2549     "y": 365.90643644332886,
2550     "z": "816d5e60.eba45",
2551     "wires": []
2552   },
2553   {
2554     "id": "5141e407.34b3cc",
2555     "type": "switchNode",
2556     "name": "switch ipAddress",
2557     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'ipAddress'`\">\n",
2558     "comments": "",
2559     "outputs": 1,
2560     "x": 3467.503894805908,
2561     "y": 403.30572843551636,
2562     "z": "816d5e60.eba45",
2563     "wires": [
2564       [
2565         "f9d0d35c.eced2"
2566       ]
2567     ]
2568   },
2569   {
2570     "id": "f9d0d35c.eced2",
2571     "type": "outcomeTrue",
2572     "name": "true",
2573     "xml": "<outcome value='true'>\n",
2574     "comments": "",
2575     "outputs": 1,
2576     "x": 3691.5037231445312,
2577     "y": 403.3058457374573,
2578     "z": "816d5e60.eba45",
2579     "wires": [
2580       [
2581         "b1e06d93.e9e08"
2582       ]
2583     ]
2584   },
2585   {
2586     "id": "b1e06d93.e9e08",
2587     "type": "set",
2588     "name": "set prop.spoke.ipAddress",
2589     "xml": "<set>\n<parameter name='prop.spoke.ipAddress' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].value`' />\n",
2590     "comments": "",
2591     "x": 3918.5044593811035,
2592     "y": 404.90642786026,
2593     "z": "816d5e60.eba45",
2594     "wires": []
2595   },
2596   {
2597     "id": "89904125.f9c2d",
2598     "type": "block",
2599     "name": "block: atomic",
2600     "xml": "<block atomic=\"true\">\n",
2601     "atomic": "false",
2602     "comments": "",
2603     "outputs": 1,
2604     "x": 1035.003807067871,
2605     "y": 262.5039482116699,
2606     "z": "816d5e60.eba45",
2607     "wires": [
2608       [
2609         "f587f945.9668c8",
2610         "20ecb75b.a622b8",
2611         "f4ac6977.3d92e8",
2612         "5d0ffac5.1d4814"
2613       ]
2614     ]
2615   },
2616   {
2617     "id": "26a7429c.87187e",
2618     "type": "comment",
2619     "name": "get spoke device,site,wanport info",
2620     "info": "",
2621     "comments": "",
2622     "x": 1791.97265625,
2623     "y": 385.97265338897705,
2624     "z": "816d5e60.eba45",
2625     "wires": []
2626   },
2627   {
2628     "id": "be393db5.b2c4b",
2629     "type": "comment",
2630     "name": "Add routes only on activation of spoke Attach site",
2631     "info": "",
2632     "comments": "",
2633     "x": 1452.5038223266602,
2634     "y": 329.00396728515625,
2635     "z": "816d5e60.eba45",
2636     "wires": []
2637   },
2638   {
2639     "id": "3b335da8.075402",
2640     "type": "comment",
2641     "name": "Loop for all the hub allotted resources, get respective service data and get vnfs info",
2642     "info": "",
2643     "comments": "",
2644     "x": 2208.50390625,
2645     "y": 824.503963470459,
2646     "z": "816d5e60.eba45",
2647     "wires": []
2648   },
2649   {
2650     "id": "48cb425f.55b89c",
2651     "type": "block",
2652     "name": "block atomic",
2653     "xml": "<block atomic=\"true\">\n",
2654     "atomic": "false",
2655     "comments": "",
2656     "outputs": 1,
2657     "x": 2964.5036239624023,
2658     "y": 1806.0038652420044,
2659     "z": "816d5e60.eba45",
2660     "wires": [
2661       [
2662         "6735788d.2eda88",
2663         "25ec0b7b.fede14"
2664       ]
2665     ]
2666   },
2667   {
2668     "id": "42885256.de226c",
2669     "type": "block",
2670     "name": "block atomic",
2671     "xml": "<block atomic=\"true\">\n",
2672     "atomic": "false",
2673     "comments": "",
2674     "outputs": 1,
2675     "x": 3014.5036811828613,
2676     "y": 1679.003749847412,
2677     "z": "816d5e60.eba45",
2678     "wires": [
2679       [
2680         "a3360f10.ddde5"
2681       ]
2682     ]
2683   },
2684   {
2685     "id": "6735788d.2eda88",
2686     "type": "switchNode",
2687     "name": "switch siteId",
2688     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n",
2689     "comments": "",
2690     "outputs": 1,
2691     "x": 3149.503547668457,
2692     "y": 1817.0037078857422,
2693     "z": "816d5e60.eba45",
2694     "wires": [
2695       [
2696         "b824c970.9e9c08"
2697       ]
2698     ]
2699   },
2700   {
2701     "id": "b824c970.9e9c08",
2702     "type": "outcomeTrue",
2703     "name": "true",
2704     "xml": "<outcome value='true'>\n",
2705     "comments": "",
2706     "outputs": 1,
2707     "x": 3300.503917694092,
2708     "y": 1816.003890991211,
2709     "z": "816d5e60.eba45",
2710     "wires": [
2711       [
2712         "1ab1bd98.e41432"
2713       ]
2714     ]
2715   },
2716   {
2717     "id": "1ab1bd98.e41432",
2718     "type": "set",
2719     "name": "set prop.hub.siteId",
2720     "xml": "<set>\n<parameter name='prop.hub.siteId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n",
2721     "comments": "",
2722     "x": 3472.5039253234863,
2723     "y": 1813.6044597625732,
2724     "z": "816d5e60.eba45",
2725     "wires": []
2726   },
2727   {
2728     "id": "4ae4f054.fa7eb",
2729     "type": "switchNode",
2730     "name": "switch request-action",
2731     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
2732     "comments": "",
2733     "outputs": 1,
2734     "x": 2626.0036544799805,
2735     "y": 2169.0043516159058,
2736     "z": "816d5e60.eba45",
2737     "wires": [
2738       [
2739         "a20f0327.bdb75",
2740         "464f548c.98a25c"
2741       ]
2742     ]
2743   },
2744   {
2745     "id": "a20f0327.bdb75",
2746     "type": "outcome",
2747     "name": "ActivateSDWANAttachmentInstance",
2748     "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
2749     "comments": "",
2750     "outputs": 1,
2751     "x": 2896.0310592651367,
2752     "y": 1980.0353841781616,
2753     "z": "816d5e60.eba45",
2754     "wires": [
2755       [
2756         "3d36ce09.d3a452"
2757       ]
2758     ]
2759   },
2760   {
2761     "id": "cbad3e92.5f2c5",
2762     "type": "execute",
2763     "name": "execute RestApiCallNode underlay route",
2764     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-underlay.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/routing-protocol/static'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"underlayHubResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
2765     "comments": "",
2766     "outputs": 1,
2767     "x": 3485.5039291381836,
2768     "y": 1911.0042324066162,
2769     "z": "816d5e60.eba45",
2770     "wires": [
2771       [
2772         "4b4ae946.a41e78",
2773         "7402b676.36e648"
2774       ]
2775     ]
2776   },
2777   {
2778     "id": "7402b676.36e648",
2779     "type": "success",
2780     "name": "success",
2781     "xml": "<outcome value='success'>\n",
2782     "comments": "",
2783     "outputs": 1,
2784     "x": 3731.503833770752,
2785     "y": 1888.0041208267212,
2786     "z": "816d5e60.eba45",
2787     "wires": [
2788       []
2789     ]
2790   },
2791   {
2792     "id": "4b4ae946.a41e78",
2793     "type": "failure",
2794     "name": "failure",
2795     "xml": "<outcome value='failure'>\n",
2796     "comments": "",
2797     "outputs": 1,
2798     "x": 3729.5035133361816,
2799     "y": 1844.004111289978,
2800     "z": "816d5e60.eba45",
2801     "wires": [
2802       [
2803         "bae0bb4c.569758"
2804       ]
2805     ]
2806   },
2807   {
2808     "id": "bae0bb4c.569758",
2809     "type": "returnFailure",
2810     "name": "return failure",
2811     "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=\"Error executing sdwan hub route underlay rest api\" />\n",
2812     "comments": "",
2813     "x": 3871.5041999816895,
2814     "y": 1842.0041942596436,
2815     "z": "816d5e60.eba45",
2816     "wires": []
2817   },
2818   {
2819     "id": "c33f2b8.8f859d8",
2820     "type": "set",
2821     "name": "Add prop.hub.route",
2822     "xml": "<set>\n<parameter name='prop.route.vpnId' value='`$prop.vpnId`' />\n<parameter name='prop.route.siteId' value='`$prop.hub.siteId`' />\n<parameter name='prop.route.deviceId' value='`$prop.hub.deviceId`' />\n<parameter name='prop.route.providerIpAddress' value='`$prop.hub.providerIpAddress`' />\n<parameter name='prop.route.wanportId' value='`$prop.spoke.wanPortId`' />\n<parameter name='prop.route.ipAddress' value='`$prop.hub.ipAddress`' />\n\n\n",
2823     "comments": "",
2824     "x": 3421.8374042510986,
2825     "y": 1864.6708335876465,
2826     "z": "816d5e60.eba45",
2827     "wires": []
2828   },
2829   {
2830     "id": "d88550f2.429ff",
2831     "type": "execute",
2832     "name": "execute RestApiCallNode underlay route",
2833     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-underlay.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/routing-protocol/static'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"underlayspokeResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
2834     "comments": "",
2835     "outputs": 1,
2836     "x": 3490.837547302246,
2837     "y": 2012.671347618103,
2838     "z": "816d5e60.eba45",
2839     "wires": [
2840       [
2841         "dc754a4a.149ee8",
2842         "9860dbdc.fb5c78"
2843       ]
2844     ]
2845   },
2846   {
2847     "id": "9860dbdc.fb5c78",
2848     "type": "success",
2849     "name": "success",
2850     "xml": "<outcome value='success'>\n",
2851     "comments": "",
2852     "outputs": 1,
2853     "x": 3742.837652206421,
2854     "y": 2000.6713070869446,
2855     "z": "816d5e60.eba45",
2856     "wires": [
2857       []
2858     ]
2859   },
2860   {
2861     "id": "dc754a4a.149ee8",
2862     "type": "failure",
2863     "name": "failure",
2864     "xml": "<outcome value='failure'>\n",
2865     "comments": "",
2866     "outputs": 1,
2867     "x": 3740.8373317718506,
2868     "y": 1956.6712975502014,
2869     "z": "816d5e60.eba45",
2870     "wires": [
2871       [
2872         "1b7c78ed.47ac47"
2873       ]
2874     ]
2875   },
2876   {
2877     "id": "1b7c78ed.47ac47",
2878     "type": "returnFailure",
2879     "name": "return failure",
2880     "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=\"Error executing sdwan spoke route underlay rest api\" />\n",
2881     "comments": "",
2882     "x": 3882.8380184173584,
2883     "y": 1954.671380519867,
2884     "z": "816d5e60.eba45",
2885     "wires": []
2886   },
2887   {
2888     "id": "abc725a.b5905d8",
2889     "type": "set",
2890     "name": "Add prop.spoke.route",
2891     "xml": "<set>\n<parameter name='prop.route.vpnId' value='`$prop.vpnId`' />\n<parameter name='prop.route.siteId' value='`$prop.spoke.siteId`' />\n<parameter name='prop.route.deviceId' value='`$prop.spoke.deviceId`' />\n<parameter name='prop.route.providerIpAddress' value='`$prop.spoke.providerIpAddress`' />\n<parameter name='prop.route.wanportId' value='`$prop.hub.wanPortId`' />                                                \n<parameter name='prop.route.ipAddress' value='`$prop.spoke.ipAddress`' />\n\n\n",
2892     "comments": "",
2893     "x": 3431.7014198303223,
2894     "y": 1975.368059873581,
2895     "z": "816d5e60.eba45",
2896     "wires": []
2897   },
2898   {
2899     "id": "4460a0d6.c4761",
2900     "type": "set",
2901     "name": "set  prop.underlay.routeIds",
2902     "xml": "<set>\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubSiteId' value='`$prop.hub.siteId`' />\n<!--parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].spokeSiteId' value='`$prop.spoke.siteId`' /-->\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubRouteId' value='`$underlayHubResp.success[0].id`' />\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].spokeRouteId' value='`$underlayspokeResp.success[0].id`' />\n\n\n\n",
2903     "comments": "",
2904     "x": 3442.6688232421875,
2905     "y": 2060.034790992737,
2906     "z": "816d5e60.eba45",
2907     "wires": []
2908   },
2909   {
2910     "id": "3d36ce09.d3a452",
2911     "type": "block",
2912     "name": "block atomic",
2913     "xml": "<block atomic=\"true\">\n",
2914     "atomic": "false",
2915     "comments": "",
2916     "outputs": 1,
2917     "x": 3132.003578186035,
2918     "y": 1977.5038175582886,
2919     "z": "816d5e60.eba45",
2920     "wires": [
2921       [
2922         "c33f2b8.8f859d8",
2923         "abc725a.b5905d8",
2924         "4460a0d6.c4761",
2925         "d88550f2.429ff",
2926         "cbad3e92.5f2c5",
2927         "f03bf85a.59ad68",
2928         "6591e05b.5ae5",
2929         "ab6e34c5.6a48d8"
2930       ]
2931     ]
2932   },
2933   {
2934     "id": "50a88f49.37ad4",
2935     "type": "block",
2936     "name": "block atomic",
2937     "xml": "<block atomic=\"true\">\n",
2938     "atomic": "false",
2939     "comments": "",
2940     "outputs": 1,
2941     "x": 3161.0035285949707,
2942     "y": 2434.504150390625,
2943     "z": "816d5e60.eba45",
2944     "wires": [
2945       [
2946         "ae46a29e.f97e3",
2947         "162bc63c.6a40ba",
2948         "32021f5a.688fc",
2949         "6c422db5.5ce744",
2950         "74f4468a.192018"
2951       ]
2952     ]
2953   },
2954   {
2955     "id": "464f548c.98a25c",
2956     "type": "outcome",
2957     "name": "DeactivateSDWANAttachmentInstance",
2958     "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
2959     "comments": "",
2960     "outputs": 1,
2961     "x": 2909.5035858154297,
2962     "y": 2428.5039615631104,
2963     "z": "816d5e60.eba45",
2964     "wires": [
2965       [
2966         "50a88f49.37ad4"
2967       ]
2968     ]
2969   },
2970   {
2971     "id": "6591e05b.5ae5",
2972     "type": "set",
2973     "name": "Add sites to list and update length",
2974     "xml": "<set>\n<parameter name='prop.provision.siteIds[$prop.provision.siteIds_length].hubSiteName' value='`$prop.hub.siteName`' />\n<parameter name='prop.provision.siteIds[$prop.provision.siteIds_length].hubSiteId' value='`$prop.hub.siteId`' />\n<parameter name='prop.provision.siteIds[$prop.provision.siteIds_length].spokeSiteName' value='`$prop.spoke.siteName`' />\n<parameter name='prop.provision.siteIds[$prop.provision.siteIds_length].spokeSiteId' value='`$prop.spoke.siteId`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
2975     "comments": "",
2976     "x": 3447.035110473633,
2977     "y": 2185.035671234131,
2978     "z": "816d5e60.eba45",
2979     "wires": []
2980   },
2981   {
2982     "id": "d686d76a.66e9d8",
2983     "type": "comment",
2984     "name": "save hubsiteIds and spoke siteIds for provision",
2985     "info": "",
2986     "comments": "",
2987     "x": 3479.035484313965,
2988     "y": 2141.035545349121,
2989     "z": "816d5e60.eba45",
2990     "wires": []
2991   },
2992   {
2993     "id": "8488fc33.1f86c",
2994     "type": "switchNode",
2995     "name": "switch name",
2996     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'name'`\">\n",
2997     "comments": "",
2998     "outputs": 1,
2999     "x": 3446.034912109375,
3000     "y": 484.03515625,
3001     "z": "816d5e60.eba45",
3002     "wires": [
3003       [
3004         "a468bfef.f0d69"
3005       ]
3006     ]
3007   },
3008   {
3009     "id": "a468bfef.f0d69",
3010     "type": "outcomeTrue",
3011     "name": "true",
3012     "xml": "<outcome value='true'>\n",
3013     "comments": "",
3014     "outputs": 1,
3015     "x": 3646.0346870422363,
3016     "y": 484.0353183746338,
3017     "z": "816d5e60.eba45",
3018     "wires": [
3019       [
3020         "861bdc8.697e72"
3021       ]
3022     ]
3023   },
3024   {
3025     "id": "861bdc8.697e72",
3026     "type": "set",
3027     "name": "set prop.spoke.siteName",
3028     "xml": "<set>\n<parameter name='prop.spoke.siteName' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].value`' />\n",
3029     "comments": "",
3030     "x": 3834.0354919433594,
3031     "y": 482.63593196868896,
3032     "z": "816d5e60.eba45",
3033     "wires": []
3034   },
3035   {
3036     "id": "25ec0b7b.fede14",
3037     "type": "switchNode",
3038     "name": "switch name",
3039     "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'name'`\">\n",
3040     "comments": "",
3041     "outputs": 1,
3042     "x": 3148.0349349975586,
3043     "y": 1783.5350151062012,
3044     "z": "816d5e60.eba45",
3045     "wires": [
3046       [
3047         "38461c3f.4e0404"
3048       ]
3049     ]
3050   },
3051   {
3052     "id": "38461c3f.4e0404",
3053     "type": "outcomeTrue",
3054     "name": "true",
3055     "xml": "<outcome value='true'>\n",
3056     "comments": "",
3057     "outputs": 1,
3058     "x": 3299.0353050231934,
3059     "y": 1782.53519821167,
3060     "z": "816d5e60.eba45",
3061     "wires": [
3062       [
3063         "1ccd9e7.6905962"
3064       ]
3065     ]
3066   },
3067   {
3068     "id": "1ccd9e7.6905962",
3069     "type": "set",
3070     "name": "set prop.hub.siteName",
3071     "xml": "<set>\n<parameter name='prop.hub.siteName' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n",
3072     "comments": "",
3073     "x": 3471.035312652588,
3074     "y": 1780.1357669830322,
3075     "z": "816d5e60.eba45",
3076     "wires": []
3077   },
3078   {
3079     "id": "18ea4160.5b97af",
3080     "type": "set",
3081     "name": "set prop.provision.siteIds_length=0",
3082     "xml": "<set>\n<parameter name='prop.provision.siteIds_length' value='0' />\n\n\n\n",
3083     "comments": "",
3084     "x": 471.03517150878906,
3085     "y": 370.0351610183716,
3086     "z": "816d5e60.eba45",
3087     "wires": []
3088   },
3089   {
3090     "id": "2ccd4dc3.00e152",
3091     "type": "execute",
3092     "name": "execute RestApiCallNode site provision urls",
3093     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-site-provision.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/sites/provision-urls'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"provisionUrlRsp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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`\" />",
3094     "comments": "",
3095     "outputs": 1,
3096     "x": 823.0352020263672,
3097     "y": 802.0353775024414,
3098     "z": "816d5e60.eba45",
3099     "wires": [
3100       [
3101         "bbd8ad8.5648f5",
3102         "8ff338f4.67b7f8"
3103       ]
3104     ]
3105   },
3106   {
3107     "id": "8ff338f4.67b7f8",
3108     "type": "success",
3109     "name": "success",
3110     "xml": "<outcome value='success'>\n",
3111     "comments": "",
3112     "outputs": 1,
3113     "x": 1087.0354614257812,
3114     "y": 824.0354223251343,
3115     "z": "816d5e60.eba45",
3116     "wires": [
3117       []
3118     ]
3119   },
3120   {
3121     "id": "bbd8ad8.5648f5",
3122     "type": "failure",
3123     "name": "failure",
3124     "xml": "<outcome value='failure'>\n",
3125     "comments": "",
3126     "outputs": 1,
3127     "x": 1088.0352478027344,
3128     "y": 781.0353603363037,
3129     "z": "816d5e60.eba45",
3130     "wires": [
3131       [
3132         "bb20e181.d535d"
3133       ]
3134     ]
3135   },
3136   {
3137     "id": "bb20e181.d535d",
3138     "type": "returnFailure",
3139     "name": "return failure",
3140     "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=\"Error executing provision url rest api\" />\n",
3141     "comments": "",
3142     "x": 1267.0358047485352,
3143     "y": 779.0354115962982,
3144     "z": "816d5e60.eba45",
3145     "wires": []
3146   },
3147   {
3148     "id": "84666856.592818",
3149     "type": "for",
3150     "name": "for providx..prop.provision.siteIds[]",
3151     "xml": "<for index='providx' start='0' end='`$prop.provision.siteIds_length`' >\n",
3152     "comments": "",
3153     "outputs": 1,
3154     "x": 464.0352020263672,
3155     "y": 574.0352010726929,
3156     "z": "816d5e60.eba45",
3157     "wires": [
3158       [
3159         "e0c31833.56f938"
3160       ]
3161     ]
3162   },
3163   {
3164     "id": "e0c31833.56f938",
3165     "type": "block",
3166     "name": "block atmoic",
3167     "xml": "<block atomic=\"true\">\n",
3168     "atomic": "false",
3169     "comments": "",
3170     "outputs": 1,
3171     "x": 488.0352439880371,
3172     "y": 784.035174369812,
3173     "z": "816d5e60.eba45",
3174     "wires": [
3175       [
3176         "14ab7296.d70c4d",
3177         "2ccd4dc3.00e152",
3178         "28a5422.99608be"
3179       ]
3180     ]
3181   },
3182   {
3183     "id": "14ab7296.d70c4d",
3184     "type": "set",
3185     "name": "set prop.spoke.hubSiteId, spokeSiteId",
3186     "xml": "<set>\n<parameter name='prop.provision.hubSitename' value='`$prop.provision.siteIds[$providx].hubSiteName`' />\n<parameter name='prop.provision.spokeSitename' value='`$prop.provision.siteIds[$providx].spokeSiteName`' />\n<parameter name='prop.provision.hubspokesite[0]' value='`$prop.provision.siteIds[$providx].hubSiteId`' />\n<parameter name='prop.provision.hubspokesite[1]' value='`$prop.provision.siteIds[$providx].spokeSiteId`' />\n<parameter name='prop.provision.hubspokesite_length' value='2' />\n",
3187     "comments": "",
3188     "x": 799.0379028320312,
3189     "y": 660.6368894577026,
3190     "z": "816d5e60.eba45",
3191     "wires": []
3192   },
3193   {
3194     "id": "28a5422.99608be",
3195     "type": "record",
3196     "name": "record provision url response to the file",
3197     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`'/opt/opendaylight/current/data/log/' + 'HUB-' + $prop.provision.hubSitename + '-SPOKE-' + $prop.provision.spokeSitename + '-provisionUrl'`\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value='`$provisionUrlRsp.success[0].url`'/>\n\n",
3198     "comments": "",
3199     "outputs": 1,
3200     "x": 795.0352783203125,
3201     "y": 896.0352420806885,
3202     "z": "816d5e60.eba45",
3203     "wires": [
3204       []
3205     ]
3206   },
3207   {
3208     "id": "6e2c1efa.030fd",
3209     "type": "block",
3210     "name": "block atmoic",
3211     "xml": "<block atomic=\"true\">\n",
3212     "atomic": "false",
3213     "comments": "",
3214     "outputs": 1,
3215     "x": 2537.035388946533,
3216     "y": 1051.0352325439453,
3217     "z": "816d5e60.eba45",
3218     "wires": [
3219       [
3220         "d87f1462.94a148"
3221       ]
3222     ]
3223   },
3224   {
3225     "id": "e621a712.c02488",
3226     "type": "block",
3227     "name": "block atmoic",
3228     "xml": "<block atomic=\"true\">\n",
3229     "atomic": "false",
3230     "comments": "",
3231     "outputs": 1,
3232     "x": 2017.0350646972656,
3233     "y": 614.0352153778076,
3234     "z": "816d5e60.eba45",
3235     "wires": [
3236       [
3237         "4d2b2a60.5a15c4"
3238       ]
3239     ]
3240   },
3241   {
3242     "id": "f3cef2f6.2a146",
3243     "type": "block",
3244     "name": "block atmoic",
3245     "xml": "<block atomic=\"true\">\n",
3246     "atomic": "false",
3247     "comments": "",
3248     "outputs": 1,
3249     "x": 1961.0352325439453,
3250     "y": 705.0351238250732,
3251     "z": "816d5e60.eba45",
3252     "wires": [
3253       [
3254         "482a4c29.31cfa4",
3255         "3b80b5a9.9770ba"
3256       ]
3257     ]
3258   },
3259   {
3260     "id": "f03bf85a.59ad68",
3261     "type": "set",
3262     "name": "set prop.underlay.routeIds_length++",
3263     "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n\n\n\n\n",
3264     "comments": "",
3265     "x": 3472.004440307617,
3266     "y": 2096.2538681030273,
3267     "z": "816d5e60.eba45",
3268     "wires": []
3269   },
3270   {
3271     "id": "ab6e34c5.6a48d8",
3272     "type": "set",
3273     "name": "Update prop.provision.siteIds_length",
3274     "xml": "<set>\n<parameter name='prop.provision.siteIds_length' value='`$prop.provision.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",
3275     "comments": "",
3276     "x": 3455.504180908203,
3277     "y": 2220.253963470459,
3278     "z": "816d5e60.eba45",
3279     "wires": []
3280   },
3281   {
3282     "id": "3857554a.ced0aa",
3283     "type": "set",
3284     "name": "set prop.spoke.siteidx",
3285     "xml": "<set>\n<parameter name='prop.spoke.siteidx' value='`$i`' />\n\n",
3286     "comments": "",
3287     "x": 2905.7540969848633,
3288     "y": 450.0039348602295,
3289     "z": "816d5e60.eba45",
3290     "wires": []
3291   },
3292   {
3293     "id": "2ce54718.3d9808",
3294     "type": "set",
3295     "name": "set  underlay route ids to service data",
3296     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value=\"underlayRouteIds\" />\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$tmp.routeString`' />\n\n\n",
3297     "comments": "",
3298     "x": 1928.0045471191406,
3299     "y": 1937.0043048858643,
3300     "z": "816d5e60.eba45",
3301     "wires": []
3302   },
3303   {
3304     "id": "f80aa612.1d1cd8",
3305     "type": "set",
3306     "name": "set prop.underlay.routeIds_length=0",
3307     "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='0' />\n\n\n\n",
3308     "comments": "",
3309     "x": 476.0000305175781,
3310     "y": 322.0000190734863,
3311     "z": "816d5e60.eba45",
3312     "wires": []
3313   },
3314   {
3315     "id": "74f4468a.192018",
3316     "type": "for",
3317     "name": "for loop uidx - Get route Id from prop.underlay.routeIds",
3318     "xml": "<for index=\"uidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n    \n    \n",
3319     "comments": "",
3320     "outputs": 1,
3321     "x": 3516.6667861938477,
3322     "y": 2307.3333892822266,
3323     "z": "816d5e60.eba45",
3324     "wires": [
3325       [
3326         "2f560e9d.06e792"
3327       ]
3328     ]
3329   },
3330   {
3331     "id": "2f560e9d.06e792",
3332     "type": "block",
3333     "name": "block atomic",
3334     "xml": "<block atomic=\"true\">\n",
3335     "atomic": "false",
3336     "comments": "",
3337     "outputs": 1,
3338     "x": 3808.333480834961,
3339     "y": 2307.3333892822266,
3340     "z": "816d5e60.eba45",
3341     "wires": [
3342       [
3343         "dbb8a9cb.01e2a8"
3344       ]
3345     ]
3346   },
3347   {
3348     "id": "dbb8a9cb.01e2a8",
3349     "type": "switchNode",
3350     "name": "switch prop.hub.siteId",
3351     "xml": "<switch test=\"`$prop.underlay.routeIds[$uidx].hubSiteId == $prop.hub.siteId`\">\n",
3352     "comments": "",
3353     "outputs": 1,
3354     "x": 3997.33349609375,
3355     "y": 2307.3335523605347,
3356     "z": "816d5e60.eba45",
3357     "wires": [
3358       [
3359         "4aa46b8.0419394"
3360       ]
3361     ]
3362   },
3363   {
3364     "id": "4aa46b8.0419394",
3365     "type": "outcomeTrue",
3366     "name": "true",
3367     "xml": "<outcome value='true'>\n",
3368     "comments": "",
3369     "outputs": 1,
3370     "x": 4168.332931518555,
3371     "y": 2307.3335514068604,
3372     "z": "816d5e60.eba45",
3373     "wires": [
3374       [
3375         "74eb4369.b3544c"
3376       ]
3377     ]
3378   },
3379   {
3380     "id": "74eb4369.b3544c",
3381     "type": "block",
3382     "name": "block atomic",
3383     "xml": "<block atomic=\"true\">\n",
3384     "atomic": "false",
3385     "comments": "",
3386     "outputs": 1,
3387     "x": 4322.332931518555,
3388     "y": 2311.333559036255,
3389     "z": "816d5e60.eba45",
3390     "wires": [
3391       [
3392         "86900a6.74da6f8"
3393       ]
3394     ]
3395   },
3396   {
3397     "id": "86900a6.74da6f8",
3398     "type": "set",
3399     "name": "set prop.hubRouteId prop.spokeRouteId",
3400     "xml": "<set>\n<parameter name='prop.hubRouteId' value='`$prop.underlay.routeIds[$uidx].hubRouteId`' />\n<parameter name='prop.spokeRouteId' value='`$prop.underlay.routeIds[$uidx].spokeRouteId`' />\n",
3401     "comments": "",
3402     "x": 4408.332939147949,
3403     "y": 2383.333562850952,
3404     "z": "816d5e60.eba45",
3405     "wires": []
3406   },
3407   {
3408     "id": "4d409006.b4615",
3409     "type": "switchNode",
3410     "name": "switch underlayRouteIds",
3411     "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'underlayRouteIds'`\">\n",
3412     "comments": "",
3413     "outputs": 1,
3414     "x": 3451,
3415     "y": 588.6666259765625,
3416     "z": "816d5e60.eba45",
3417     "wires": [
3418       [
3419         "c14c6f3d.397e6"
3420       ]
3421     ]
3422   },
3423   {
3424     "id": "c14c6f3d.397e6",
3425     "type": "outcomeTrue",
3426     "name": "true",
3427     "xml": "<outcome value='true'>\n",
3428     "comments": "",
3429     "outputs": 1,
3430     "x": 3650.9994773864746,
3431     "y": 576.6667404174805,
3432     "z": "816d5e60.eba45",
3433     "wires": [
3434       [
3435         "b91a3e00.56049"
3436       ]
3437     ]
3438   },
3439   {
3440     "id": "e6b57715.d86fd8",
3441     "type": "set",
3442     "name": "set prop.underlay.routeIds",
3443     "xml": "<set>\n<parameter name='prop.underlay.routeIdsString' value='`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].value`' />\n",
3444     "comments": "",
3445     "x": 4022.000877380371,
3446     "y": 576.2674503326416,
3447     "z": "816d5e60.eba45",
3448     "wires": []
3449   },
3450   {
3451     "id": "7fba3a52.cfca64",
3452     "type": "switchNode",
3453     "name": "switch request-action",
3454     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
3455     "comments": "",
3456     "outputs": 1,
3457     "x": 1138.0002899169922,
3458     "y": 2028.333535194397,
3459     "z": "816d5e60.eba45",
3460     "wires": [
3461       [
3462         "6d3232d8.e0205c",
3463         "394f9ac2.7c54d6"
3464       ]
3465     ]
3466   },
3467   {
3468     "id": "6d3232d8.e0205c",
3469     "type": "outcome",
3470     "name": "ActivateSDWANAttachmentInstance",
3471     "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
3472     "comments": "",
3473     "outputs": 1,
3474     "x": 1402.0003356933594,
3475     "y": 1983.333532333374,
3476     "z": "816d5e60.eba45",
3477     "wires": [
3478       [
3479         "cc4350b5.e04f4"
3480       ]
3481     ]
3482   },
3483   {
3484     "id": "cc4350b5.e04f4",
3485     "type": "block",
3486     "name": "block atomic",
3487     "xml": "<block atomic=\"true\">\n",
3488     "atomic": "false",
3489     "comments": "",
3490     "outputs": 1,
3491     "x": 1643.9728469848633,
3492     "y": 1979.8022832870483,
3493     "z": "816d5e60.eba45",
3494     "wires": [
3495       [
3496         "2ce54718.3d9808",
3497         "c043509c.599d6",
3498         "af0af852.8614c8",
3499         "879d0a95.c86bf8"
3500       ]
3501     ]
3502   },
3503   {
3504     "id": "a489ec70.35a57",
3505     "type": "block",
3506     "name": "block atomic",
3507     "xml": "<block atomic=\"true\">\n",
3508     "atomic": "false",
3509     "comments": "",
3510     "outputs": 1,
3511     "x": 1647.9728355407715,
3512     "y": 2063.8024520874023,
3513     "z": "816d5e60.eba45",
3514     "wires": [
3515       [
3516         "f104a03c.3d9ea"
3517       ]
3518     ]
3519   },
3520   {
3521     "id": "394f9ac2.7c54d6",
3522     "type": "outcome",
3523     "name": "DeactivateSDWANAttachmentInstance",
3524     "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
3525     "comments": "",
3526     "outputs": 1,
3527     "x": 1399.4729766845703,
3528     "y": 2065.8022890090942,
3529     "z": "816d5e60.eba45",
3530     "wires": [
3531       [
3532         "a489ec70.35a57"
3533       ]
3534     ]
3535   },
3536   {
3537     "id": "f104a03c.3d9ea",
3538     "type": "set",
3539     "name": "set input parameter length -1",
3540     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length - 1`' />\n\n\n\n\n",
3541     "comments": "",
3542     "x": 1876.6665344238281,
3543     "y": 2062.33353805542,
3544     "z": "816d5e60.eba45",
3545     "wires": []
3546   },
3547   {
3548     "id": "f8e23d7f.b3d02",
3549     "type": "comment",
3550     "name": "Get route routes IDs",
3551     "info": "",
3552     "comments": "",
3553     "x": 3416.333251953125,
3554     "y": 2268.6666259765625,
3555     "z": "816d5e60.eba45",
3556     "wires": []
3557   },
3558   {
3559     "id": "c043509c.599d6",
3560     "type": "set",
3561     "name": "set  underlay route ids to service data",
3562     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$prop.spoke.siteidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n\n\n\n\n",
3563     "comments": "",
3564     "x": 1917.333480834961,
3565     "y": 2011.666579246521,
3566     "z": "816d5e60.eba45",
3567     "wires": []
3568   },
3569   {
3570     "id": "af0af852.8614c8",
3571     "type": "for",
3572     "name": "for jidx paramidx - Get topology from servicedata",
3573     "xml": "<for index=\"jidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n    \n    \n",
3574     "comments": "",
3575     "outputs": 1,
3576     "x": 2006.3334045410156,
3577     "y": 1558.333351135254,
3578     "z": "816d5e60.eba45",
3579     "wires": [
3580       [
3581         "96c0f1e3.46564"
3582       ]
3583     ]
3584   },
3585   {
3586     "id": "71e83fcd.3926a",
3587     "type": "execute",
3588     "name": "execute concat",
3589     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$tmp.concat`'/>\n    <parameter name=\"outputPath\" value=\"tmp.concat1\"/>\n    <parameter name=\"target\" value='`$prop.underlay.routeIds[$jidx].hubRouteId`'/>\n\n\n",
3590     "comments": "",
3591     "outputs": 1,
3592     "x": 2190.333740234375,
3593     "y": 1692.0005540847778,
3594     "z": "816d5e60.eba45",
3595     "wires": [
3596       []
3597     ]
3598   },
3599   {
3600     "id": "5b1d10b7.e85ce",
3601     "type": "execute",
3602     "name": "execute concat",
3603     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$prop.underlay.routeIds[$jidx].hubSiteId`'/>\n    <parameter name=\"outputPath\" value=\"tmp.concat\"/>\n    <parameter name=\"target\" value=\",\"/>\n\n\n",
3604     "comments": "",
3605     "outputs": 1,
3606     "x": 2200.3337326049805,
3607     "y": 1644.6668920516968,
3608     "z": "816d5e60.eba45",
3609     "wires": [
3610       []
3611     ]
3612   },
3613   {
3614     "id": "96c0f1e3.46564",
3615     "type": "block",
3616     "name": "block atomic",
3617     "xml": "<block atomic=\"true\">\n",
3618     "atomic": "false",
3619     "comments": "",
3620     "outputs": 1,
3621     "x": 1913.333423614502,
3622     "y": 1743.6666812896729,
3623     "z": "816d5e60.eba45",
3624     "wires": [
3625       [
3626         "5b1d10b7.e85ce",
3627         "71e83fcd.3926a",
3628         "4f918e1e.65c27",
3629         "743189f.b107678",
3630         "a740f981.130cb8",
3631         "7f673568.55d36c"
3632       ]
3633     ]
3634   },
3635   {
3636     "id": "4f918e1e.65c27",
3637     "type": "execute",
3638     "name": "execute concat",
3639     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$tmp.concat1`'/>\n    <parameter name=\"outputPath\" value=\"tmp.concat2\"/>\n    <parameter name=\"target\" value=\",\"/>\n\n\n",
3640     "comments": "",
3641     "outputs": 1,
3642     "x": 2197.3334426879883,
3643     "y": 1731.6667852401733,
3644     "z": "816d5e60.eba45",
3645     "wires": [
3646       []
3647     ]
3648   },
3649   {
3650     "id": "743189f.b107678",
3651     "type": "execute",
3652     "name": "execute concat",
3653     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$tmp.concat2`'/>\n    <parameter name=\"outputPath\" value=\"tmp.concat3\"/>\n    <parameter name=\"target\" value='`$prop.underlay.routeIds[$jidx].spokeRouteId`'/>\n\n\n",
3654     "comments": "",
3655     "outputs": 1,
3656     "x": 2197.3334426879883,
3657     "y": 1767.6667852401733,
3658     "z": "816d5e60.eba45",
3659     "wires": [
3660       []
3661     ]
3662   },
3663   {
3664     "id": "a740f981.130cb8",
3665     "type": "execute",
3666     "name": "execute concat",
3667     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$tmp.concat3`'/>\n    <parameter name=\"outputPath\" value=\"tmp.concat4\"/>\n    <parameter name=\"target\" value=\" | \"/>\n\n\n",
3668     "comments": "",
3669     "outputs": 1,
3670     "x": 2190.3334426879883,
3671     "y": 1808.0001592636108,
3672     "z": "816d5e60.eba45",
3673     "wires": [
3674       []
3675     ]
3676   },
3677   {
3678     "id": "7f673568.55d36c",
3679     "type": "execute",
3680     "name": "execute concat",
3681     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$tmp.routeString`'/>\n    <parameter name=\"outputPath\" value=\"tmp.routeString\"/>\n    <parameter name=\"target\" value='`$tmp.concat4`'/>\n\n\n",
3682     "comments": "",
3683     "outputs": 1,
3684     "x": 2193.333381652832,
3685     "y": 1862.6666984558105,
3686     "z": "816d5e60.eba45",
3687     "wires": [
3688       []
3689     ]
3690   },
3691   {
3692     "id": "879d0a95.c86bf8",
3693     "type": "set",
3694     "name": "Set tmp.routeString",
3695     "xml": "<set>\n<parameter name='tmp.routeString' value=\"\" />\n\n",
3696     "comments": "",
3697     "x": 1910.3334045410156,
3698     "y": 1499.6666822433472,
3699     "z": "816d5e60.eba45",
3700     "wires": []
3701   },
3702   {
3703     "id": "b91a3e00.56049",
3704     "type": "block",
3705     "name": "block atomic",
3706     "xml": "<block atomic=\"true\">\n",
3707     "atomic": "false",
3708     "comments": "",
3709     "outputs": 1,
3710     "x": 3799.0002250671387,
3711     "y": 623.0000381469727,
3712     "z": "816d5e60.eba45",
3713     "wires": [
3714       [
3715         "e6b57715.d86fd8",
3716         "4cfad752.b82ab8"
3717       ]
3718     ]
3719   },
3720   {
3721     "id": "4cfad752.b82ab8",
3722     "type": "execute",
3723     "name": "execute split |",
3724     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.underlay.routeIdsString`'/>\n<parameter name=\"regex\" value=\" | \"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.underlay.routeIdsValue\"/>\n",
3725     "comments": "",
3726     "outputs": 1,
3727     "x": 3977.0002365112305,
3728     "y": 643.0000381469727,
3729     "z": "816d5e60.eba45",
3730     "wires": [
3731       [
3732         "18dab504.682e9b",
3733         "e6713c9a.ccf4e"
3734       ]
3735     ]
3736   },
3737   {
3738     "id": "e6713c9a.ccf4e",
3739     "type": "failure",
3740     "name": "success",
3741     "xml": "<outcome value='success'>\n",
3742     "comments": "",
3743     "outputs": 1,
3744     "x": 4154.0002517700195,
3745     "y": 624.0000371932983,
3746     "z": "816d5e60.eba45",
3747     "wires": [
3748       [
3749         "f6d503b7.ca422"
3750       ]
3751     ]
3752   },
3753   {
3754     "id": "18dab504.682e9b",
3755     "type": "failure",
3756     "name": "failure",
3757     "xml": "<outcome value='failure'>\n",
3758     "comments": "",
3759     "outputs": 1,
3760     "x": 4143.0002517700195,
3761     "y": 672.000039100647,
3762     "z": "816d5e60.eba45",
3763     "wires": [
3764       [
3765         "24d2d870.cadd68"
3766       ]
3767     ]
3768   },
3769   {
3770     "id": "a99b2248.b5ad4",
3771     "type": "set",
3772     "name": "set ipAddress prefixLength",
3773     "xml": "<set>\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubSiteId' value='`$prop.underlay.routeIdsValues[0]`' />\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].hubRouteId' value='`$prop.underlay.routeIdsValues[1]`' />\n<parameter name='prop.underlay.routeIds[$prop.underlay.routeIds_length].spokeRouteId' value='`$prop.underlay.routeIdsValues[2]`' />",
3774     "comments": "",
3775     "x": 5340.001117706299,
3776     "y": 558.0002794265747,
3777     "z": "816d5e60.eba45",
3778     "wires": []
3779   },
3780   {
3781     "id": "24d2d870.cadd68",
3782     "type": "block",
3783     "name": "block",
3784     "xml": "<block>\n",
3785     "atomic": "false",
3786     "comments": "",
3787     "outputs": 1,
3788     "x": 4273.000255584717,
3789     "y": 672.000039100647,
3790     "z": "816d5e60.eba45",
3791     "wires": [
3792       []
3793     ]
3794   },
3795   {
3796     "id": "f6d503b7.ca422",
3797     "type": "for",
3798     "name": "for loop ridx ",
3799     "xml": "<for index=\"ridx\" start=\"0\" end=\"`$prop.underlay.routeIdsValue_length`\">\n    \n    \n",
3800     "comments": "",
3801     "outputs": 1,
3802     "x": 4299.999938964844,
3803     "y": 622.0000371932983,
3804     "z": "816d5e60.eba45",
3805     "wires": [
3806       [
3807         "d316c9fd.2bfac8"
3808       ]
3809     ]
3810   },
3811   {
3812     "id": "d316c9fd.2bfac8",
3813     "type": "block",
3814     "name": "block atomic",
3815     "xml": "<block atomic=\"true\">\n",
3816     "atomic": "false",
3817     "comments": "",
3818     "outputs": 1,
3819     "x": 4478.332950592041,
3820     "y": 619.0000381469727,
3821     "z": "816d5e60.eba45",
3822     "wires": [
3823       [
3824         "cc212d5d.4ecc7"
3825       ]
3826     ]
3827   },
3828   {
3829     "id": "cc212d5d.4ecc7",
3830     "type": "execute",
3831     "name": "execute split ,",
3832     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.underlay.routeIdsValue[$ridx]`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.underlay.routeIdsValues\"/>\n",
3833     "comments": "",
3834     "outputs": 1,
3835     "x": 4653.332962036133,
3836     "y": 618.000036239624,
3837     "z": "816d5e60.eba45",
3838     "wires": [
3839       [
3840         "a41a70c9.992e7",
3841         "4e196c9a.1ec4e4"
3842       ]
3843     ]
3844   },
3845   {
3846     "id": "a41a70c9.992e7",
3847     "type": "failure",
3848     "name": "success",
3849     "xml": "<outcome value='success'>\n",
3850     "comments": "",
3851     "outputs": 1,
3852     "x": 4810.33296585083,
3853     "y": 595.0000438690186,
3854     "z": "816d5e60.eba45",
3855     "wires": [
3856       [
3857         "29342783.705ee8"
3858       ]
3859     ]
3860   },
3861   {
3862     "id": "4e196c9a.1ec4e4",
3863     "type": "failure",
3864     "name": "failure",
3865     "xml": "<outcome value='failure'>\n",
3866     "comments": "",
3867     "outputs": 1,
3868     "x": 4799.33296585083,
3869     "y": 643.0000457763672,
3870     "z": "816d5e60.eba45",
3871     "wires": [
3872       [
3873         "31dadcd0.9c88f4"
3874       ]
3875     ]
3876   },
3877   {
3878     "id": "31dadcd0.9c88f4",
3879     "type": "block",
3880     "name": "block",
3881     "xml": "<block>\n",
3882     "atomic": "false",
3883     "comments": "",
3884     "outputs": 1,
3885     "x": 4929.332969665527,
3886     "y": 643.0000457763672,
3887     "z": "816d5e60.eba45",
3888     "wires": [
3889       []
3890     ]
3891   },
3892   {
3893     "id": "c309d201.f689a",
3894     "type": "block",
3895     "name": "block atomic",
3896     "xml": "<block atomic=\"true\">\n",
3897     "atomic": "false",
3898     "comments": "",
3899     "outputs": 1,
3900     "x": 5132.665496826172,
3901     "y": 574.0001978874207,
3902     "z": "816d5e60.eba45",
3903     "wires": [
3904       [
3905         "a99b2248.b5ad4",
3906         "d11539fc.77a698"
3907       ]
3908     ]
3909   },
3910   {
3911     "id": "d11539fc.77a698",
3912     "type": "set",
3913     "name": "set ipAddress prefixLength",
3914     "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n",
3915     "comments": "",
3916     "x": 5332.333156585693,
3917     "y": 600.000075340271,
3918     "z": "816d5e60.eba45",
3919     "wires": []
3920   },
3921   {
3922     "id": "29342783.705ee8",
3923     "type": "switchNode",
3924     "name": "switch prop.underlay.routeIdsValues_length",
3925     "xml": "<switch test='`$prop.underlay.routeIdsValues_length`'>\n",
3926     "comments": "",
3927     "outputs": 1,
3928     "x": 5008.667121887207,
3929     "y": 476.0000686645508,
3930     "z": "816d5e60.eba45",
3931     "wires": [
3932       [
3933         "4afb066.ff7c6f8",
3934         "6e26a8d2.50c7d8"
3935       ]
3936     ]
3937   },
3938   {
3939     "id": "4afb066.ff7c6f8",
3940     "type": "outcome",
3941     "name": "3",
3942     "xml": "<outcome value='3'>\n",
3943     "comments": "",
3944     "outputs": 1,
3945     "x": 5243.636054992676,
3946     "y": 512.9687957763672,
3947     "z": "816d5e60.eba45",
3948     "wires": [
3949       [
3950         "c309d201.f689a"
3951       ]
3952     ]
3953   },
3954   {
3955     "id": "6e26a8d2.50c7d8",
3956     "type": "other",
3957     "name": "other",
3958     "xml": "<outcome value='Other'>\n",
3959     "comments": "",
3960     "outputs": 1,
3961     "x": 5260.666980743408,
3962     "y": 395.00000953674316,
3963     "z": "816d5e60.eba45",
3964     "wires": [
3965       [
3966         "cde0413a.7980f"
3967       ]
3968     ]
3969   },
3970   {
3971     "id": "cde0413a.7980f",
3972     "type": "block",
3973     "name": "block",
3974     "xml": "<block>\n",
3975     "atomic": "false",
3976     "comments": "",
3977     "outputs": 1,
3978     "x": 5421.66650390625,
3979     "y": 435,
3980     "z": "816d5e60.eba45",
3981     "wires": [
3982       []
3983     ]
3984   },
3985   {
3986     "id": "61955a75.34d004",
3987     "type": "returnFailure",
3988     "name": "return failure",
3989     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
3990     "comments": "",
3991     "x": 2901.006446838379,
3992     "y": 1008.3067564964294,
3993     "z": "816d5e60.eba45",
3994     "wires": []
3995   },
3996   {
3997     "id": "5e3a3525.ed601c",
3998     "type": "block",
3999     "name": "block",
4000     "xml": "<block>\n",
4001     "atomic": "false",
4002     "comments": "",
4003     "outputs": 1,
4004     "x": 2887.0059547424316,
4005     "y": 956.9731774330139,
4006     "z": "816d5e60.eba45",
4007     "wires": [
4008       []
4009     ]
4010   }
4011 ]