3 "id": "8722df6b.da333",
17 "id": "5f0a72e7.8810fc",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 234.2856903076172,
26 "y": 108.23810768127441,
27 "z": "afa42c56.2fe06",
35 "id": "a6501208.be07a",
37 "name": "method sdwan-wanport-vnf-topology-operation-underlay",
38 "xml": "<method rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync'>\n",
41 "x": 237.42861938476562,
42 "y": 193.00003147125244,
43 "z": "afa42c56.2fe06",
51 "id": "fbe9ed1f.31b14",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 169.66668701171875,
58 "y": 301.66673278808594,
59 "z": "afa42c56.2fe06",
71 "id": "ba308345.6a0be",
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",
77 "x": 604.000431060791,
78 "y": 440.6668539047241,
79 "z": "afa42c56.2fe06",
87 "id": "2cdd7d19.2083a2",
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",
92 "x": 1394.0013427734375,
93 "y": 129.9687786102295,
94 "z": "afa42c56.2fe06",
98 "id": "f2739d06.3f82a",
100 "name": "Query MDSAL for AR",
103 "x": 1719.3340148925781,
104 "y": 153.96864795684814,
105 "z": "afa42c56.2fe06",
109 "id": "4600defb.d9dc1",
111 "name": "Query MDSAL to get parent service based on service instance id from AR",
114 "x": 2189.334873199463,
115 "y": 172.96862697601318,
116 "z": "afa42c56.2fe06",
120 "id": "2398fd5d.dbac12",
123 "xml": "<outcome value='success'>\n",
126 "x": 1968.66841506958,
127 "y": 208.63526725769043,
128 "z": "afa42c56.2fe06",
136 "id": "179e1db5.4a8f02",
138 "name": "block: atomic",
139 "xml": "<block atomic=\"true\">\n",
143 "x": 2123.668254852295,
144 "y": 208.13510036468506,
145 "z": "afa42c56.2fe06",
153 "id": "f8dd83a.151c88",
156 "xml": "<outcome value='1'>\n",
159 "x": 2447.3587913513184,
160 "y": 204.75424098968506,
161 "z": "afa42c56.2fe06",
169 "id": "7900e8ec.0ba228",
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",
174 "x": 2593.1275672912598,
175 "y": 244.20122909545898,
176 "z": "afa42c56.2fe06",
180 "id": "7edde1df.f81a4",
183 "xml": "<outcome value='Other'>\n",
186 "x": 1961.5201416015625,
187 "y": 255.70127391815186,
188 "z": "afa42c56.2fe06",
196 "id": "ae127aa8.bf8958",
198 "name": "block: atomic",
199 "xml": "<block atomic=\"true\">\n",
203 "x": 2111.5199851989746,
204 "y": 256.36782932281494,
205 "z": "afa42c56.2fe06",
213 "id": "735fee8b.f10fd",
216 "xml": "<outcome value='Other'>\n",
219 "x": 2435.6867446899414,
220 "y": 242.03460121154785,
221 "z": "afa42c56.2fe06",
229 "id": "35d0f2e8.ed82ae",
230 "type": "switchNode",
231 "name": "switch cr length",
232 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
235 "x": 2287.668430328369,
236 "y": 208.6352834701538,
237 "z": "afa42c56.2fe06",
246 "id": "99f51e24.95bbd",
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",
251 "x": 2843.0020294189453,
252 "y": 205.63526439666748,
253 "z": "afa42c56.2fe06",
257 "id": "2218a177.4e456e",
259 "name": "block: atomic",
260 "xml": "<block atomic='true'>\n",
264 "x": 2597.4778213500977,
265 "y": 204.80180072784424,
266 "z": "afa42c56.2fe06",
275 "id": "c86b6674.f9da58",
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",
280 "x": 2279.001438140869,
281 "y": 254.63520526885986,
282 "z": "afa42c56.2fe06",
286 "id": "3ba72ba0.13a9f4",
289 "xml": "<outcome value='success'>\n",
292 "x": 2066.303554534912,
293 "y": 526.7709312438965,
294 "z": "afa42c56.2fe06",
302 "id": "b947c854.e35438",
305 "xml": "<outcome value='Other'>\n",
308 "x": 2058.15535736084,
309 "y": 561.8370161056519,
310 "z": "afa42c56.2fe06",
318 "id": "5f7ffb48.00ef54",
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",
323 "x": 2204.304130554199,
324 "y": 562.1045122146606,
325 "z": "afa42c56.2fe06",
329 "id": "3c18f953.7698e6",
336 "x": 2186.3038024902344,
337 "y": 526.771014213562,
338 "z": "afa42c56.2fe06",
344 "id": "9ef76182.7b173",
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",
350 "x": 1749.6683502197266,
351 "y": 626.3028893470764,
352 "z": "afa42c56.2fe06",
360 "id": "348ba1e1.19e85e",
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",
366 "x": 2279.3349838256836,
367 "y": 595.3028907775879,
368 "z": "afa42c56.2fe06",
376 "id": "27c81bce.91e324",
377 "type": "outcomeTrue",
379 "xml": "<outcome value='true'>\n",
382 "x": 2531.334518432617,
383 "y": 596.3028283119202,
384 "z": "afa42c56.2fe06",
392 "id": "917509ae.cf1bf8",
394 "name": "set tmp.pnidx ",
395 "xml": "<set>\n<parameter name='tmp.pnidx' value='`$pnidx`' />\n\n",
397 "x": 2687.3342056274414,
398 "y": 596.3028283119202,
399 "z": "afa42c56.2fe06",
403 "id": "1fd45985.393f26",
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",
409 "x": 1681.3351593017578,
410 "y": 711.3025188446045,
411 "z": "afa42c56.2fe06",
419 "id": "8d7971fd.c23e3",
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",
425 "x": 2133.335250854492,
426 "y": 690.3024244308472,
427 "z": "afa42c56.2fe06",
435 "id": "e336f6e8.a1adc8",
436 "type": "outcomeTrue",
438 "xml": "<outcome value='true'>\n",
441 "x": 2284.335262298584,
442 "y": 688.3024663925171,
443 "z": "afa42c56.2fe06",
451 "id": "f2813d3e.d5ec3",
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",
456 "x": 2425.334991455078,
457 "y": 687.9024000167847,
458 "z": "afa42c56.2fe06",
462 "id": "4a7f65c3.11a50c",
463 "type": "switchNode",
464 "name": "switch tmp.pnidx ",
465 "xml": "<switch test=\"`$tmp.pnidx`\">\n\n",
468 "x": 1652.334976196289,
469 "y": 670.9690914154053,
470 "z": "afa42c56.2fe06",
478 "id": "42c35e07.6414a",
481 "xml": "<outcome value=''>\n",
484 "x": 1807.7636489868164,
485 "y": 669.5404710769653,
486 "z": "afa42c56.2fe06",
494 "id": "79c31704.e1ea48",
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",
499 "x": 1948.1922721862793,
500 "y": 670.6835603713989,
501 "z": "afa42c56.2fe06",
505 "id": "d058b4fc.a3d908",
506 "type": "switchNode",
507 "name": "switch topology hub-spoke",
508 "xml": "<switch test=\"`$prop.topology == 'hub-spoke'`\">\n",
511 "x": 1560.3348426818848,
512 "y": 773.3023405075073,
513 "z": "afa42c56.2fe06",
522 "id": "80132a76.17bcc8",
523 "type": "outcomeTrue",
525 "xml": "<outcome value='true'>\n",
528 "x": 1750.334529876709,
529 "y": 798.3028259277344,
530 "z": "afa42c56.2fe06",
538 "id": "f4211b87.94b798",
539 "type": "outcomeTrue",
541 "xml": "<outcome value='false'>\n",
544 "x": 1744.3354568481445,
545 "y": 759.3024883270264,
546 "z": "afa42c56.2fe06",
554 "id": "f043ab05.abcb68",
561 "x": 1880.3354606628418,
562 "y": 759.3024272918701,
563 "z": "afa42c56.2fe06",
569 "id": "7df004fc.b974bc",
571 "name": "block: atomic",
572 "xml": "<block atomic=\"true\">\n",
576 "x": 1755.66748046875,
577 "y": 866.3020601272583,
578 "z": "afa42c56.2fe06",
586 "id": "f2cfe93e.7237b8",
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",
592 "x": 2163.000732421875,
593 "y": 866.6356782913208,
594 "z": "afa42c56.2fe06",
602 "id": "ffb0cb19.6bd078",
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",
607 "x": 2254.0018463134766,
608 "y": 944.6359763145447,
609 "z": "afa42c56.2fe06",
613 "id": "7d29151f.aff58c",
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",
619 "x": 2272.0025482177734,
620 "y": 1055.302767753601,
621 "z": "afa42c56.2fe06",
629 "id": "175772d7.f9d53d",
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",
635 "x": 2681.002658843994,
636 "y": 1058.3028545379639,
637 "z": "afa42c56.2fe06",
645 "id": "d13f62a9.a25bd",
646 "type": "outcomeTrue",
648 "xml": "<outcome value='true'>\n",
651 "x": 2822.0029907226562,
652 "y": 1057.3028535842896,
653 "z": "afa42c56.2fe06",
661 "id": "63261a78.0b6344",
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",
666 "x": 2963.0030250549316,
667 "y": 1058.9027452468872,
668 "z": "afa42c56.2fe06",
672 "id": "63613798.d70908",
675 "xml": "<outcome value='success'>\n",
678 "x": 2758.0020446777344,
679 "y": 961.969269990921,
680 "z": "afa42c56.2fe06",
688 "id": "9fe7ff8.35548",
691 "xml": "<outcome value='Other'>\n",
694 "x": 2754.8537673950195,
695 "y": 1016.0353531837463,
696 "z": "afa42c56.2fe06",
704 "id": "8ad9ee53.6aa87",
705 "type": "switchNode",
706 "name": "switch role hub",
707 "xml": "<switch test=\"`$prop.role == hub`\">\n",
710 "x": 2138.3351821899414,
711 "y": 1120.6358079910278,
712 "z": "afa42c56.2fe06",
721 "id": "890f782e.076f68",
728 "x": 2454.3345680236816,
729 "y": 1096.6354112625122,
730 "z": "afa42c56.2fe06",
736 "id": "aa2b8cd4.2f9ae",
739 "xml": "<outcome value='success'>\n",
742 "x": 2864.3042030334473,
743 "y": 1192.1045179367065,
744 "z": "afa42c56.2fe06",
752 "id": "1bed61f6.90e36e",
755 "xml": "<outcome value='Other'>\n",
758 "x": 2866.155773162842,
759 "y": 1252.170599937439,
760 "z": "afa42c56.2fe06",
768 "id": "151f6728.afe339",
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",
773 "x": 3010.304546356201,
774 "y": 1214.4380140304565,
775 "z": "afa42c56.2fe06",
779 "id": "4765f05a.45c5e",
786 "x": 2994.3042221069336,
787 "y": 1181.1046781539917,
788 "z": "afa42c56.2fe06",
794 "id": "f7f9e60d.d46178",
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",
799 "x": 2466.3356018066406,
800 "y": 1180.6360107660294,
801 "z": "afa42c56.2fe06",
805 "id": "f464743.4983e88",
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",
811 "x": 2510.0020751953125,
812 "y": 1302.6358003616333,
813 "z": "afa42c56.2fe06",
821 "id": "535fb492.abce2c",
823 "name": "block atmoic",
824 "xml": "<block atomic=\"true\">\n",
828 "x": 2856.6683959960938,
829 "y": 1292.6357765197754,
830 "z": "afa42c56.2fe06",
840 "id": "b26020e0.3a846",
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",
846 "x": 3118.668504714966,
847 "y": 1263.6367359161377,
848 "z": "afa42c56.2fe06",
856 "id": "dde2f6f9.3c1848",
857 "type": "switchNode",
858 "name": "switch tmp.portvidx ",
859 "xml": "<switch test=\"`$tmp.portvidx`\">\n\n",
862 "x": 2591.668212890625,
863 "y": 1347.3024454116821,
864 "z": "afa42c56.2fe06",
872 "id": "3d280456.864e3c",
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",
878 "x": 2516.6688232421875,
879 "y": 1502.6367044448853,
880 "z": "afa42c56.2fe06",
888 "id": "58f23c0f.4a7544",
891 "xml": "<outcome value=''>\n",
894 "x": 2752.0966777801514,
895 "y": 1346.8739652633667,
896 "z": "afa42c56.2fe06",
904 "id": "6637a392.65819c",
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",
909 "x": 2889.525634765625,
910 "y": 1347.0173768997192,
911 "z": "afa42c56.2fe06",
915 "id": "6b78409.f5b87c",
916 "type": "outcomeTrue",
918 "xml": "<outcome value='true'>\n",
921 "x": 3346.66819190979,
922 "y": 1261.636736869812,
923 "z": "afa42c56.2fe06",
931 "id": "3b6a88cf.f649b8",
933 "name": "block atomic",
934 "xml": "<block atomic=\"true\">\n",
938 "x": 2859.669807434082,
939 "y": 1505.6369543075562,
940 "z": "afa42c56.2fe06",
951 "id": "9eb62557.123aa8",
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",
957 "x": 3154.670757293701,
958 "y": 1444.6374912261963,
959 "z": "afa42c56.2fe06",
967 "id": "11f23b34.c014d5",
969 "name": "set tmp.portvidx ",
970 "xml": "<set>\n<parameter name='tmp.portvidx' value='`$arvidx`' />\n\n",
972 "x": 3501.667875289917,
973 "y": 1261.6367359161377,
974 "z": "afa42c56.2fe06",
978 "id": "a7e30f58.58c4",
979 "type": "outcomeTrue",
981 "xml": "<outcome value='true'>\n",
984 "x": 3347.6707725524902,
985 "y": 1444.63765335083,
986 "z": "afa42c56.2fe06",
994 "id": "9cf2c3d4.0b4b5",
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",
999 "x": 3565.6707801818848,
1000 "y": 1443.23823928833,
1001 "z": "afa42c56.2fe06",
1005 "id": "6f944994.65d2c8",
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",
1011 "x": 3116.003490447998,
1012 "y": 1478.6371002197266,
1013 "z": "afa42c56.2fe06",
1021 "id": "b31bd9b2.46c7d8",
1022 "type": "outcomeTrue",
1024 "xml": "<outcome value='true'>\n",
1027 "x": 3277.003818511963,
1028 "y": 1479.6371803283691,
1029 "z": "afa42c56.2fe06",
1037 "id": "d3357919.f54078",
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",
1042 "x": 3467.004280090332,
1043 "y": 1479.2374563217163,
1044 "z": "afa42c56.2fe06",
1048 "id": "2c43f3c.460060c",
1049 "type": "switchNode",
1050 "name": "switch prop.hub.transportNetworkName==prop.spoke.transportNetworkName",
1051 "xml": "<switch test=\"`$prop.hub.transportNetworkName == $prop.spoke.transportNetworkName`\">\n",
1054 "x": 2594.004150390625,
1055 "y": 1605.304440498352,
1056 "z": "afa42c56.2fe06",
1065 "id": "cf49239.d51bfe",
1066 "type": "outcomeTrue",
1068 "xml": "<outcome value='true'>\n",
1071 "x": 2940.0036811828613,
1072 "y": 1642.3045144081116,
1073 "z": "afa42c56.2fe06",
1081 "id": "c6577e7a.d8dfd",
1082 "type": "outcomeTrue",
1084 "xml": "<outcome value='false'>\n",
1087 "x": 2944.0041694641113,
1088 "y": 1577.3041467666626,
1089 "z": "afa42c56.2fe06",
1097 "id": "7523e16b.4849a",
1104 "x": 3084.0040969848633,
1105 "y": 1605.304271697998,
1106 "z": "afa42c56.2fe06",
1112 "id": "de6797a2.586c78",
1114 "name": "block atomic",
1115 "xml": "<block atomic=\"true\">\n",
1119 "x": 1905.0322265625,
1120 "y": 975.8333101272583,
1121 "z": "afa42c56.2fe06",
1133 "id": "524b783f.8c1128",
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 == 'vpn-id'`\">\n",
1139 "x": 2123.001266479492,
1140 "y": 734.6354351043701,
1141 "z": "afa42c56.2fe06",
1149 "id": "6c47f41b.3d3cac",
1150 "type": "outcomeTrue",
1152 "xml": "<outcome value='true'>\n",
1155 "x": 2267.001277923584,
1156 "y": 734.6354761123657,
1157 "z": "afa42c56.2fe06",
1165 "id": "9b1a7d07.58406",
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",
1170 "x": 2425.0009994506836,
1171 "y": 733.2354106903076,
1172 "z": "afa42c56.2fe06",
1176 "id": "c93e7e34.eb504",
1178 "name": "Set prop.hubTnpId",
1179 "xml": "<set>\n<parameter name='prop.hubTnpId' value='$prop.hub.wanPortId' />\n\n",
1181 "x": 2631.336555480957,
1182 "y": 1731.6363048553467,
1183 "z": "afa42c56.2fe06",
1187 "id": "33961398.8b885c",
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`\" />",
1193 "x": 3463.33624458313,
1194 "y": 2602.9708592891693,
1195 "z": "afa42c56.2fe06",
1204 "id": "a6852c79.79538",
1207 "xml": "<outcome value='success'>\n",
1210 "x": 3730.3361530303955,
1211 "y": 2630.970888853073,
1212 "z": "afa42c56.2fe06",
1218 "id": "54355641.66e388",
1221 "xml": "<outcome value='failure'>\n",
1224 "x": 3728.335832595825,
1225 "y": 2586.97087931633,
1226 "z": "afa42c56.2fe06",
1234 "id": "e784c17f.677b5",
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",
1239 "x": 3870.336519241333,
1240 "y": 2584.9709622859955,
1241 "z": "afa42c56.2fe06",
1245 "id": "45a08ea1.9e3d3",
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",
1250 "x": 3407.6696243286133,
1251 "y": 2559.637367248535,
1252 "z": "afa42c56.2fe06",
1256 "id": "5e2b5a00.fe4964",
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`\" />",
1262 "x": 3482.6696243286133,
1263 "y": 2701.637832403183,
1264 "z": "afa42c56.2fe06",
1273 "id": "6ef02e4e.06cc1",
1276 "xml": "<outcome value='success'>\n",
1279 "x": 3734.669771194458,
1280 "y": 2730.6381289958954,
1281 "z": "afa42c56.2fe06",
1287 "id": "e568918e.3bed",
1290 "xml": "<outcome value='failure'>\n",
1293 "x": 3732.6694507598877,
1294 "y": 2686.638119459152,
1295 "z": "afa42c56.2fe06",
1303 "id": "43fb9f64.6e794",
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",
1308 "x": 3874.6701374053955,
1309 "y": 2684.6382024288177,
1310 "z": "afa42c56.2fe06",
1314 "id": "5e2a4404.59208c",
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",
1320 "x": 3129.532081604004,
1321 "y": 1296.8336944580078,
1322 "z": "afa42c56.2fe06",
1330 "id": "85c67b27.be5eb8",
1331 "type": "switchNode",
1332 "name": "switch tmp.devicevidx ",
1333 "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
1336 "x": 2597.5316314697266,
1337 "y": 1389.4999265670776,
1338 "z": "afa42c56.2fe06",
1346 "id": "188473e9.fdf33c",
1349 "xml": "<outcome value=''>\n",
1352 "x": 2763.9600677490234,
1353 "y": 1389.0714597702026,
1354 "z": "afa42c56.2fe06",
1362 "id": "ec42dab0.d633d8",
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",
1367 "x": 2904.388999938965,
1368 "y": 1391.2144346237183,
1369 "z": "afa42c56.2fe06",
1373 "id": "355d1cb7.8466e4",
1374 "type": "outcomeTrue",
1376 "xml": "<outcome value='true'>\n",
1379 "x": 3357.531768798828,
1380 "y": 1294.8336954116821,
1381 "z": "afa42c56.2fe06",
1389 "id": "73270e6c.070f4",
1391 "name": "set tmp.devicevidx ",
1392 "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$arvidx`' />\n\n",
1394 "x": 3512.531452178955,
1395 "y": 1294.8336944580078,
1396 "z": "afa42c56.2fe06",
1400 "id": "858743af.15464",
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",
1406 "x": 3092.5321521759033,
1407 "y": 1330.833758354187,
1408 "z": "afa42c56.2fe06",
1416 "id": "1e774611.be647a",
1417 "type": "switchNode",
1418 "name": "switch tmp.sitevidx ",
1419 "xml": "<switch test=\"`$tmp.sitevidx`\">\n\n",
1422 "x": 2596.5315017700195,
1423 "y": 1427.4998044967651,
1424 "z": "afa42c56.2fe06",
1432 "id": "bc02814a.d7499",
1435 "xml": "<outcome value=''>\n",
1438 "x": 2756.959966659546,
1439 "y": 1427.0713243484497,
1440 "z": "afa42c56.2fe06",
1448 "id": "d392366e.9150d8",
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",
1453 "x": 2905.388921737671,
1454 "y": 1429.2143306732178,
1455 "z": "afa42c56.2fe06",
1459 "id": "f6939cb3.d0942",
1460 "type": "outcomeTrue",
1462 "xml": "<outcome value='true'>\n",
1465 "x": 3280.531717300415,
1466 "y": 1330.833924293518,
1467 "z": "afa42c56.2fe06",
1475 "id": "ab570b08.b1c7a8",
1477 "name": "set tmp.sitevidx ",
1478 "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
1480 "x": 3435.531400680542,
1481 "y": 1330.8339233398438,
1482 "z": "afa42c56.2fe06",
1486 "id": "37339d04.d0e692",
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",
1492 "x": 2728.5331497192383,
1493 "y": 1767.834059715271,
1494 "z": "afa42c56.2fe06",
1502 "id": "29161345.19c04c",
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",
1508 "x": 3189.5345039367676,
1509 "y": 1681.834927558899,
1510 "z": "afa42c56.2fe06",
1518 "id": "cded98bd.ccea58",
1519 "type": "outcomeTrue",
1521 "xml": "<outcome value='true'>\n",
1524 "x": 3340.5348777770996,
1525 "y": 1678.835171699524,
1526 "z": "afa42c56.2fe06",
1534 "id": "d9cc984d.9f9d28",
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",
1539 "x": 3515.535125732422,
1540 "y": 1678.4356966018677,
1541 "z": "afa42c56.2fe06",
1545 "id": "125c1fec.50ea4",
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",
1551 "x": 2703.0330352783203,
1552 "y": 1824.83407497406,
1553 "z": "afa42c56.2fe06",
1561 "id": "e6b24865.170e78",
1563 "name": "Add route src->dst, dst->src",
1566 "x": 2919.6687927246094,
1567 "y": 1872.6359510421753,
1568 "z": "afa42c56.2fe06",
1572 "id": "79cfeb5f.61b2e4",
1574 "name": "block atomic",
1575 "xml": "<block atomic=\"true\">\n",
1579 "x": 2141.334228515625,
1580 "y": 1252.968747138977,
1581 "z": "afa42c56.2fe06",
1595 "id": "18153066.3dcbc",
1597 "name": "block atmoic",
1598 "xml": "<block atomic=\"true\">\n",
1602 "x": 2396.333984375,
1603 "y": 1389.3021211624146,
1604 "z": "afa42c56.2fe06",
1614 "id": "c20a45c1.991ea8",
1616 "name": "block atomic",
1617 "xml": "<block atomic=\"true\">\n",
1621 "x": 2416.3350219726562,
1622 "y": 1761.635643005371,
1623 "z": "afa42c56.2fe06",
1634 "id": "b81eb9e0.1976f8",
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",
1640 "x": 3137.5319747924805,
1641 "y": 1515.8334050178528,
1642 "z": "afa42c56.2fe06",
1650 "id": "9a3783d0.0d525",
1651 "type": "outcomeTrue",
1653 "xml": "<outcome value='true'>\n",
1656 "x": 3313.532958984375,
1657 "y": 1515.8335275650024,
1658 "z": "afa42c56.2fe06",
1666 "id": "87437b42.24d3e8",
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",
1671 "x": 3515.5329971313477,
1672 "y": 1516.4334478378296,
1673 "z": "afa42c56.2fe06",
1677 "id": "3235095c.ee2c06",
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",
1683 "x": 3110.0320568084717,
1684 "y": 1553.333490371704,
1685 "z": "afa42c56.2fe06",
1693 "id": "901583b2.3d45c",
1694 "type": "outcomeTrue",
1696 "xml": "<outcome value='true'>\n",
1699 "x": 3314.0329971313477,
1700 "y": 1553.3334422111511,
1701 "z": "afa42c56.2fe06",
1709 "id": "3c3cbc3f.366104",
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",
1714 "x": 3509.033000946045,
1715 "y": 1552.9334177970886,
1716 "z": "afa42c56.2fe06",
1720 "id": "3208baf8.6aed86",
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",
1725 "x": 3417.533639907837,
1726 "y": 2670.3345935344696,
1727 "z": "afa42c56.2fe06",
1731 "id": "723ddf07.218d1",
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",
1736 "x": 366.3343048095703,
1737 "y": 1127.3343391418457,
1738 "z": "afa42c56.2fe06",
1742 "id": "428d17cf.9d4528",
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",
1748 "x": 1415.6672058105469,
1749 "y": 189.30183696746826,
1750 "z": "afa42c56.2fe06",
1756 "id": "31785cb6.7e6854",
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",
1762 "x": 1542.667236328125,
1763 "y": 237.3018274307251,
1764 "z": "afa42c56.2fe06",
1773 "id": "8a7f6cb5.ac077",
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",
1779 "x": 1767.0013885498047,
1780 "y": 571.3021411895752,
1781 "z": "afa42c56.2fe06",
1790 "id": "39b9e240.c55f5e",
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",
1796 "x": 1744.0010375976562,
1797 "y": 517.3020687103271,
1798 "z": "afa42c56.2fe06",
1804 "id": "e2c10566.d14818",
1806 "name": "full mesh do nothing",
1809 "x": 1578.667839050293,
1810 "y": 728.3021068572998,
1811 "z": "afa42c56.2fe06",
1815 "id": "3ed45cd4.e3df94",
1817 "name": "hub-spoke",
1820 "x": 2579.6672401428223,
1821 "y": 825.3019967079163,
1822 "z": "afa42c56.2fe06",
1826 "id": "9b080888.c9b298",
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",
1832 "x": 2252.0003929138184,
1833 "y": 976.3019919395447,
1834 "z": "afa42c56.2fe06",
1840 "id": "1ff59188.ff36ae",
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",
1846 "x": 2383.000473022461,
1847 "y": 1015.9686217308044,
1848 "z": "afa42c56.2fe06",
1857 "id": "a780d837.5bb548",
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",
1863 "x": 2433.504367828369,
1864 "y": 1217.3058919906616,
1865 "z": "afa42c56.2fe06",
1871 "id": "fcb5aaf7.a56738",
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",
1877 "x": 2549.5045013427734,
1878 "y": 1254.3057832717896,
1879 "z": "afa42c56.2fe06",
1888 "id": "472beb8.34ca814",
1889 "type": "outcomeTrue",
1891 "xml": "<outcome value='true'>\n",
1894 "x": 2313.5000648498535,
1895 "y": 1139.8018560409546,
1896 "z": "afa42c56.2fe06",
1904 "id": "6011fd41.335614",
1905 "type": "outcomeFalse",
1907 "xml": "<outcome value='false'>\n",
1910 "x": 2319.500312805176,
1911 "y": 1096.801947593689,
1912 "z": "afa42c56.2fe06",
1920 "id": "87284033.76d89",
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",
1926 "x": 2894.5008697509766,
1927 "y": 244.30177307128906,
1928 "z": "afa42c56.2fe06",
1936 "id": "73b90990.d19928",
1943 "x": 3153.5011825561523,
1944 "y": 243.3020887374878,
1945 "z": "afa42c56.2fe06",
1953 "id": "8cac5932.b8b208",
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",
1959 "x": 3302.501194000244,
1960 "y": 244.3019256591797,
1961 "z": "afa42c56.2fe06",
1969 "id": "9b7f20f8.db3b3",
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",
1974 "x": 3607.501754760742,
1975 "y": 241.90183353424072,
1976 "z": "afa42c56.2fe06",
1980 "id": "bf369f65.c443d",
1981 "type": "outcomeTrue",
1983 "xml": "<outcome value='true'>\n",
1986 "x": 3438.00101852417,
1987 "y": 241.30176544189453,
1988 "z": "afa42c56.2fe06",
1996 "id": "8baae43.65cdc18",
1997 "type": "switchNode",
1998 "name": "switch spoke",
1999 "xml": "<switch test=\"`$prop.spoke.role == 'spoke'`\">\n",
2002 "x": 1330.000373840332,
2003 "y": 388.301700592041,
2004 "z": "afa42c56.2fe06",
2012 "id": "b158c146.c1f85",
2013 "type": "outcomeTrue",
2015 "xml": "<outcome value='true'>\n",
2018 "x": 1471.000129699707,
2019 "y": 389.30173778533936,
2020 "z": "afa42c56.2fe06",
2028 "id": "b0c4da2c.234108",
2030 "name": "for i.. service-data.vnfs.vnf_length[]",
2031 "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
2034 "x": 1743.5006561279297,
2035 "y": 443.3017330169678,
2036 "z": "afa42c56.2fe06",
2044 "id": "63ff4ec5.ab647",
2046 "name": "block atmoic",
2047 "xml": "<block atomic=\"true\">\n",
2051 "x": 2077.166847229004,
2052 "y": 387.3016633987427,
2053 "z": "afa42c56.2fe06",
2063 "id": "84784063.67ffb",
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",
2069 "x": 2348.1668853759766,
2070 "y": 333.3025498390198,
2071 "z": "afa42c56.2fe06",
2079 "id": "126e021b.594fce",
2080 "type": "outcomeTrue",
2082 "xml": "<outcome value='true'>\n",
2085 "x": 2561.166648864746,
2086 "y": 334.3025527000427,
2087 "z": "afa42c56.2fe06",
2095 "id": "c1a0895d.a44898",
2097 "name": "block atomic",
2098 "xml": "<block atomic=\"true\">\n",
2102 "x": 2710.0003929138184,
2103 "y": 336.3017420768738,
2104 "z": "afa42c56.2fe06",
2112 "id": "cad8cdd9.d6465",
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",
2118 "x": 2983.000343322754,
2119 "y": 334.6689600944519,
2120 "z": "afa42c56.2fe06",
2128 "id": "e45e8fbc.86968",
2130 "name": "block atomic",
2131 "xml": "<block atomic=\"true\">\n",
2135 "x": 3252.0012702941895,
2136 "y": 333.66920614242554,
2137 "z": "afa42c56.2fe06",
2148 "id": "bc53f544.71b638",
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",
2154 "x": 3495.0023040771484,
2155 "y": 288.6697793006897,
2156 "z": "afa42c56.2fe06",
2164 "id": "de0d2806.856438",
2165 "type": "outcomeTrue",
2167 "xml": "<outcome value='true'>\n",
2170 "x": 3695.0020790100098,
2171 "y": 288.6699414253235,
2172 "z": "afa42c56.2fe06",
2180 "id": "9a3c947a.1c5d88",
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",
2185 "x": 3922.002815246582,
2186 "y": 290.2705235481262,
2187 "z": "afa42c56.2fe06",
2191 "id": "67d378cf.68e458",
2193 "name": "block: atomic",
2194 "xml": "<block atomic=\"true\">\n",
2198 "x": 1223.9694213867188,
2199 "y": 699.2706489562988,
2200 "z": "afa42c56.2fe06",
2215 "id": "341080b7.07512",
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",
2221 "x": 2340.5003204345703,
2222 "y": 407.3017544746399,
2223 "z": "afa42c56.2fe06",
2231 "id": "b16c0723.99d848",
2232 "type": "outcomeTrue",
2234 "xml": "<outcome value='true'>\n",
2237 "x": 2559.5000705718994,
2238 "y": 408.30173921585083,
2239 "z": "afa42c56.2fe06",
2247 "id": "6b12cdd6.190a84",
2249 "name": "block atomic",
2250 "xml": "<block atomic=\"true\">\n",
2254 "x": 2710.3340606689453,
2255 "y": 414.3009305000305,
2256 "z": "afa42c56.2fe06",
2264 "id": "c142c3ae.d5baf",
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",
2270 "x": 2969.334312438965,
2271 "y": 416.66822576522827,
2272 "z": "afa42c56.2fe06",
2280 "id": "6fd86632.b15c78",
2282 "name": "block atomic",
2283 "xml": "<block atomic=\"true\">\n",
2287 "x": 3255.334819793701,
2288 "y": 449.66841077804565,
2289 "z": "afa42c56.2fe06",
2297 "id": "4c164cba.1f51b4",
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",
2303 "x": 3438.3357315063477,
2304 "y": 449.66902112960815,
2305 "z": "afa42c56.2fe06",
2313 "id": "4e22d2eb.17a27c",
2314 "type": "outcomeTrue",
2316 "xml": "<outcome value='true'>\n",
2319 "x": 3638.335506439209,
2320 "y": 449.66918325424194,
2321 "z": "afa42c56.2fe06",
2329 "id": "bda2d14d.2382d",
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",
2334 "x": 3833.3361892700195,
2335 "y": 446.26976442337036,
2336 "z": "afa42c56.2fe06",
2340 "id": "ed155104.c2191",
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",
2346 "x": 2319.5004348754883,
2347 "y": 468.30178594589233,
2348 "z": "afa42c56.2fe06",
2356 "id": "3684ce31.756aa2",
2357 "type": "outcomeTrue",
2359 "xml": "<outcome value='true'>\n",
2362 "x": 2553.500072479248,
2363 "y": 469.3017258644104,
2364 "z": "afa42c56.2fe06",
2372 "id": "379dde17.f5f7e2",
2374 "name": "block atomic",
2375 "xml": "<block atomic=\"true\">\n",
2379 "x": 2705.3340606689453,
2380 "y": 491.30096197128296,
2381 "z": "afa42c56.2fe06",
2390 "id": "54ff4036.7eef1",
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",
2396 "x": 2986.3338928222656,
2397 "y": 490.668164730072,
2398 "z": "afa42c56.2fe06",
2406 "id": "53c73c75.c0fe44",
2408 "name": "block atomic",
2409 "xml": "<block atomic=\"true\">\n",
2413 "x": 3255.334819793701,
2414 "y": 489.66841077804565,
2415 "z": "afa42c56.2fe06",
2425 "id": "1d2d8e3b.d07092",
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",
2431 "x": 3444.33602142334,
2432 "y": 539.6690826416016,
2433 "z": "afa42c56.2fe06",
2441 "id": "35fdfb9a.5d5ab4",
2442 "type": "outcomeTrue",
2444 "xml": "<outcome value='true'>\n",
2447 "x": 3644.3354988098145,
2448 "y": 527.6691970825195,
2449 "z": "afa42c56.2fe06",
2457 "id": "ea9da0a4.eb61c",
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",
2462 "x": 3837.336452484131,
2463 "y": 534.2698273658752,
2464 "z": "afa42c56.2fe06",
2468 "id": "25d65cd3.81eaf4",
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",
2475 "y": 325.3018355369568,
2476 "z": "afa42c56.2fe06",
2484 "id": "70f2426c.7fe2dc",
2485 "type": "outcomeTrue",
2487 "xml": "<outcome value='true'>\n",
2490 "x": 3698.5000038146973,
2491 "y": 325.3019471168518,
2492 "z": "afa42c56.2fe06",
2500 "id": "2a2fa3c7.e081ac",
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",
2505 "x": 3925.5007400512695,
2506 "y": 326.90252923965454,
2507 "z": "afa42c56.2fe06",
2511 "id": "af8fabf7.c19df8",
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",
2517 "x": 3486.500160217285,
2518 "y": 369.30178594589233,
2519 "z": "afa42c56.2fe06",
2527 "id": "b8a267e9.b9ee48",
2528 "type": "outcomeTrue",
2530 "xml": "<outcome value='true'>\n",
2533 "x": 3686.4999351501465,
2534 "y": 369.3019480705261,
2535 "z": "afa42c56.2fe06",
2543 "id": "1f49c17b.29132f",
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",
2548 "x": 3913.5006713867188,
2549 "y": 370.90253019332886,
2550 "z": "afa42c56.2fe06",
2554 "id": "97c92085.94f67",
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",
2560 "x": 3466.499988555908,
2561 "y": 408.30182218551636,
2562 "z": "afa42c56.2fe06",
2570 "id": "f16f752f.3e9e18",
2571 "type": "outcomeTrue",
2573 "xml": "<outcome value='true'>\n",
2576 "x": 3690.4998168945312,
2577 "y": 408.3019394874573,
2578 "z": "afa42c56.2fe06",
2586 "id": "ca30b35f.a1be",
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",
2591 "x": 3917.5005531311035,
2592 "y": 409.90252161026,
2593 "z": "afa42c56.2fe06",
2597 "id": "88f8bb94.113e88",
2599 "name": "block: atomic",
2600 "xml": "<block atomic=\"true\">\n",
2604 "x": 1033.999900817871,
2605 "y": 267.5000419616699,
2606 "z": "afa42c56.2fe06",
2617 "id": "47687d06.0a1964",
2619 "name": "get spoke device,site,wanport info",
2623 "y": 390.96874713897705,
2624 "z": "afa42c56.2fe06",
2628 "id": "c21c0002.43242",
2630 "name": "Add routes only on activation of spoke Attach site",
2633 "x": 1451.4999160766602,
2634 "y": 334.00006103515625,
2635 "z": "afa42c56.2fe06",
2639 "id": "7b6f0604.c9da18",
2641 "name": "Loop for all the hub allotted resources, get respective service data and get vnfs info",
2645 "y": 829.500057220459,
2646 "z": "afa42c56.2fe06",
2650 "id": "d543abbf.21d958",
2652 "name": "block atomic",
2653 "xml": "<block atomic=\"true\">\n",
2657 "x": 2963.4997177124023,
2658 "y": 1810.9999589920044,
2659 "z": "afa42c56.2fe06",
2668 "id": "fc5d79c.538d088",
2670 "name": "block atomic",
2671 "xml": "<block atomic=\"true\">\n",
2675 "x": 3013.4997749328613,
2676 "y": 1683.999843597412,
2677 "z": "afa42c56.2fe06",
2685 "id": "a19625ef.be4768",
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",
2691 "x": 3148.499641418457,
2692 "y": 1821.9998016357422,
2693 "z": "afa42c56.2fe06",
2701 "id": "fce00f2c.408f7",
2702 "type": "outcomeTrue",
2704 "xml": "<outcome value='true'>\n",
2707 "x": 3299.500011444092,
2708 "y": 1820.999984741211,
2709 "z": "afa42c56.2fe06",
2717 "id": "a6e04d71.45ffd",
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",
2722 "x": 3471.5000190734863,
2723 "y": 1818.6005535125732,
2724 "z": "afa42c56.2fe06",
2728 "id": "f1944c46.f8a7e",
2729 "type": "switchNode",
2730 "name": "switch request-action",
2731 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
2734 "x": 2624.9997482299805,
2735 "y": 2174.0004453659058,
2736 "z": "afa42c56.2fe06",
2745 "id": "4a7669f9.690ed8",
2747 "name": "ActivateSDWANAttachmentInstance",
2748 "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
2751 "x": 2895.0271530151367,
2752 "y": 1985.0314779281616,
2753 "z": "afa42c56.2fe06",
2761 "id": "ed2e9b23.246118",
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`\" />",
2767 "x": 3483.500099182129,
2768 "y": 1914.0003824234009,
2769 "z": "afa42c56.2fe06",
2778 "id": "523fbf6b.72c95",
2781 "xml": "<outcome value='success'>\n",
2784 "x": 3730.499927520752,
2785 "y": 1893.0002145767212,
2786 "z": "afa42c56.2fe06",
2792 "id": "e1bfc10d.7f44e",
2795 "xml": "<outcome value='failure'>\n",
2798 "x": 3728.4996070861816,
2799 "y": 1849.000205039978,
2800 "z": "afa42c56.2fe06",
2808 "id": "5684be77.d184a",
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",
2813 "x": 3870.5002937316895,
2814 "y": 1847.0002880096436,
2815 "z": "afa42c56.2fe06",
2819 "id": "fc0a8ce8.4d15f",
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",
2824 "x": 3418.8337020874023,
2825 "y": 1884.666922569275,
2826 "z": "afa42c56.2fe06",
2830 "id": "4be3d8b3.562cb8",
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`\" />",
2836 "x": 3500.834144592285,
2837 "y": 2119.6675004959106,
2838 "z": "afa42c56.2fe06",
2847 "id": "a3d1295e.fa6b28",
2850 "xml": "<outcome value='success'>\n",
2853 "x": 3752.83424949646,
2854 "y": 2107.667459964752,
2855 "z": "afa42c56.2fe06",
2861 "id": "5f8c1bef.56c114",
2864 "xml": "<outcome value='failure'>\n",
2867 "x": 3750.8339290618896,
2868 "y": 2063.667450428009,
2869 "z": "afa42c56.2fe06",
2877 "id": "e475f129.f6d52",
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",
2882 "x": 3892.8346157073975,
2883 "y": 2061.6675333976746,
2884 "z": "afa42c56.2fe06",
2888 "id": "9b5e472e.7046c8",
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",
2893 "x": 3441.6980171203613,
2894 "y": 2082.3642127513885,
2895 "z": "afa42c56.2fe06",
2899 "id": "f4ba3683.379f28",
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",
2904 "x": 3451.665542602539,
2905 "y": 2242.0309886932373,
2906 "z": "afa42c56.2fe06",
2910 "id": "5392f603.1e5608",
2912 "name": "block atomic",
2913 "xml": "<block atomic=\"true\">\n",
2917 "x": 3130.999671936035,
2918 "y": 1982.4999113082886,
2919 "z": "afa42c56.2fe06",
2936 "id": "cf3f5a97.bb53e8",
2938 "name": "block atomic",
2939 "xml": "<block atomic=\"true\">\n",
2943 "x": 3162.9997749328613,
2944 "y": 2624.5002613067627,
2945 "z": "afa42c56.2fe06",
2959 "id": "9523edcb.d7c9a",
2961 "name": "DeactivateSDWANAttachmentInstance",
2962 "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
2965 "x": 2911.4998321533203,
2966 "y": 2618.500072479248,
2967 "z": "afa42c56.2fe06",
2975 "id": "41b2e501.e4cadc",
2977 "name": "Add sites to list and update length",
2978 "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",
2980 "x": 3456.0318298339844,
2981 "y": 2367.0318689346313,
2982 "z": "afa42c56.2fe06",
2986 "id": "84283d54.1b30c",
2988 "name": "save hubsiteIds and spoke siteIds for provision",
2991 "x": 3488.0322036743164,
2992 "y": 2323.0317430496216,
2993 "z": "afa42c56.2fe06",
2997 "id": "812b076f.3b7138",
2998 "type": "switchNode",
2999 "name": "switch name",
3000 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'name'`\">\n",
3003 "x": 3445.031005859375,
3005 "z": "afa42c56.2fe06",
3013 "id": "e2b5302b.c9211",
3014 "type": "outcomeTrue",
3016 "xml": "<outcome value='true'>\n",
3019 "x": 3645.0307807922363,
3020 "y": 489.0314121246338,
3021 "z": "afa42c56.2fe06",
3029 "id": "3a42d854.33d438",
3031 "name": "set prop.spoke.siteName",
3032 "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",
3034 "x": 3833.0315856933594,
3035 "y": 487.63202571868896,
3036 "z": "afa42c56.2fe06",
3040 "id": "450fbdd4.50bf64",
3041 "type": "switchNode",
3042 "name": "switch name",
3043 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'name'`\">\n",
3046 "x": 3147.0310287475586,
3047 "y": 1788.5311088562012,
3048 "z": "afa42c56.2fe06",
3056 "id": "7d26f71b.6a9a68",
3057 "type": "outcomeTrue",
3059 "xml": "<outcome value='true'>\n",
3062 "x": 3298.0313987731934,
3063 "y": 1787.53129196167,
3064 "z": "afa42c56.2fe06",
3072 "id": "570427f3.ac5a28",
3074 "name": "set prop.hub.siteName",
3075 "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",
3077 "x": 3470.031406402588,
3078 "y": 1785.1318607330322,
3079 "z": "afa42c56.2fe06",
3083 "id": "431fc2f2.17609c",
3085 "name": "set prop.provision.siteIds_length=0",
3086 "xml": "<set>\n<parameter name='prop.provision.siteIds_length' value='0' />\n\n\n\n",
3088 "x": 470.03126525878906,
3089 "y": 375.0312547683716,
3090 "z": "afa42c56.2fe06",
3094 "id": "bebb2153.0e2a7",
3096 "name": "execute RestApiCallNode site provision urls",
3097 "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`\" />",
3100 "x": 822.0312957763672,
3101 "y": 807.0314712524414,
3102 "z": "afa42c56.2fe06",
3111 "id": "8e71b3d6.afc8d",
3114 "xml": "<outcome value='success'>\n",
3117 "x": 1086.0315551757812,
3118 "y": 829.0315160751343,
3119 "z": "afa42c56.2fe06",
3125 "id": "e47835d0.8f5408",
3128 "xml": "<outcome value='failure'>\n",
3131 "x": 1087.0313415527344,
3132 "y": 786.0314540863037,
3133 "z": "afa42c56.2fe06",
3141 "id": "610d5a0c.9e2794",
3142 "type": "returnFailure",
3143 "name": "return failure",
3144 "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",
3146 "x": 1266.0318984985352,
3147 "y": 784.0315053462982,
3148 "z": "afa42c56.2fe06",
3152 "id": "38f6b67d.380b9a",
3154 "name": "for providx..prop.provision.siteIds[]",
3155 "xml": "<for index='providx' start='0' end='`$prop.provision.siteIds_length`' >\n",
3158 "x": 463.0312957763672,
3159 "y": 579.0312948226929,
3160 "z": "afa42c56.2fe06",
3168 "id": "3da0634c.7d37dc",
3170 "name": "block atmoic",
3171 "xml": "<block atomic=\"true\">\n",
3175 "x": 487.0313377380371,
3176 "y": 789.031268119812,
3177 "z": "afa42c56.2fe06",
3187 "id": "89ba9fe.36f7b6",
3189 "name": "set prop.spoke.hubSiteId, spokeSiteId",
3190 "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",
3192 "x": 798.0339965820312,
3193 "y": 665.6329832077026,
3194 "z": "afa42c56.2fe06",
3198 "id": "ae5d2651.0df3f8",
3200 "name": "record provision url response to the file",
3201 "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",
3204 "x": 794.0313720703125,
3205 "y": 901.0313358306885,
3206 "z": "afa42c56.2fe06",
3212 "id": "99b001da.0efb4",
3214 "name": "block atmoic",
3215 "xml": "<block atomic=\"true\">\n",
3219 "x": 2536.031482696533,
3220 "y": 1056.0313262939453,
3221 "z": "afa42c56.2fe06",
3229 "id": "e38b67ea.4c8758",
3231 "name": "block atmoic",
3232 "xml": "<block atomic=\"true\">\n",
3236 "x": 2016.0311584472656,
3237 "y": 619.0313091278076,
3238 "z": "afa42c56.2fe06",
3246 "id": "4ebf01e5.37d06",
3248 "name": "block atmoic",
3249 "xml": "<block atomic=\"true\">\n",
3253 "x": 1960.0313262939453,
3254 "y": 710.0312175750732,
3255 "z": "afa42c56.2fe06",
3264 "id": "26c99249.a4074e",
3266 "name": "set prop.underlay.routeIds_length++",
3267 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n\n\n\n\n",
3269 "x": 3481.0011596679688,
3270 "y": 2278.250065803528,
3271 "z": "afa42c56.2fe06",
3275 "id": "805d9d92.cb3bf",
3277 "name": "Update prop.provision.siteIds_length",
3278 "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",
3280 "x": 3464.5009002685547,
3281 "y": 2402.2501611709595,
3282 "z": "afa42c56.2fe06",
3286 "id": "dc7900f6.c1794",
3288 "name": "set prop.spoke.siteidx",
3289 "xml": "<set>\n<parameter name='prop.spoke.siteidx' value='`$i`' />\n\n",
3291 "x": 2904.7501907348633,
3292 "y": 455.0000286102295,
3293 "z": "afa42c56.2fe06",
3297 "id": "54fe9391.9e9afc",
3299 "name": "set underlay route ids to service data",
3300 "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",
3302 "x": 1927.0006408691406,
3303 "y": 1942.0003986358643,
3304 "z": "afa42c56.2fe06",
3308 "id": "32bd7569.5de31a",
3310 "name": "set prop.underlay.routeIds_length=0",
3311 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='0' />\n\n\n\n",
3313 "x": 474.9961242675781,
3314 "y": 326.9961128234863,
3315 "z": "afa42c56.2fe06",
3319 "id": "3396ac88.cb4974",
3321 "name": "for loop uidx - Get route Id from prop.underlay.routeIds",
3322 "xml": "<for index=\"uidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n \n \n",
3325 "x": 3518.6630325317383,
3326 "y": 2497.3295001983643,
3327 "z": "afa42c56.2fe06",
3335 "id": "48bdd272.66024c",
3337 "name": "block atomic",
3338 "xml": "<block atomic=\"true\">\n",
3342 "x": 3810.3297271728516,
3343 "y": 2497.3295001983643,
3344 "z": "afa42c56.2fe06",
3352 "id": "164a1404.cbc8dc",
3353 "type": "switchNode",
3354 "name": "switch prop.hub.siteId",
3355 "xml": "<switch test=\"`$prop.underlay.routeIds[$uidx].hubSiteId == $prop.hub.siteId`\">\n",
3358 "x": 3999.3297424316406,
3359 "y": 2497.3296632766724,
3360 "z": "afa42c56.2fe06",
3368 "id": "beeec1da.addd9",
3369 "type": "outcomeTrue",
3371 "xml": "<outcome value='true'>\n",
3374 "x": 4170.329177856445,
3375 "y": 2497.329662322998,
3376 "z": "afa42c56.2fe06",
3384 "id": "8b49993a.fe8e88",
3386 "name": "block atomic",
3387 "xml": "<block atomic=\"true\">\n",
3391 "x": 4324.329177856445,
3392 "y": 2501.3296699523926,
3393 "z": "afa42c56.2fe06",
3401 "id": "ef00b5c0.d59378",
3403 "name": "set prop.hubRouteId prop.spokeRouteId",
3404 "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",
3406 "x": 4410.32918548584,
3407 "y": 2573.32967376709,
3408 "z": "afa42c56.2fe06",
3412 "id": "8b3ca259.e59f8",
3413 "type": "switchNode",
3414 "name": "switch underlayRouteIds",
3415 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'underlayRouteIds'`\">\n",
3419 "y": 593.6627197265625,
3420 "z": "afa42c56.2fe06",
3428 "id": "90960264.013bb",
3429 "type": "outcomeTrue",
3431 "xml": "<outcome value='true'>\n",
3434 "x": 3649.9955711364746,
3435 "y": 581.6628341674805,
3436 "z": "afa42c56.2fe06",
3444 "id": "f1e8e357.7d127",
3446 "name": "set prop.underlay.routeIds",
3447 "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",
3449 "x": 4020.996971130371,
3450 "y": 581.2635440826416,
3451 "z": "afa42c56.2fe06",
3455 "id": "86cead5c.3dd72",
3456 "type": "switchNode",
3457 "name": "switch request-action",
3458 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
3461 "x": 1136.9963836669922,
3462 "y": 2033.329628944397,
3463 "z": "afa42c56.2fe06",
3472 "id": "d86f6d8b.19f1b",
3474 "name": "ActivateSDWANAttachmentInstance",
3475 "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
3478 "x": 1400.9964294433594,
3479 "y": 1988.329626083374,
3480 "z": "afa42c56.2fe06",
3488 "id": "1dbe9d9f.7f9c82",
3490 "name": "block atomic",
3491 "xml": "<block atomic=\"true\">\n",
3495 "x": 1642.9689407348633,
3496 "y": 1984.7983770370483,
3497 "z": "afa42c56.2fe06",
3508 "id": "a9b02dc4.79bbe",
3510 "name": "block atomic",
3511 "xml": "<block atomic=\"true\">\n",
3515 "x": 1646.9689292907715,
3516 "y": 2068.7985458374023,
3517 "z": "afa42c56.2fe06",
3525 "id": "42a75c7f.9dc134",
3527 "name": "DeactivateSDWANAttachmentInstance",
3528 "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
3531 "x": 1398.4690704345703,
3532 "y": 2070.7983827590942,
3533 "z": "afa42c56.2fe06",
3541 "id": "ae1dbfd0.9ebac",
3543 "name": "set input parameter length -1",
3544 "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",
3546 "x": 1875.6626281738281,
3547 "y": 2067.32963180542,
3548 "z": "afa42c56.2fe06",
3552 "id": "4d624738.aa86f8",
3554 "name": "Get route routes IDs",
3557 "x": 3418.3294982910156,
3558 "y": 2458.6627368927,
3559 "z": "afa42c56.2fe06",
3563 "id": "5d55b77d.4fae98",
3565 "name": "set underlay route ids to service data",
3566 "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",
3568 "x": 1916.329574584961,
3569 "y": 2016.662672996521,
3570 "z": "afa42c56.2fe06",
3574 "id": "59b1613.c1f67a",
3576 "name": "for jidx paramidx - Get topology from servicedata",
3577 "xml": "<for index=\"jidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n \n \n",
3580 "x": 2005.3294982910156,
3581 "y": 1563.329444885254,
3582 "z": "afa42c56.2fe06",
3590 "id": "3450a2a3.3f3b2e",
3592 "name": "execute concat",
3593 "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",
3596 "x": 2189.329833984375,
3597 "y": 1696.9966478347778,
3598 "z": "afa42c56.2fe06",
3604 "id": "5db41da3.1856f4",
3606 "name": "execute concat",
3607 "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",
3610 "x": 2199.3298263549805,
3611 "y": 1649.6629858016968,
3612 "z": "afa42c56.2fe06",
3618 "id": "f4c8ed71.c2698",
3620 "name": "block atomic",
3621 "xml": "<block atomic=\"true\">\n",
3625 "x": 1912.329517364502,
3626 "y": 1748.6627750396729,
3627 "z": "afa42c56.2fe06",
3640 "id": "46517f63.3d70e",
3642 "name": "execute concat",
3643 "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",
3646 "x": 2196.3295364379883,
3647 "y": 1736.6628789901733,
3648 "z": "afa42c56.2fe06",
3654 "id": "74bf87c6.f701b8",
3656 "name": "execute concat",
3657 "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",
3660 "x": 2196.3295364379883,
3661 "y": 1772.6628789901733,
3662 "z": "afa42c56.2fe06",
3668 "id": "ec44da8a.7837c8",
3670 "name": "execute concat",
3671 "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",
3674 "x": 2189.3295364379883,
3675 "y": 1812.9962530136108,
3676 "z": "afa42c56.2fe06",
3682 "id": "f31858ee.e326d8",
3684 "name": "execute concat",
3685 "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",
3688 "x": 2192.329475402832,
3689 "y": 1867.6627922058105,
3690 "z": "afa42c56.2fe06",
3696 "id": "8abe0b00.ec56e8",
3698 "name": "Set tmp.routeString",
3699 "xml": "<set>\n<parameter name='tmp.routeString' value=\"\" />\n\n",
3701 "x": 1909.3294982910156,
3702 "y": 1504.6627759933472,
3703 "z": "afa42c56.2fe06",
3707 "id": "dec6d150.266b1",
3709 "name": "block atomic",
3710 "xml": "<block atomic=\"true\">\n",
3714 "x": 3797.9963188171387,
3715 "y": 627.9961318969727,
3716 "z": "afa42c56.2fe06",
3725 "id": "38377ec9.53b982",
3727 "name": "execute split |",
3728 "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",
3731 "x": 3975.9963302612305,
3732 "y": 647.9961318969727,
3733 "z": "afa42c56.2fe06",
3742 "id": "c3ab3d57.d9ba",
3745 "xml": "<outcome value='success'>\n",
3748 "x": 4152.9963455200195,
3749 "y": 628.9961309432983,
3750 "z": "afa42c56.2fe06",
3758 "id": "3268a5b9.fb215a",
3761 "xml": "<outcome value='failure'>\n",
3764 "x": 4141.9963455200195,
3765 "y": 676.996132850647,
3766 "z": "afa42c56.2fe06",
3774 "id": "82fa522b.8f097",
3776 "name": "set ipAddress prefixLength",
3777 "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]`' />",
3779 "x": 5338.997211456299,
3780 "y": 562.9963731765747,
3781 "z": "afa42c56.2fe06",
3785 "id": "d317db0c.b51f88",
3792 "x": 4271.996349334717,
3793 "y": 676.996132850647,
3794 "z": "afa42c56.2fe06",
3800 "id": "d7617cb0.7601e",
3802 "name": "for loop ridx ",
3803 "xml": "<for index=\"ridx\" start=\"0\" end=\"`$prop.underlay.routeIdsValue_length`\">\n \n \n",
3806 "x": 4298.996032714844,
3807 "y": 626.9961309432983,
3808 "z": "afa42c56.2fe06",
3816 "id": "bae53b24.86f3f8",
3818 "name": "block atomic",
3819 "xml": "<block atomic=\"true\">\n",
3823 "x": 4477.329044342041,
3824 "y": 623.9961318969727,
3825 "z": "afa42c56.2fe06",
3833 "id": "95e8ce94.9a6d1",
3835 "name": "execute split ,",
3836 "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",
3839 "x": 4652.329055786133,
3840 "y": 622.996129989624,
3841 "z": "afa42c56.2fe06",
3850 "id": "17ee1f73.6ce3e1",
3853 "xml": "<outcome value='success'>\n",
3856 "x": 4809.32905960083,
3857 "y": 599.9961376190186,
3858 "z": "afa42c56.2fe06",
3866 "id": "32bb2edf.2bc022",
3869 "xml": "<outcome value='failure'>\n",
3872 "x": 4798.32905960083,
3873 "y": 647.9961395263672,
3874 "z": "afa42c56.2fe06",
3882 "id": "e299e773.789348",
3889 "x": 4928.329063415527,
3890 "y": 647.9961395263672,
3891 "z": "afa42c56.2fe06",
3897 "id": "cee6dd44.82ca8",
3899 "name": "block atomic",
3900 "xml": "<block atomic=\"true\">\n",
3904 "x": 5131.661590576172,
3905 "y": 578.9962916374207,
3906 "z": "afa42c56.2fe06",
3915 "id": "e872fc0f.e3138",
3917 "name": "set ipAddress prefixLength",
3918 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n",
3920 "x": 5331.329250335693,
3921 "y": 604.996169090271,
3922 "z": "afa42c56.2fe06",
3926 "id": "25d53393.ccdc7c",
3927 "type": "switchNode",
3928 "name": "switch prop.underlay.routeIdsValues_length",
3929 "xml": "<switch test='`$prop.underlay.routeIdsValues_length`'>\n",
3932 "x": 5007.663215637207,
3933 "y": 480.9961624145508,
3934 "z": "afa42c56.2fe06",
3943 "id": "1988903d.6e7c9",
3946 "xml": "<outcome value='3'>\n",
3949 "x": 5242.632148742676,
3950 "y": 517.9648895263672,
3951 "z": "afa42c56.2fe06",
3959 "id": "31c7868c.1d918a",
3962 "xml": "<outcome value='Other'>\n",
3965 "x": 5259.663074493408,
3966 "y": 399.99610328674316,
3967 "z": "afa42c56.2fe06",
3975 "id": "c3b9df69.c6c78",
3982 "x": 5420.66259765625,
3984 "z": "afa42c56.2fe06",
3990 "id": "2fd2f3c1.09b97c",
3991 "type": "returnFailure",
3992 "name": "return failure",
3993 "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",
3995 "x": 2900.002540588379,
3996 "y": 1013.3028502464294,
3997 "z": "afa42c56.2fe06",
4001 "id": "18ba51e1.01a3be",
4008 "x": 2886.0020484924316,
4009 "y": 961.9692711830139,
4010 "z": "afa42c56.2fe06",
4016 "id": "f41a7058.b220e",
4018 "name": "hardcode hub route",
4019 "xml": "<set>\n<parameter name='prop.hub.ipAddress' value=\"10.2.0.2\" />\n<parameter name='prop.hub.providerIpAddress' value=\"10.2.0.0/16\" />\n\n\n",
4021 "x": 3420.0038681030273,
4022 "y": 1853.0039892196655,
4023 "z": "afa42c56.2fe06",
4027 "id": "57accb29.01bb34",
4029 "name": "hardcode spoke route",
4030 "xml": "<set>\n<parameter name='prop.spoke.ipAddress' value=\"10.3.0.1\" />\n<parameter name='prop.spoke.providerIpAddress' value=\"10.3.0.0/16\" />",
4032 "x": 3435.004409790039,
4033 "y": 2051.0039653778076,
4034 "z": "afa42c56.2fe06",
4038 "id": "a8dab23b.85144",
4040 "name": "hardcode hub route",
4041 "xml": "<set>\n<parameter name='prop.hub.ipAddress' value=\"10.2.0.2\" />\n<parameter name='prop.hub.providerIpAddress' value=\"10.2.0.0/16\" />\n\n\n",
4043 "x": 3470.333251953125,
4045 "z": "afa42c56.2fe06",
4049 "id": "3c48a4f4.f048ec",
4051 "name": "hardcode spoke route",
4052 "xml": "<set>\n<parameter name='prop.spoke.ipAddress' value=\"10.3.0.1\" />\n<parameter name='prop.spoke.providerIpAddress' value=\"10.3.0.0/16\" />",
4054 "x": 3476.333251953125,
4056 "z": "afa42c56.2fe06",