3 "id": "df1ca662.8747b8",
17 "id": "f03eb016.75be2",
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": 208.2856903076172,
26 "y": 77.23810768127441,
27 "z": "ea31d3f9.c58ce",
35 "id": "d1c55e79.a107d",
37 "name": "method sdwan-wanport-vnf-topology-operation-underlay",
38 "xml": "<method rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync'>\n",
41 "x": 211.42861938476562,
42 "y": 162.00003147125244,
43 "z": "ea31d3f9.c58ce",
51 "id": "39b0cbc5.a6e634",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 143.66668701171875,
58 "y": 270.66673278808594,
59 "z": "ea31d3f9.c58ce",
71 "id": "6e5ac20d.e60c4c",
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": 578.000431060791,
78 "y": 409.6668539047241,
79 "z": "ea31d3f9.c58ce",
87 "id": "2acab811.c13ee8",
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": 1368.0013427734375,
93 "y": 98.96877861022949,
94 "z": "ea31d3f9.c58ce",
98 "id": "4102e103.78e0d",
100 "name": "Query MDSAL for AR",
103 "x": 1693.3340148925781,
104 "y": 122.96864795684814,
105 "z": "ea31d3f9.c58ce",
109 "id": "2988c3dc.9f08bc",
111 "name": "Query MDSAL to get parent service based on service instance id from AR",
114 "x": 2163.334873199463,
115 "y": 141.96862697601318,
116 "z": "ea31d3f9.c58ce",
120 "id": "43ba54c6.bea31c",
123 "xml": "<outcome value='success'>\n",
126 "x": 1942.66841506958,
127 "y": 177.63526725769043,
128 "z": "ea31d3f9.c58ce",
136 "id": "90fef119.efb27",
138 "name": "block: atomic",
139 "xml": "<block atomic=\"true\">\n",
143 "x": 2097.668254852295,
144 "y": 177.13510036468506,
145 "z": "ea31d3f9.c58ce",
153 "id": "22fe4487.ea79bc",
156 "xml": "<outcome value='1'>\n",
159 "x": 2421.3587913513184,
160 "y": 173.75424098968506,
161 "z": "ea31d3f9.c58ce",
169 "id": "202db162.ce306e",
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": 2567.1275672912598,
175 "y": 213.20122909545898,
176 "z": "ea31d3f9.c58ce",
180 "id": "b9e47095.da1a3",
183 "xml": "<outcome value='Other'>\n",
186 "x": 1935.5201416015625,
187 "y": 224.70127391815186,
188 "z": "ea31d3f9.c58ce",
196 "id": "1559b306.93fa9d",
198 "name": "block: atomic",
199 "xml": "<block atomic=\"true\">\n",
203 "x": 2085.5199851989746,
204 "y": 225.36782932281494,
205 "z": "ea31d3f9.c58ce",
213 "id": "d76066f5.ec2ac8",
216 "xml": "<outcome value='Other'>\n",
219 "x": 2409.6867446899414,
220 "y": 211.03460121154785,
221 "z": "ea31d3f9.c58ce",
229 "id": "3f50e700.ebbfb8",
230 "type": "switchNode",
231 "name": "switch cr length",
232 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
235 "x": 2261.668430328369,
236 "y": 177.6352834701538,
237 "z": "ea31d3f9.c58ce",
246 "id": "1ecae18f.8c5d6e",
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": 2817.0020294189453,
252 "y": 174.63526439666748,
253 "z": "ea31d3f9.c58ce",
257 "id": "eb3089e9.bab518",
259 "name": "block: atomic",
260 "xml": "<block atomic='true'>\n",
264 "x": 2571.4778213500977,
265 "y": 173.80180072784424,
266 "z": "ea31d3f9.c58ce",
275 "id": "6807513b.840e7",
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": 2253.001438140869,
281 "y": 223.63520526885986,
282 "z": "ea31d3f9.c58ce",
286 "id": "bc09ac7e.2dfa1",
289 "xml": "<outcome value='success'>\n",
292 "x": 2040.303554534912,
293 "y": 495.7709312438965,
294 "z": "ea31d3f9.c58ce",
302 "id": "f0b156c6.5db3a8",
305 "xml": "<outcome value='Other'>\n",
308 "x": 2032.1553573608398,
309 "y": 530.8370161056519,
310 "z": "ea31d3f9.c58ce",
318 "id": "22ca566e.18afda",
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": 2178.304130554199,
324 "y": 531.1045122146606,
325 "z": "ea31d3f9.c58ce",
329 "id": "4a6d5f3.c343ea",
336 "x": 2160.3038024902344,
337 "y": 495.771014213562,
338 "z": "ea31d3f9.c58ce",
344 "id": "c9fcea4f.295c68",
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": 1723.6683502197266,
351 "y": 595.3028893470764,
352 "z": "ea31d3f9.c58ce",
360 "id": "4b3c3b19.b12c44",
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": 2253.3349838256836,
367 "y": 564.3028907775879,
368 "z": "ea31d3f9.c58ce",
376 "id": "353c03be.8a3dec",
377 "type": "outcomeTrue",
379 "xml": "<outcome value='true'>\n",
382 "x": 2505.334518432617,
383 "y": 565.3028283119202,
384 "z": "ea31d3f9.c58ce",
392 "id": "8948df3b.5b4e8",
394 "name": "set tmp.pnidx ",
395 "xml": "<set>\n<parameter name='tmp.pnidx' value='`$pnidx`' />\n\n",
397 "x": 2661.3342056274414,
398 "y": 565.3028283119202,
399 "z": "ea31d3f9.c58ce",
403 "id": "f17464be.205b38",
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": 1655.3351593017578,
410 "y": 680.3025188446045,
411 "z": "ea31d3f9.c58ce",
419 "id": "1134832c.af388d",
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": 2107.335250854492,
426 "y": 659.3024244308472,
427 "z": "ea31d3f9.c58ce",
435 "id": "b4638122.81f25",
436 "type": "outcomeTrue",
438 "xml": "<outcome value='true'>\n",
441 "x": 2258.335262298584,
442 "y": 657.3024663925171,
443 "z": "ea31d3f9.c58ce",
451 "id": "6ab1ecb6.c4b6a4",
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": 2399.334991455078,
457 "y": 656.9024000167847,
458 "z": "ea31d3f9.c58ce",
462 "id": "427fd71a.a641b8",
463 "type": "switchNode",
464 "name": "switch tmp.pnidx ",
465 "xml": "<switch test=\"`$tmp.pnidx`\">\n\n",
468 "x": 1626.334976196289,
469 "y": 639.9690914154053,
470 "z": "ea31d3f9.c58ce",
478 "id": "3b308668.883fda",
481 "xml": "<outcome value=''>\n",
484 "x": 1781.7636489868164,
485 "y": 638.5404710769653,
486 "z": "ea31d3f9.c58ce",
494 "id": "1025ab31.d734f5",
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": 1922.1922721862793,
500 "y": 639.6835603713989,
501 "z": "ea31d3f9.c58ce",
505 "id": "3aec24fb.014f5c",
506 "type": "switchNode",
507 "name": "switch topology hub-spoke",
508 "xml": "<switch test=\"`$prop.topology == 'hub-spoke'`\">\n",
511 "x": 1534.3348426818848,
512 "y": 742.3023405075073,
513 "z": "ea31d3f9.c58ce",
522 "id": "11a1e34f.7c4fdd",
523 "type": "outcomeTrue",
525 "xml": "<outcome value='true'>\n",
528 "x": 1724.334529876709,
529 "y": 767.3028259277344,
530 "z": "ea31d3f9.c58ce",
538 "id": "32341b46.a26b84",
539 "type": "outcomeTrue",
541 "xml": "<outcome value='false'>\n",
544 "x": 1718.3354568481445,
545 "y": 728.3024883270264,
546 "z": "ea31d3f9.c58ce",
554 "id": "92373ae3.dba458",
561 "x": 1854.3354606628418,
562 "y": 728.3024272918701,
563 "z": "ea31d3f9.c58ce",
569 "id": "26c0cc7e.899014",
571 "name": "block: atomic",
572 "xml": "<block atomic=\"true\">\n",
576 "x": 1729.66748046875,
577 "y": 835.3020601272583,
578 "z": "ea31d3f9.c58ce",
586 "id": "a5cfaff.0a25c5",
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": 2137.000732421875,
593 "y": 835.6356782913208,
594 "z": "ea31d3f9.c58ce",
602 "id": "45c7f2c8.9bbc9c",
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": 2228.0018463134766,
608 "y": 913.6359763145447,
609 "z": "ea31d3f9.c58ce",
613 "id": "d3076636.df66e8",
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": 2246.0025482177734,
620 "y": 1024.302767753601,
621 "z": "ea31d3f9.c58ce",
629 "id": "e9ad6cc9.abb1",
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": 2655.002658843994,
636 "y": 1027.3028545379639,
637 "z": "ea31d3f9.c58ce",
645 "id": "356c0745.261588",
646 "type": "outcomeTrue",
648 "xml": "<outcome value='true'>\n",
651 "x": 2796.0029907226562,
652 "y": 1026.3028535842896,
653 "z": "ea31d3f9.c58ce",
661 "id": "2ecc17c9.bbea08",
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": 2937.0030250549316,
667 "y": 1027.9027452468872,
668 "z": "ea31d3f9.c58ce",
672 "id": "7d6e3904.ff8ae8",
675 "xml": "<outcome value='success'>\n",
678 "x": 2732.0020446777344,
679 "y": 930.969269990921,
680 "z": "ea31d3f9.c58ce",
688 "id": "b0148b51.89ec18",
691 "xml": "<outcome value='Other'>\n",
694 "x": 2728.8537673950195,
695 "y": 985.0353531837463,
696 "z": "ea31d3f9.c58ce",
704 "id": "59d6c0f4.defd7",
705 "type": "switchNode",
706 "name": "switch role hub",
707 "xml": "<switch test=\"`$prop.role == hub`\">\n",
710 "x": 2112.3351821899414,
711 "y": 1089.6358079910278,
712 "z": "ea31d3f9.c58ce",
721 "id": "a9370615.1e0a18",
728 "x": 2428.3345680236816,
729 "y": 1065.6354112625122,
730 "z": "ea31d3f9.c58ce",
736 "id": "f944f364.78c47",
739 "xml": "<outcome value='success'>\n",
742 "x": 2838.3042030334473,
743 "y": 1161.1045179367065,
744 "z": "ea31d3f9.c58ce",
752 "id": "e08d96d8.e1bd48",
755 "xml": "<outcome value='Other'>\n",
758 "x": 2840.155773162842,
759 "y": 1221.170599937439,
760 "z": "ea31d3f9.c58ce",
768 "id": "d9301d98.96024",
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": 2984.304546356201,
774 "y": 1183.4380140304565,
775 "z": "ea31d3f9.c58ce",
779 "id": "b250bb74.e941e8",
786 "x": 2968.3042221069336,
787 "y": 1150.1046781539917,
788 "z": "ea31d3f9.c58ce",
794 "id": "31ca4096.fa657",
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": 2440.3356018066406,
800 "y": 1149.6360107660294,
801 "z": "ea31d3f9.c58ce",
805 "id": "3250db4e.aae6c4",
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": 2484.0020751953125,
812 "y": 1271.6358003616333,
813 "z": "ea31d3f9.c58ce",
821 "id": "5be088b1.9bd9d8",
823 "name": "block atmoic",
824 "xml": "<block atomic=\"true\">\n",
828 "x": 2830.6683959960938,
829 "y": 1261.6357765197754,
830 "z": "ea31d3f9.c58ce",
840 "id": "b0a1b0f0.1cd88",
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": 3092.668504714966,
847 "y": 1232.6367359161377,
848 "z": "ea31d3f9.c58ce",
856 "id": "494b8c51.d5a454",
857 "type": "switchNode",
858 "name": "switch tmp.wanportvidx ",
859 "xml": "<switch test=\"`$tmp.wanportvidx`\">\n\n",
862 "x": 2565.668212890625,
863 "y": 1316.3024454116821,
864 "z": "ea31d3f9.c58ce",
872 "id": "273881de.ee082e",
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": 3747.6689834594727,
879 "y": 1225.6369161605835,
880 "z": "ea31d3f9.c58ce",
888 "id": "a2447b78.519d38",
891 "xml": "<outcome value=''>\n",
894 "x": 2737.096935272217,
895 "y": 1319.8741512298584,
896 "z": "ea31d3f9.c58ce",
904 "id": "f6e26890.4d8a38",
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": 2881.525650024414,
910 "y": 1322.0174312591553,
911 "z": "ea31d3f9.c58ce",
915 "id": "f4aa7045.eb114",
916 "type": "outcomeTrue",
918 "xml": "<outcome value='true'>\n",
921 "x": 3320.66819190979,
922 "y": 1230.636736869812,
923 "z": "ea31d3f9.c58ce",
931 "id": "b8659698.4fa9a8",
933 "name": "block atomic",
934 "xml": "<block atomic=\"true\">\n",
938 "x": 3699.6701984405518,
939 "y": 1309.6374425888062,
940 "z": "ea31d3f9.c58ce",
948 "id": "79f89faa.fb19f",
949 "type": "switchNode",
950 "name": "switch transportNetworkName",
951 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'transportNetworkName'`\">\n",
954 "x": 3917.6711139678955,
955 "y": 1307.6379308700562,
956 "z": "ea31d3f9.c58ce",
964 "id": "564bf8e9.5ea9e8",
966 "name": "set tmp.portvidx ",
967 "xml": "<set>\n<parameter name='tmp.portvidx' value='`$arvidx`' />\n\n",
969 "x": 3644.667995452881,
970 "y": 1183.6369037628174,
971 "z": "ea31d3f9.c58ce",
975 "id": "863adb79.9947c8",
976 "type": "outcomeTrue",
978 "xml": "<outcome value='true'>\n",
981 "x": 4114.671541213989,
982 "y": 1306.6380996704102,
983 "z": "ea31d3f9.c58ce",
991 "id": "662f75a8.5b0d6c",
993 "name": "set prop.hub.transportNetworkName",
994 "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",
996 "x": 4371.6733751297,
997 "y": 1506.2391166687012,
998 "z": "ea31d3f9.c58ce",
1002 "id": "372c4b67.d587a4",
1003 "type": "switchNode",
1004 "name": "switch prop.hub.transportNetworkName==prop.spoke.transportNetworkName",
1005 "xml": "<switch test=\"`$prop.hub.transportNetworkName == $prop.spoke.transportNetworkName`\">\n",
1008 "x": 2564.00431060791,
1009 "y": 1466.3046674728394,
1010 "z": "ea31d3f9.c58ce",
1019 "id": "ad67f3dd.ea7da",
1020 "type": "outcomeTrue",
1022 "xml": "<outcome value='true'>\n",
1025 "x": 2910.0038414001465,
1026 "y": 1503.3047413825989,
1027 "z": "ea31d3f9.c58ce",
1035 "id": "f32a34f9.fa2a88",
1036 "type": "outcomeTrue",
1038 "xml": "<outcome value='false'>\n",
1041 "x": 2904.004650115967,
1042 "y": 1440.3046016693115,
1043 "z": "ea31d3f9.c58ce",
1051 "id": "93fee3b6.b53b4",
1058 "x": 3034.004837036133,
1059 "y": 1440.3047542572021,
1060 "z": "ea31d3f9.c58ce",
1066 "id": "528bb6e8.287b28",
1068 "name": "block atomic",
1069 "xml": "<block atomic=\"true\">\n",
1073 "x": 1879.0322265625,
1074 "y": 944.8333101272583,
1075 "z": "ea31d3f9.c58ce",
1087 "id": "e393fec8.f9974",
1088 "type": "switchNode",
1089 "name": "switch vpnId",
1090 "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",
1093 "x": 2097.001266479492,
1094 "y": 703.6354351043701,
1095 "z": "ea31d3f9.c58ce",
1103 "id": "d6a90986.8eb118",
1104 "type": "outcomeTrue",
1106 "xml": "<outcome value='true'>\n",
1109 "x": 2241.001277923584,
1110 "y": 703.6354761123657,
1111 "z": "ea31d3f9.c58ce",
1119 "id": "c1f6fc9b.d909f",
1121 "name": "set prop.vpnId",
1122 "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",
1124 "x": 2399.0009994506836,
1125 "y": 702.2354106903076,
1126 "z": "ea31d3f9.c58ce",
1130 "id": "56fbb125.4613b",
1132 "name": "Set prop.hubTnpId",
1133 "xml": "<set>\n<parameter name='prop.hubTnpId' value='$prop.hub.wanPortId' />\n\n",
1135 "x": 2616.3368072509766,
1136 "y": 1739.6364259719849,
1137 "z": "ea31d3f9.c58ce",
1141 "id": "7c9721cc.23414",
1143 "name": "execute RestApiCallNode underlay route",
1144 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1147 "x": 3437.33624458313,
1148 "y": 2571.9708592891693,
1149 "z": "ea31d3f9.c58ce",
1158 "id": "d1ca729c.637d",
1161 "xml": "<outcome value='success'>\n",
1164 "x": 3704.3361530303955,
1165 "y": 2599.970888853073,
1166 "z": "ea31d3f9.c58ce",
1174 "id": "f29c10b7.ab96c",
1177 "xml": "<outcome value='failure'>\n",
1180 "x": 3702.335832595825,
1181 "y": 2555.97087931633,
1182 "z": "ea31d3f9.c58ce",
1190 "id": "31f4dc9.4459824",
1192 "name": "Add prop.hub.route",
1193 "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",
1195 "x": 3381.6696243286133,
1196 "y": 2528.637367248535,
1197 "z": "ea31d3f9.c58ce",
1201 "id": "bd1192a1.70e0b",
1203 "name": "execute RestApiCallNode underlay route",
1204 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
1207 "x": 3456.6696243286133,
1208 "y": 2670.637832403183,
1209 "z": "ea31d3f9.c58ce",
1218 "id": "7d49f976.fe2c38",
1221 "xml": "<outcome value='success'>\n",
1224 "x": 3708.669771194458,
1225 "y": 2699.6381289958954,
1226 "z": "ea31d3f9.c58ce",
1234 "id": "1372bf53.f8d271",
1237 "xml": "<outcome value='failure'>\n",
1240 "x": 3706.6694507598877,
1241 "y": 2655.638119459152,
1242 "z": "ea31d3f9.c58ce",
1250 "id": "1618d5.6f61e72c",
1251 "type": "returnFailure",
1252 "name": "return failure",
1253 "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",
1255 "x": 3996.6703186035156,
1256 "y": 2649.6383113861084,
1257 "z": "ea31d3f9.c58ce",
1261 "id": "64161d13.320da4",
1262 "type": "switchNode",
1263 "name": "switch ActivateSDWANDeviceInstance",
1264 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n \n \n\n",
1267 "x": 3103.532081604004,
1268 "y": 1265.8336944580078,
1269 "z": "ea31d3f9.c58ce",
1277 "id": "c2ac42b9.22b8d",
1278 "type": "switchNode",
1279 "name": "switch tmp.devicevidx ",
1280 "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
1283 "x": 2571.5316314697266,
1284 "y": 1358.4999265670776,
1285 "z": "ea31d3f9.c58ce",
1293 "id": "e36692fe.8d819",
1296 "xml": "<outcome value=''>\n",
1299 "x": 2737.9600677490234,
1300 "y": 1358.0714597702026,
1301 "z": "ea31d3f9.c58ce",
1309 "id": "3d811052.fd24c",
1310 "type": "returnFailure",
1311 "name": "return failure",
1312 "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",
1314 "x": 2878.388999938965,
1315 "y": 1360.2144346237183,
1316 "z": "ea31d3f9.c58ce",
1320 "id": "9f32e086.83793",
1321 "type": "outcomeTrue",
1323 "xml": "<outcome value='true'>\n",
1326 "x": 3331.531768798828,
1327 "y": 1263.8336954116821,
1328 "z": "ea31d3f9.c58ce",
1336 "id": "869ea93a.54ef48",
1338 "name": "set tmp.devicevidx ",
1339 "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$arvidx`' />\n\n",
1341 "x": 3486.531452178955,
1342 "y": 1263.8336944580078,
1343 "z": "ea31d3f9.c58ce",
1347 "id": "a305e869.75b198",
1348 "type": "switchNode",
1349 "name": "switch ActivateSiteInstance",
1350 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n \n \n\n",
1353 "x": 3066.5321521759033,
1354 "y": 1299.833758354187,
1355 "z": "ea31d3f9.c58ce",
1363 "id": "aae2a2df.f7cc",
1364 "type": "switchNode",
1365 "name": "switch tmp.sitevidx ",
1366 "xml": "<switch test=\"`$tmp.sitevidx`\">\n\n",
1369 "x": 2570.5315017700195,
1370 "y": 1396.4998044967651,
1371 "z": "ea31d3f9.c58ce",
1379 "id": "834ee4ef.5fe588",
1382 "xml": "<outcome value=''>\n",
1385 "x": 2730.959966659546,
1386 "y": 1396.0713243484497,
1387 "z": "ea31d3f9.c58ce",
1395 "id": "4979a718.8325b8",
1396 "type": "returnFailure",
1397 "name": "return failure",
1398 "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",
1400 "x": 2879.388921737671,
1401 "y": 1398.2143306732178,
1402 "z": "ea31d3f9.c58ce",
1406 "id": "ab60af44.1fc14",
1407 "type": "outcomeTrue",
1409 "xml": "<outcome value='true'>\n",
1412 "x": 3254.531717300415,
1413 "y": 1299.833924293518,
1414 "z": "ea31d3f9.c58ce",
1422 "id": "1aaf3b5d.3c7645",
1424 "name": "set tmp.sitevidx ",
1425 "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
1427 "x": 3409.531400680542,
1428 "y": 1299.8339233398438,
1429 "z": "ea31d3f9.c58ce",
1433 "id": "409305d5.93be5c",
1435 "name": "for loop deviceidx - Get wan port ID from servicedata",
1436 "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",
1439 "x": 2703.5333099365234,
1440 "y": 1781.8342418670654,
1441 "z": "ea31d3f9.c58ce",
1449 "id": "490623bf.f5be2c",
1450 "type": "switchNode",
1451 "name": "switch deviceId",
1452 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.devicevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
1455 "x": 3188.5345611572266,
1456 "y": 1712.8350954055786,
1457 "z": "ea31d3f9.c58ce",
1465 "id": "fe8795f9.d93fb8",
1466 "type": "outcomeTrue",
1468 "xml": "<outcome value='true'>\n",
1471 "x": 3339.5349349975586,
1472 "y": 1709.8353395462036,
1473 "z": "ea31d3f9.c58ce",
1481 "id": "9a7de836.6030f8",
1483 "name": "set prop.hub.deviceId",
1484 "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",
1486 "x": 3514.535182952881,
1487 "y": 1709.4358644485474,
1488 "z": "ea31d3f9.c58ce",
1492 "id": "e6c5f470.5c1408",
1494 "name": "for loop siteidx - Get site ID from servicedata",
1495 "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",
1498 "x": 2670.0331268310547,
1499 "y": 1843.8342113494873,
1500 "z": "ea31d3f9.c58ce",
1508 "id": "f647b09c.a81c",
1510 "name": "Add route src->dst, dst->src",
1513 "x": 3005.668716430664,
1514 "y": 1860.6360301971436,
1515 "z": "ea31d3f9.c58ce",
1519 "id": "2ed283b9.4ced6c",
1521 "name": "block atomic",
1522 "xml": "<block atomic=\"true\">\n",
1526 "x": 2115.334228515625,
1527 "y": 1221.968747138977,
1528 "z": "ea31d3f9.c58ce",
1541 "id": "8238d072.258df",
1543 "name": "block atmoic",
1544 "xml": "<block atomic=\"true\">\n",
1548 "x": 2370.333984375,
1549 "y": 1358.3021211624146,
1550 "z": "ea31d3f9.c58ce",
1560 "id": "6ddb13cd.d02b7c",
1562 "name": "block atomic",
1563 "xml": "<block atomic=\"true\">\n",
1567 "x": 2390.3350219726562,
1568 "y": 1730.635643005371,
1569 "z": "ea31d3f9.c58ce",
1581 "id": "53da0cfd.4e5c84",
1583 "name": "Add prop.spoke.route",
1584 "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",
1586 "x": 3391.533639907837,
1587 "y": 2639.3345935344696,
1588 "z": "ea31d3f9.c58ce",
1592 "id": "b99b3963.4b1368",
1593 "type": "returnSuccess",
1594 "name": "return success",
1595 "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",
1597 "x": 340.3343048095703,
1598 "y": 1096.3343391418457,
1599 "z": "ea31d3f9.c58ce",
1603 "id": "9692ac6c.5b398",
1605 "name": "generate connection attachment AR url ",
1606 "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",
1609 "x": 1389.6672058105469,
1610 "y": 158.30183696746826,
1611 "z": "ea31d3f9.c58ce",
1617 "id": "a88c4be0.5a96c8",
1619 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1620 "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",
1623 "x": 1516.667236328125,
1624 "y": 206.3018274307251,
1625 "z": "ea31d3f9.c58ce",
1634 "id": "fa697270.9a4c6",
1636 "name": "execute RestApiCallNode - get parent service data",
1637 "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",
1640 "x": 1741.0013885498047,
1641 "y": 540.3021411895752,
1642 "z": "ea31d3f9.c58ce",
1651 "id": "9c710564.f70308",
1653 "name": "generate connection attachment parent url ",
1654 "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",
1657 "x": 1718.0010375976562,
1658 "y": 486.30206871032715,
1659 "z": "ea31d3f9.c58ce",
1665 "id": "b113d667.018288",
1667 "name": "full mesh do nothing",
1670 "x": 1552.667839050293,
1671 "y": 697.3021068572998,
1672 "z": "ea31d3f9.c58ce",
1676 "id": "9c493d3a.013fd",
1678 "name": "hub-spoke",
1681 "x": 2553.6672401428223,
1682 "y": 794.3019967079163,
1683 "z": "ea31d3f9.c58ce",
1687 "id": "9540984f.e97fb8",
1689 "name": "generate connection attachment AR url ",
1690 "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",
1693 "x": 2226.0003929138184,
1694 "y": 945.3019919395447,
1695 "z": "ea31d3f9.c58ce",
1701 "id": "b384d688.b2dd28",
1703 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1704 "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",
1707 "x": 2357.000473022461,
1708 "y": 984.9686217308044,
1709 "z": "ea31d3f9.c58ce",
1718 "id": "a06e1b02.e2dcb8",
1720 "name": "generate service data url",
1721 "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",
1724 "x": 2407.504367828369,
1725 "y": 1186.3058919906616,
1726 "z": "ea31d3f9.c58ce",
1732 "id": "5f595aa8.cf14c4",
1734 "name": "execute RestApiCallNode - get service data of allotted resource",
1735 "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",
1738 "x": 2523.5045013427734,
1739 "y": 1223.3057832717896,
1740 "z": "ea31d3f9.c58ce",
1749 "id": "10c92564.7d8f7b",
1750 "type": "outcomeTrue",
1752 "xml": "<outcome value='true'>\n",
1755 "x": 2287.5000648498535,
1756 "y": 1108.8018560409546,
1757 "z": "ea31d3f9.c58ce",
1765 "id": "d2d633b9.72ffd",
1766 "type": "outcomeFalse",
1768 "xml": "<outcome value='false'>\n",
1771 "x": 2293.500312805176,
1772 "y": 1065.801947593689,
1773 "z": "ea31d3f9.c58ce",
1781 "id": "c22c6bf7.654618",
1783 "name": "for loop roleidx - Get role from allotted resource",
1784 "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",
1787 "x": 2868.5008697509766,
1788 "y": 213.30177307128906,
1789 "z": "ea31d3f9.c58ce",
1797 "id": "1e62939f.a940cc",
1804 "x": 3127.5011825561523,
1805 "y": 212.3020887374878,
1806 "z": "ea31d3f9.c58ce",
1814 "id": "6368cbef.0c0714",
1815 "type": "switchNode",
1816 "name": "switch Role",
1817 "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",
1820 "x": 3276.501194000244,
1821 "y": 213.3019256591797,
1822 "z": "ea31d3f9.c58ce",
1830 "id": "9865389f.19f678",
1832 "name": "set prop.spoke.role",
1833 "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",
1835 "x": 3581.501754760742,
1836 "y": 210.90183353424072,
1837 "z": "ea31d3f9.c58ce",
1841 "id": "602b9a1d.1f8fa4",
1842 "type": "outcomeTrue",
1844 "xml": "<outcome value='true'>\n",
1847 "x": 3412.00101852417,
1848 "y": 210.30176544189453,
1849 "z": "ea31d3f9.c58ce",
1857 "id": "c78c1bff.286648",
1858 "type": "switchNode",
1859 "name": "switch spoke",
1860 "xml": "<switch test=\"`$prop.spoke.role == 'spoke'`\">\n",
1863 "x": 1304.000373840332,
1864 "y": 357.301700592041,
1865 "z": "ea31d3f9.c58ce",
1873 "id": "45674b4e.4d0684",
1874 "type": "outcomeTrue",
1876 "xml": "<outcome value='true'>\n",
1879 "x": 1445.000129699707,
1880 "y": 358.30173778533936,
1881 "z": "ea31d3f9.c58ce",
1889 "id": "c6974a98.f8b038",
1891 "name": "for i.. service-data.vnfs.vnf_length[]",
1892 "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
1895 "x": 1717.5006561279297,
1896 "y": 412.3017330169678,
1897 "z": "ea31d3f9.c58ce",
1905 "id": "74ae021f.4e878c",
1907 "name": "block atmoic",
1908 "xml": "<block atomic=\"true\">\n",
1912 "x": 2051.166847229004,
1913 "y": 356.3016633987427,
1914 "z": "ea31d3f9.c58ce",
1924 "id": "e5568bc9.6c4a18",
1925 "type": "switchNode",
1926 "name": "switch ActivateSDWANPortInstance",
1927 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n \n \n\n",
1930 "x": 2322.1668853759766,
1931 "y": 302.3025498390198,
1932 "z": "ea31d3f9.c58ce",
1940 "id": "730af204.11fefc",
1941 "type": "outcomeTrue",
1943 "xml": "<outcome value='true'>\n",
1946 "x": 2535.166648864746,
1947 "y": 303.3025527000427,
1948 "z": "ea31d3f9.c58ce",
1956 "id": "90e7c80d.95a148",
1958 "name": "block atomic",
1959 "xml": "<block atomic=\"true\">\n",
1963 "x": 2684.0003929138184,
1964 "y": 305.3017420768738,
1965 "z": "ea31d3f9.c58ce",
1973 "id": "993b2158.a7204",
1975 "name": "for loop widx - Get wan port ID from servicedata",
1976 "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",
1979 "x": 2957.000343322754,
1980 "y": 303.6689600944519,
1981 "z": "ea31d3f9.c58ce",
1989 "id": "a8fb6ac2.404148",
1991 "name": "block atomic",
1992 "xml": "<block atomic=\"true\">\n",
1996 "x": 3226.0012702941895,
1997 "y": 302.66920614242554,
1998 "z": "ea31d3f9.c58ce",
2009 "id": "f56203d5.44648",
2010 "type": "switchNode",
2011 "name": "switch transportNetworkName",
2012 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'transportNetworkName'`\">\n",
2015 "x": 3469.0023040771484,
2016 "y": 257.6697793006897,
2017 "z": "ea31d3f9.c58ce",
2025 "id": "c1622f74.5acec",
2026 "type": "outcomeTrue",
2028 "xml": "<outcome value='true'>\n",
2031 "x": 3669.0020790100098,
2032 "y": 257.6699414253235,
2033 "z": "ea31d3f9.c58ce",
2041 "id": "484c0f29.65918",
2043 "name": "set prop.spoke.transportNetworkName",
2044 "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",
2046 "x": 3896.002815246582,
2047 "y": 259.2705235481262,
2048 "z": "ea31d3f9.c58ce",
2052 "id": "44bfeb73.8a2794",
2054 "name": "block: atomic",
2055 "xml": "<block atomic=\"true\">\n",
2059 "x": 1197.9694213867188,
2060 "y": 668.2706489562988,
2061 "z": "ea31d3f9.c58ce",
2076 "id": "10bef5c5.4c95ea",
2077 "type": "switchNode",
2078 "name": "switch ActivateSDWANDeviceInstance",
2079 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n \n \n\n",
2082 "x": 2314.5003204345703,
2083 "y": 376.3017544746399,
2084 "z": "ea31d3f9.c58ce",
2092 "id": "3b1b3b34.55a514",
2093 "type": "outcomeTrue",
2095 "xml": "<outcome value='true'>\n",
2098 "x": 2533.5000705718994,
2099 "y": 377.30173921585083,
2100 "z": "ea31d3f9.c58ce",
2108 "id": "371f6a10.c50d56",
2110 "name": "block atomic",
2111 "xml": "<block atomic=\"true\">\n",
2115 "x": 2684.3340606689453,
2116 "y": 383.3009305000305,
2117 "z": "ea31d3f9.c58ce",
2125 "id": "53996c8e.9b7f34",
2127 "name": "for loop didx - Get device ID from servicedata",
2128 "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",
2131 "x": 2943.334312438965,
2132 "y": 385.66822576522827,
2133 "z": "ea31d3f9.c58ce",
2141 "id": "f263db9e.f44158",
2143 "name": "block atomic",
2144 "xml": "<block atomic=\"true\">\n",
2148 "x": 3229.334819793701,
2149 "y": 418.66841077804565,
2150 "z": "ea31d3f9.c58ce",
2158 "id": "5249df60.eaa65",
2159 "type": "switchNode",
2160 "name": "switch deviceId",
2161 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].name == 'deviceId'`\">\n",
2164 "x": 3412.3357315063477,
2165 "y": 418.66902112960815,
2166 "z": "ea31d3f9.c58ce",
2174 "id": "78ddeb0.2bf8314",
2175 "type": "outcomeTrue",
2177 "xml": "<outcome value='true'>\n",
2180 "x": 3612.335506439209,
2181 "y": 418.66918325424194,
2182 "z": "ea31d3f9.c58ce",
2190 "id": "842e3e5c.4cad",
2192 "name": "set prop.spoke.deviceId",
2193 "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",
2195 "x": 3807.3361892700195,
2196 "y": 415.26976442337036,
2197 "z": "ea31d3f9.c58ce",
2201 "id": "d2557f72.d615e",
2202 "type": "switchNode",
2203 "name": "switch ActivateSiteInstance",
2204 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n \n \n\n",
2207 "x": 2293.5004348754883,
2208 "y": 437.30178594589233,
2209 "z": "ea31d3f9.c58ce",
2217 "id": "1c713318.89265d",
2218 "type": "outcomeTrue",
2220 "xml": "<outcome value='true'>\n",
2223 "x": 2527.500072479248,
2224 "y": 438.3017258644104,
2225 "z": "ea31d3f9.c58ce",
2233 "id": "ed702e21.07c0b",
2235 "name": "block atomic",
2236 "xml": "<block atomic=\"true\">\n",
2240 "x": 2679.3340606689453,
2241 "y": 460.30096197128296,
2242 "z": "ea31d3f9.c58ce",
2251 "id": "8ec1a47c.55b508",
2253 "name": "for loop widx - Get wan site ID from servicedata",
2254 "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",
2257 "x": 2960.3338928222656,
2258 "y": 459.668164730072,
2259 "z": "ea31d3f9.c58ce",
2267 "id": "edd6a6a1.36e3f8",
2269 "name": "block atomic",
2270 "xml": "<block atomic=\"true\">\n",
2274 "x": 3229.334819793701,
2275 "y": 458.66841077804565,
2276 "z": "ea31d3f9.c58ce",
2286 "id": "12472c4.5235bd4",
2287 "type": "switchNode",
2288 "name": "switch siteId",
2289 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'siteId'`\">\n",
2292 "x": 3418.33602142334,
2293 "y": 508.66908264160156,
2294 "z": "ea31d3f9.c58ce",
2302 "id": "3940a3b0.f06d3c",
2303 "type": "outcomeTrue",
2305 "xml": "<outcome value='true'>\n",
2308 "x": 3618.3354988098145,
2309 "y": 496.66919708251953,
2310 "z": "ea31d3f9.c58ce",
2318 "id": "bc674b05.78b928",
2320 "name": "set prop.spoke.siteId",
2321 "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",
2323 "x": 3811.336452484131,
2324 "y": 503.26982736587524,
2325 "z": "ea31d3f9.c58ce",
2329 "id": "844331fb.21709",
2330 "type": "switchNode",
2331 "name": "switch wanPortId",
2332 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'wanPortId'`\">\n",
2336 "y": 294.3018355369568,
2337 "z": "ea31d3f9.c58ce",
2345 "id": "6b71a698.d33fe8",
2346 "type": "outcomeTrue",
2348 "xml": "<outcome value='true'>\n",
2351 "x": 3672.5000038146973,
2352 "y": 294.3019471168518,
2353 "z": "ea31d3f9.c58ce",
2361 "id": "92bbf4e4.47a9a8",
2363 "name": "set prop.spoke.wanPortId",
2364 "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",
2366 "x": 3899.5007400512695,
2367 "y": 295.90252923965454,
2368 "z": "ea31d3f9.c58ce",
2372 "id": "c8a276bd.330448",
2373 "type": "switchNode",
2374 "name": "switch providerIpAddress",
2375 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'providerIpAddress'`\">\n",
2378 "x": 3460.500160217285,
2379 "y": 338.30178594589233,
2380 "z": "ea31d3f9.c58ce",
2388 "id": "adb74c6c.ec9a",
2389 "type": "outcomeTrue",
2391 "xml": "<outcome value='true'>\n",
2394 "x": 3660.4999351501465,
2395 "y": 338.3019480705261,
2396 "z": "ea31d3f9.c58ce",
2404 "id": "1ca4e423.ffe23c",
2406 "name": "set prop.spoke.providerIpAddress",
2407 "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",
2409 "x": 3887.5006713867188,
2410 "y": 339.90253019332886,
2411 "z": "ea31d3f9.c58ce",
2415 "id": "878dc9b3.754498",
2416 "type": "switchNode",
2417 "name": "switch ipAddress",
2418 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'ipAddress'`\">\n",
2421 "x": 3440.499988555908,
2422 "y": 377.30182218551636,
2423 "z": "ea31d3f9.c58ce",
2431 "id": "728cf41e.771a8c",
2432 "type": "outcomeTrue",
2434 "xml": "<outcome value='true'>\n",
2437 "x": 3664.4998168945312,
2438 "y": 377.3019394874573,
2439 "z": "ea31d3f9.c58ce",
2447 "id": "dd2dd25f.6f587",
2449 "name": "set prop.spoke.ipAddress",
2450 "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",
2452 "x": 3891.5005531311035,
2453 "y": 378.90252161026,
2454 "z": "ea31d3f9.c58ce",
2458 "id": "ad0a3663.ab8598",
2460 "name": "block: atomic",
2461 "xml": "<block atomic=\"true\">\n",
2465 "x": 1007.9999008178711,
2466 "y": 236.50004196166992,
2467 "z": "ea31d3f9.c58ce",
2478 "id": "688f910f.1fade",
2480 "name": "get spoke device,site,wanport info",
2484 "y": 359.96874713897705,
2485 "z": "ea31d3f9.c58ce",
2489 "id": "74cacf6d.c151",
2491 "name": "Add routes only on activation of spoke Attach site",
2494 "x": 1425.4999160766602,
2495 "y": 303.00006103515625,
2496 "z": "ea31d3f9.c58ce",
2500 "id": "3d6571cf.a0a37e",
2502 "name": "Loop for all the hub allotted resources, get respective service data and get vnfs info",
2506 "y": 798.500057220459,
2507 "z": "ea31d3f9.c58ce",
2511 "id": "ee5b33c3.334cb",
2513 "name": "block atomic",
2514 "xml": "<block atomic=\"true\">\n",
2518 "x": 2945.4998321533203,
2519 "y": 1819.000135421753,
2520 "z": "ea31d3f9.c58ce",
2529 "id": "f3da0084.2ed3d",
2531 "name": "block atomic",
2532 "xml": "<block atomic=\"true\">\n",
2536 "x": 3012.4998321533203,
2537 "y": 1715.0000114440918,
2538 "z": "ea31d3f9.c58ce",
2546 "id": "c17add8f.67a28",
2547 "type": "switchNode",
2548 "name": "switch siteId",
2549 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n",
2552 "x": 3122.499641418457,
2553 "y": 1790.9998016357422,
2554 "z": "ea31d3f9.c58ce",
2562 "id": "dbd1bbe9.db4a58",
2563 "type": "outcomeTrue",
2565 "xml": "<outcome value='true'>\n",
2568 "x": 3273.500011444092,
2569 "y": 1789.999984741211,
2570 "z": "ea31d3f9.c58ce",
2578 "id": "5c117986.38cf28",
2580 "name": "set prop.hub.siteId",
2581 "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",
2583 "x": 3445.5000190734863,
2584 "y": 1787.6005535125732,
2585 "z": "ea31d3f9.c58ce",
2589 "id": "74f0a419.baab7c",
2590 "type": "switchNode",
2591 "name": "switch request-action",
2592 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
2595 "x": 2598.9997482299805,
2596 "y": 2143.0004453659058,
2597 "z": "ea31d3f9.c58ce",
2606 "id": "8a79d931.696778",
2608 "name": "ActivateSDWANAttachmentInstance",
2609 "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
2612 "x": 2869.0271530151367,
2613 "y": 1954.0314779281616,
2614 "z": "ea31d3f9.c58ce",
2622 "id": "a7156e9f.23a1b",
2624 "name": "execute RestApiCallNode underlay route",
2625 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
2628 "x": 3457.500099182129,
2629 "y": 1883.0003824234009,
2630 "z": "ea31d3f9.c58ce",
2639 "id": "4ebe8079.3f11c",
2642 "xml": "<outcome value='success'>\n",
2645 "x": 3704.499927520752,
2646 "y": 1862.0002145767212,
2647 "z": "ea31d3f9.c58ce",
2655 "id": "3761bb2b.afc314",
2658 "xml": "<outcome value='failure'>\n",
2661 "x": 3702.4996070861816,
2662 "y": 1818.000205039978,
2663 "z": "ea31d3f9.c58ce",
2671 "id": "e4f1543b.8ca618",
2672 "type": "returnFailure",
2673 "name": "return failure",
2674 "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",
2676 "x": 3980.500762939453,
2677 "y": 1796.0005054473877,
2678 "z": "ea31d3f9.c58ce",
2682 "id": "54f01fb1.eab0c",
2684 "name": "Add prop.hub.route",
2685 "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",
2687 "x": 3392.8337020874023,
2688 "y": 1853.666922569275,
2689 "z": "ea31d3f9.c58ce",
2693 "id": "b0e30676.c2a618",
2695 "name": "execute RestApiCallNode underlay route",
2696 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
2699 "x": 3474.834144592285,
2700 "y": 2088.6675004959106,
2701 "z": "ea31d3f9.c58ce",
2710 "id": "51decbd4.61a7c4",
2713 "xml": "<outcome value='success'>\n",
2716 "x": 3726.83424949646,
2717 "y": 2076.667459964752,
2718 "z": "ea31d3f9.c58ce",
2726 "id": "ad299c2d.b630e",
2729 "xml": "<outcome value='failure'>\n",
2732 "x": 3724.8339290618896,
2733 "y": 2032.667450428009,
2734 "z": "ea31d3f9.c58ce",
2742 "id": "c9cf02e0.97d29",
2743 "type": "returnFailure",
2744 "name": "return failure",
2745 "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",
2747 "x": 3879.8350524902344,
2748 "y": 1982.6677513122559,
2749 "z": "ea31d3f9.c58ce",
2753 "id": "2726f205.443f6e",
2755 "name": "Add prop.spoke.route",
2756 "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",
2758 "x": 3415.6980171203613,
2759 "y": 2051.3642127513885,
2760 "z": "ea31d3f9.c58ce",
2764 "id": "72173b95.fc02b4",
2766 "name": "set prop.underlay.routeIds",
2767 "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",
2769 "x": 3425.665542602539,
2770 "y": 2211.0309886932373,
2771 "z": "ea31d3f9.c58ce",
2775 "id": "c591ad14.b9dd7",
2777 "name": "block atomic",
2778 "xml": "<block atomic=\"true\">\n",
2782 "x": 3104.999671936035,
2783 "y": 1951.4999113082886,
2784 "z": "ea31d3f9.c58ce",
2801 "id": "58ea94fe.88fe4c",
2803 "name": "block atomic",
2804 "xml": "<block atomic=\"true\">\n",
2808 "x": 3136.9997749328613,
2809 "y": 2593.5002613067627,
2810 "z": "ea31d3f9.c58ce",
2824 "id": "c7717ba5.717ea8",
2826 "name": "DeactivateSDWANAttachmentInstance",
2827 "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
2830 "x": 2885.4998321533203,
2831 "y": 2587.500072479248,
2832 "z": "ea31d3f9.c58ce",
2840 "id": "77b69608.7345f8",
2842 "name": "Add sites to list and update length",
2843 "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",
2845 "x": 3430.0318298339844,
2846 "y": 2336.0318689346313,
2847 "z": "ea31d3f9.c58ce",
2851 "id": "fd537752.3855d8",
2853 "name": "save hubsiteIds and spoke siteIds for provision",
2856 "x": 3462.0322036743164,
2857 "y": 2292.0317430496216,
2858 "z": "ea31d3f9.c58ce",
2862 "id": "96a23bd5.060968",
2863 "type": "switchNode",
2864 "name": "switch name",
2865 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'name'`\">\n",
2868 "x": 3419.031005859375,
2870 "z": "ea31d3f9.c58ce",
2878 "id": "7dad2dd.add95d4",
2879 "type": "outcomeTrue",
2881 "xml": "<outcome value='true'>\n",
2884 "x": 3619.0307807922363,
2885 "y": 458.0314121246338,
2886 "z": "ea31d3f9.c58ce",
2894 "id": "deeabd26.1be7b",
2896 "name": "set prop.spoke.siteName",
2897 "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",
2899 "x": 3807.0315856933594,
2900 "y": 456.63202571868896,
2901 "z": "ea31d3f9.c58ce",
2905 "id": "229bba7c.508e96",
2906 "type": "switchNode",
2907 "name": "switch name",
2908 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'name'`\">\n",
2911 "x": 3121.0310287475586,
2912 "y": 1757.5311088562012,
2913 "z": "ea31d3f9.c58ce",
2921 "id": "980f0d4f.cfeac",
2922 "type": "outcomeTrue",
2924 "xml": "<outcome value='true'>\n",
2927 "x": 3272.0313987731934,
2928 "y": 1756.53129196167,
2929 "z": "ea31d3f9.c58ce",
2937 "id": "bc242aa.e7cd1d8",
2939 "name": "set prop.hub.siteName",
2940 "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",
2942 "x": 3444.031406402588,
2943 "y": 1754.1318607330322,
2944 "z": "ea31d3f9.c58ce",
2948 "id": "962ad5c3.0da1a8",
2950 "name": "set prop.provision.siteIds_length=0",
2951 "xml": "<set>\n<parameter name='prop.provision.siteIds_length' value='0' />\n\n\n\n",
2953 "x": 444.03126525878906,
2954 "y": 344.0312547683716,
2955 "z": "ea31d3f9.c58ce",
2959 "id": "ba15291d.217778",
2961 "name": "execute RestApiCallNode site provision urls",
2962 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
2965 "x": 796.0312957763672,
2966 "y": 776.0314712524414,
2967 "z": "ea31d3f9.c58ce",
2976 "id": "e8831f50.130f7",
2979 "xml": "<outcome value='success'>\n",
2982 "x": 1060.0315551757812,
2983 "y": 798.0315160751343,
2984 "z": "ea31d3f9.c58ce",
2990 "id": "863c45b0.87f298",
2993 "xml": "<outcome value='failure'>\n",
2996 "x": 1061.0313415527344,
2997 "y": 755.0314540863037,
2998 "z": "ea31d3f9.c58ce",
3006 "id": "f11e1d9d.f9f63",
3007 "type": "returnFailure",
3008 "name": "return failure",
3009 "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",
3011 "x": 1206.0318641662598,
3012 "y": 753.0314922332764,
3013 "z": "ea31d3f9.c58ce",
3017 "id": "da982ae7.c19088",
3019 "name": "for providx..prop.provision.siteIds[]",
3020 "xml": "<for index='providx' start='0' end='`$prop.provision.siteIds_length`' >\n",
3023 "x": 437.0312957763672,
3024 "y": 548.0312948226929,
3025 "z": "ea31d3f9.c58ce",
3033 "id": "2d873e7f.4b1bc2",
3035 "name": "block atmoic",
3036 "xml": "<block atomic=\"true\">\n",
3040 "x": 461.0313377380371,
3041 "y": 758.031268119812,
3042 "z": "ea31d3f9.c58ce",
3052 "id": "50fee5f7.6d296c",
3054 "name": "set prop.spoke.hubSiteId, spokeSiteId",
3055 "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",
3057 "x": 772.0339965820312,
3058 "y": 634.6329832077026,
3059 "z": "ea31d3f9.c58ce",
3063 "id": "89a54eb6.e2142",
3065 "name": "record provision url response to the file",
3066 "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",
3069 "x": 768.0313720703125,
3070 "y": 870.0313358306885,
3071 "z": "ea31d3f9.c58ce",
3077 "id": "94a7fcab.3f18",
3079 "name": "block atmoic",
3080 "xml": "<block atomic=\"true\">\n",
3084 "x": 2510.031482696533,
3085 "y": 1025.0313262939453,
3086 "z": "ea31d3f9.c58ce",
3094 "id": "d063fbaf.bf9cb8",
3096 "name": "block atmoic",
3097 "xml": "<block atomic=\"true\">\n",
3101 "x": 1990.0311584472656,
3102 "y": 588.0313091278076,
3103 "z": "ea31d3f9.c58ce",
3111 "id": "a24202ba.c8c7c",
3113 "name": "block atmoic",
3114 "xml": "<block atomic=\"true\">\n",
3118 "x": 1934.0313262939453,
3119 "y": 679.0312175750732,
3120 "z": "ea31d3f9.c58ce",
3129 "id": "541b6902.dd6b58",
3131 "name": "set prop.underlay.routeIds_length++",
3132 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n\n\n\n\n",
3134 "x": 3455.0011596679688,
3135 "y": 2247.250065803528,
3136 "z": "ea31d3f9.c58ce",
3140 "id": "75459c33.78c964",
3142 "name": "Update prop.provision.siteIds_length",
3143 "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",
3145 "x": 3438.5009002685547,
3146 "y": 2371.2501611709595,
3147 "z": "ea31d3f9.c58ce",
3151 "id": "68bdc58a.c36e2c",
3153 "name": "set prop.spoke.siteidx",
3154 "xml": "<set>\n<parameter name='prop.spoke.siteidx' value='`$i`' />\n\n",
3156 "x": 2878.7501907348633,
3157 "y": 424.0000286102295,
3158 "z": "ea31d3f9.c58ce",
3162 "id": "8706bf22.e777d",
3164 "name": "set underlay route ids to service data",
3165 "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",
3167 "x": 1901.0006408691406,
3168 "y": 1911.0003986358643,
3169 "z": "ea31d3f9.c58ce",
3173 "id": "546d6174.f994f",
3175 "name": "set prop.underlay.routeIds_length=0",
3176 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='0' />\n\n\n\n",
3178 "x": 448.9961242675781,
3179 "y": 295.9961128234863,
3180 "z": "ea31d3f9.c58ce",
3184 "id": "de488f87.4a5ee",
3186 "name": "for loop uidx - Get route Id from prop.underlay.routeIds",
3187 "xml": "<for index=\"uidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n \n \n",
3190 "x": 3492.6630325317383,
3191 "y": 2466.3295001983643,
3192 "z": "ea31d3f9.c58ce",
3200 "id": "b94dca1b.799658",
3202 "name": "block atomic",
3203 "xml": "<block atomic=\"true\">\n",
3207 "x": 3784.3297271728516,
3208 "y": 2466.3295001983643,
3209 "z": "ea31d3f9.c58ce",
3217 "id": "f30a5bcf.2eba98",
3218 "type": "switchNode",
3219 "name": "switch prop.hub.siteId",
3220 "xml": "<switch test=\"`$prop.underlay.routeIds[$uidx].hubSiteId == $prop.hub.siteId`\">\n",
3223 "x": 3973.3297424316406,
3224 "y": 2466.3296632766724,
3225 "z": "ea31d3f9.c58ce",
3233 "id": "9e731b50.667688",
3234 "type": "outcomeTrue",
3236 "xml": "<outcome value='true'>\n",
3239 "x": 4144.329177856445,
3240 "y": 2466.329662322998,
3241 "z": "ea31d3f9.c58ce",
3249 "id": "34e4e4e1.bf23ec",
3251 "name": "block atomic",
3252 "xml": "<block atomic=\"true\">\n",
3256 "x": 4298.329177856445,
3257 "y": 2470.3296699523926,
3258 "z": "ea31d3f9.c58ce",
3266 "id": "7f01b9d0.ef7bc8",
3268 "name": "set prop.hubRouteId prop.spokeRouteId",
3269 "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",
3271 "x": 4384.32918548584,
3272 "y": 2542.32967376709,
3273 "z": "ea31d3f9.c58ce",
3277 "id": "af471c20.d9cb7",
3278 "type": "switchNode",
3279 "name": "switch underlayRouteIds",
3280 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'underlayRouteIds'`\">\n",
3284 "y": 562.6627197265625,
3285 "z": "ea31d3f9.c58ce",
3293 "id": "3c3b3752.f46c08",
3294 "type": "outcomeTrue",
3296 "xml": "<outcome value='true'>\n",
3299 "x": 3623.9955711364746,
3300 "y": 550.6628341674805,
3301 "z": "ea31d3f9.c58ce",
3309 "id": "a4a704fd.090458",
3311 "name": "set prop.underlay.routeIds",
3312 "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",
3314 "x": 3994.996971130371,
3315 "y": 550.2635440826416,
3316 "z": "ea31d3f9.c58ce",
3320 "id": "3da7a5e7.865d8a",
3321 "type": "switchNode",
3322 "name": "switch request-action",
3323 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
3326 "x": 1110.9963836669922,
3327 "y": 2002.329628944397,
3328 "z": "ea31d3f9.c58ce",
3337 "id": "1f1cb6fc.4dc6b9",
3339 "name": "ActivateSDWANAttachmentInstance",
3340 "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
3343 "x": 1374.9964294433594,
3344 "y": 1957.329626083374,
3345 "z": "ea31d3f9.c58ce",
3353 "id": "3f4012bd.4d4d2e",
3355 "name": "block atomic",
3356 "xml": "<block atomic=\"true\">\n",
3360 "x": 1616.9689407348633,
3361 "y": 1953.7983770370483,
3362 "z": "ea31d3f9.c58ce",
3373 "id": "1834840f.e68edc",
3375 "name": "block atomic",
3376 "xml": "<block atomic=\"true\">\n",
3380 "x": 1620.9689292907715,
3381 "y": 2037.7985458374023,
3382 "z": "ea31d3f9.c58ce",
3390 "id": "a206c36a.2d39f",
3392 "name": "DeactivateSDWANAttachmentInstance",
3393 "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
3396 "x": 1372.4690704345703,
3397 "y": 2039.7983827590942,
3398 "z": "ea31d3f9.c58ce",
3406 "id": "92497dd5.46538",
3408 "name": "set input parameter length -1",
3409 "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",
3411 "x": 1849.6626281738281,
3412 "y": 2036.32963180542,
3413 "z": "ea31d3f9.c58ce",
3417 "id": "9af7165e.2d5758",
3419 "name": "Get route routes IDs",
3422 "x": 3392.3294982910156,
3423 "y": 2427.6627368927,
3424 "z": "ea31d3f9.c58ce",
3428 "id": "cb472a7b.dc7d38",
3430 "name": "set underlay route ids to service data",
3431 "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",
3433 "x": 1890.329574584961,
3434 "y": 1985.662672996521,
3435 "z": "ea31d3f9.c58ce",
3439 "id": "879af91.a400b08",
3441 "name": "for jidx paramidx - Get topology from servicedata",
3442 "xml": "<for index=\"jidx\" start=\"0\" end=\"`$prop.underlay.routeIds_length`\">\n \n \n",
3445 "x": 1979.3294982910156,
3446 "y": 1532.329444885254,
3447 "z": "ea31d3f9.c58ce",
3455 "id": "3e5fe1f4.4771be",
3457 "name": "execute concat",
3458 "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",
3461 "x": 2163.329833984375,
3462 "y": 1665.9966478347778,
3463 "z": "ea31d3f9.c58ce",
3469 "id": "328df7f4.d9d5f8",
3471 "name": "execute concat",
3472 "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",
3475 "x": 2173.3298263549805,
3476 "y": 1618.6629858016968,
3477 "z": "ea31d3f9.c58ce",
3483 "id": "cdfd8790.f983d8",
3485 "name": "block atomic",
3486 "xml": "<block atomic=\"true\">\n",
3490 "x": 1886.329517364502,
3491 "y": 1717.6627750396729,
3492 "z": "ea31d3f9.c58ce",
3505 "id": "413e65c4.2ce4ac",
3507 "name": "execute concat",
3508 "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",
3511 "x": 2170.3295364379883,
3512 "y": 1705.6628789901733,
3513 "z": "ea31d3f9.c58ce",
3519 "id": "ce595947.f7b1e8",
3521 "name": "execute concat",
3522 "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",
3525 "x": 2170.3295364379883,
3526 "y": 1741.6628789901733,
3527 "z": "ea31d3f9.c58ce",
3533 "id": "41c2276f.7ab7c8",
3535 "name": "execute concat",
3536 "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",
3539 "x": 2163.3295364379883,
3540 "y": 1781.9962530136108,
3541 "z": "ea31d3f9.c58ce",
3547 "id": "a2941eac.dd47a",
3549 "name": "execute concat",
3550 "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",
3553 "x": 2166.329475402832,
3554 "y": 1836.6627922058105,
3555 "z": "ea31d3f9.c58ce",
3561 "id": "93dcb194.e6988",
3563 "name": "Set tmp.routeString",
3564 "xml": "<set>\n<parameter name='tmp.routeString' value=\"\" />\n\n",
3566 "x": 1883.3294982910156,
3567 "y": 1473.6627759933472,
3568 "z": "ea31d3f9.c58ce",
3572 "id": "981ac32e.958e4",
3574 "name": "block atomic",
3575 "xml": "<block atomic=\"true\">\n",
3579 "x": 3771.9963188171387,
3580 "y": 596.9961318969727,
3581 "z": "ea31d3f9.c58ce",
3590 "id": "474a807.5a3348",
3592 "name": "execute split |",
3593 "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",
3596 "x": 3949.9963302612305,
3597 "y": 616.9961318969727,
3598 "z": "ea31d3f9.c58ce",
3607 "id": "acedb986.795fa8",
3610 "xml": "<outcome value='success'>\n",
3613 "x": 4126.9963455200195,
3614 "y": 597.9961309432983,
3615 "z": "ea31d3f9.c58ce",
3623 "id": "5c929964.4b8ce8",
3626 "xml": "<outcome value='failure'>\n",
3629 "x": 4115.9963455200195,
3630 "y": 645.996132850647,
3631 "z": "ea31d3f9.c58ce",
3639 "id": "62992e2c.a242f",
3641 "name": "set ipAddress prefixLength",
3642 "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]`' />",
3644 "x": 5312.997211456299,
3645 "y": 531.9963731765747,
3646 "z": "ea31d3f9.c58ce",
3650 "id": "90fc0aec.112218",
3657 "x": 4245.996349334717,
3658 "y": 645.996132850647,
3659 "z": "ea31d3f9.c58ce",
3665 "id": "96ac3ef1.0da81",
3667 "name": "for loop ridx ",
3668 "xml": "<for index=\"ridx\" start=\"0\" end=\"`$prop.underlay.routeIdsValue_length`\">\n \n \n",
3671 "x": 4272.996032714844,
3672 "y": 595.9961309432983,
3673 "z": "ea31d3f9.c58ce",
3681 "id": "94fe12e4.b3272",
3683 "name": "block atomic",
3684 "xml": "<block atomic=\"true\">\n",
3688 "x": 4451.329044342041,
3689 "y": 592.9961318969727,
3690 "z": "ea31d3f9.c58ce",
3698 "id": "bc1b307a.e9066",
3700 "name": "execute split ,",
3701 "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",
3704 "x": 4626.329055786133,
3705 "y": 591.996129989624,
3706 "z": "ea31d3f9.c58ce",
3715 "id": "479c7699.d03df8",
3718 "xml": "<outcome value='success'>\n",
3721 "x": 4783.32905960083,
3722 "y": 568.9961376190186,
3723 "z": "ea31d3f9.c58ce",
3731 "id": "992b4620.1b2238",
3734 "xml": "<outcome value='failure'>\n",
3737 "x": 4772.32905960083,
3738 "y": 616.9961395263672,
3739 "z": "ea31d3f9.c58ce",
3747 "id": "1506d77b.2e8159",
3754 "x": 4902.329063415527,
3755 "y": 616.9961395263672,
3756 "z": "ea31d3f9.c58ce",
3762 "id": "16eea4b9.2fb1ab",
3764 "name": "block atomic",
3765 "xml": "<block atomic=\"true\">\n",
3769 "x": 5105.661590576172,
3770 "y": 547.9962916374207,
3771 "z": "ea31d3f9.c58ce",
3780 "id": "2107fdbe.561112",
3782 "name": "set ipAddress prefixLength",
3783 "xml": "<set>\n<parameter name='prop.underlay.routeIds_length' value='`$prop.underlay.routeIds_length + 1`' />\n",
3785 "x": 5305.329250335693,
3786 "y": 573.996169090271,
3787 "z": "ea31d3f9.c58ce",
3791 "id": "bee08918.a3dfe8",
3792 "type": "switchNode",
3793 "name": "switch prop.underlay.routeIdsValues_length",
3794 "xml": "<switch test='`$prop.underlay.routeIdsValues_length`'>\n",
3797 "x": 4981.663215637207,
3798 "y": 449.9961624145508,
3799 "z": "ea31d3f9.c58ce",
3808 "id": "17f5531.c69dcad",
3811 "xml": "<outcome value='3'>\n",
3814 "x": 5216.632148742676,
3815 "y": 486.9648895263672,
3816 "z": "ea31d3f9.c58ce",
3824 "id": "9cd3fd30.65304",
3827 "xml": "<outcome value='Other'>\n",
3830 "x": 5233.663074493408,
3831 "y": 368.99610328674316,
3832 "z": "ea31d3f9.c58ce",
3840 "id": "ae2b29d0.cafa18",
3847 "x": 5394.66259765625,
3849 "z": "ea31d3f9.c58ce",
3855 "id": "c6ccd14a.96548",
3856 "type": "returnFailure",
3857 "name": "return failure",
3858 "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",
3860 "x": 2874.002540588379,
3861 "y": 982.3028502464294,
3862 "z": "ea31d3f9.c58ce",
3866 "id": "92d1a6eb.dd91a8",
3873 "x": 2860.0020484924316,
3874 "y": 930.9692711830139,
3875 "z": "ea31d3f9.c58ce",
3881 "id": "d5a685ee.a4f698",
3883 "name": "hardcode hub route",
3884 "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",
3886 "x": 3394.0038681030273,
3887 "y": 1822.0039892196655,
3888 "z": "ea31d3f9.c58ce",
3892 "id": "f073f95f.7848a8",
3894 "name": "hardcode spoke route",
3895 "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\" />",
3897 "x": 3409.004409790039,
3898 "y": 2020.0039653778076,
3899 "z": "ea31d3f9.c58ce",
3903 "id": "cc49685f.b2d5d8",
3905 "name": "hardcode hub route",
3906 "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",
3908 "x": 3425.3335723876953,
3909 "y": 2496.000065803528,
3910 "z": "ea31d3f9.c58ce",
3914 "id": "7b57d512.398e6c",
3916 "name": "hardcode spoke route",
3917 "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\" />",
3919 "x": 3450.333251953125,
3921 "z": "ea31d3f9.c58ce",
3925 "id": "ab1ef1f9.e54ea",
3927 "name": "block atmoic",
3928 "xml": "<block atomic=\"true\">\n",
3932 "x": 3461.0041694641113,
3933 "y": 1227.5040493011475,
3934 "z": "ea31d3f9.c58ce",
3943 "id": "896da4ec.a5e9f8",
3945 "name": "block atmoic",
3946 "xml": "<block atomic=\"true\">\n",
3950 "x": 3791.2541217803955,
3951 "y": 1395.0040378570557,
3952 "z": "ea31d3f9.c58ce",
3960 "id": "9ec9fc87.5d09e",
3961 "type": "switchNode",
3962 "name": "switch transportNetworkName==prop.spoke.transportNetworkName",
3963 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value == $prop.spoke.transportNetworkName`\">\n",
3966 "x": 4124.004144668579,
3967 "y": 1397.004313468933,
3968 "z": "ea31d3f9.c58ce",
3976 "id": "3f80722d.d94e9e",
3977 "type": "outcomeTrue",
3979 "xml": "<outcome value='true'>\n",
3982 "x": 3991.0055894851685,
3983 "y": 1493.0042219161987,
3984 "z": "ea31d3f9.c58ce",
3992 "id": "473f2da5.df7aa4",
3994 "name": "block atmoic",
3995 "xml": "<block atomic=\"true\">\n",
3999 "x": 4146.755597114563,
4000 "y": 1485.0042219161987,
4001 "z": "ea31d3f9.c58ce",
4010 "id": "d2c57b63.a72078",
4012 "name": "set tmp.wanportvidx ",
4013 "xml": "<set>\n<parameter name='tmp.wanportvidx' value='`$arvidx`' />\n\n",
4015 "x": 4324.2565660476685,
4016 "y": 1461.004343032837,
4017 "z": "ea31d3f9.c58ce",
4021 "id": "f5ec2256.55a71",
4023 "name": "for loop wanportvidx - Get wan port ID from servicedata",
4024 "xml": "<for index=\"wportidx\" start=\"0\" end=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">\n \n \n",
4027 "x": 2732.5042877197266,
4028 "y": 1673.0043449401855,
4029 "z": "ea31d3f9.c58ce",
4037 "id": "a355c702.37b978",
4039 "name": "block atomic",
4040 "xml": "<block atomic=\"true\">\n",
4044 "x": 3035.5056915283203,
4045 "y": 1631.004680633545,
4046 "z": "ea31d3f9.c58ce",
4056 "id": "4841755.e7a768c",
4057 "type": "switchNode",
4058 "name": "switch wanPortId",
4059 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'wanPortId'`\">\n",
4062 "x": 3234.8393783569336,
4063 "y": 1588.0048933029175,
4064 "z": "ea31d3f9.c58ce",
4072 "id": "2cb90465.e59cdc",
4073 "type": "outcomeTrue",
4075 "xml": "<outcome value='true'>\n",
4078 "x": 3395.8397064208984,
4079 "y": 1589.00497341156,
4080 "z": "ea31d3f9.c58ce",
4088 "id": "406b564f.be2668",
4090 "name": "set prop.hub.wanPortId",
4091 "xml": "<set>\n<parameter name='prop.hub.wanPortId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
4093 "x": 3585.8401679992676,
4094 "y": 1588.6052494049072,
4095 "z": "ea31d3f9.c58ce",
4099 "id": "7ff6e951.a32b78",
4100 "type": "switchNode",
4101 "name": "switch providerIpAddress",
4102 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'providerIpAddress'`\">\n",
4105 "x": 3256.367862701416,
4106 "y": 1625.2011981010437,
4107 "z": "ea31d3f9.c58ce",
4115 "id": "de4c4cc0.abc22",
4116 "type": "outcomeTrue",
4118 "xml": "<outcome value='true'>\n",
4121 "x": 3432.3688468933105,
4122 "y": 1625.2013206481934,
4123 "z": "ea31d3f9.c58ce",
4131 "id": "409dc8c5.eeb998",
4133 "name": "set prop.hub.providerIpAddress",
4134 "xml": "<set>\n<parameter name='prop.hub.providerIpAddress' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
4136 "x": 3634.368885040283,
4137 "y": 1625.8012409210205,
4138 "z": "ea31d3f9.c58ce",
4142 "id": "803020cc.5b481",
4143 "type": "switchNode",
4144 "name": "switch ipAddress",
4145 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'ipAddress'`\">\n",
4148 "x": 3228.867944717407,
4149 "y": 1662.701283454895,
4150 "z": "ea31d3f9.c58ce",
4158 "id": "25fd164b.117a3a",
4159 "type": "outcomeTrue",
4161 "xml": "<outcome value='true'>\n",
4164 "x": 3432.868885040283,
4165 "y": 1662.701235294342,
4166 "z": "ea31d3f9.c58ce",
4174 "id": "10522aa8.f003c5",
4176 "name": "set prop.hub.ipAddress",
4177 "xml": "<set>\n<parameter name='prop.hub.ipAddress' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.wanportvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].value`' />\n",
4179 "x": 3627.8688888549805,
4180 "y": 1662.3012108802795,
4181 "z": "ea31d3f9.c58ce",
4185 "id": "722e84e9.8ab54c",
4192 "x": 3837.254180908203,
4193 "y": 1815.2539224624634,
4194 "z": "ea31d3f9.c58ce",
4200 "id": "78300110.b43b4",
4209 "z": "ea31d3f9.c58ce",
4215 "id": "e6f4e702.6d5b68",
4222 "x": 3860.2543621063232,
4223 "y": 2026.2540483474731,
4224 "z": "ea31d3f9.c58ce",
4230 "id": "b3f4e792.e33638",
4237 "x": 3861.254119873047,
4238 "y": 2073.2540493011475,
4239 "z": "ea31d3f9.c58ce",
4245 "id": "7b4a5da7.783c64",
4252 "x": 3852.2542991638184,
4253 "y": 2554.0039710998535,
4254 "z": "ea31d3f9.c58ce",
4260 "id": "4079a316.d4531c",
4267 "x": 3853.254056930542,
4268 "y": 2601.003972053528,
4269 "z": "ea31d3f9.c58ce",
4275 "id": "2a5c753b.10964a",
4276 "type": "returnFailure",
4277 "name": "return failure",
4278 "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",
4280 "x": 4005.336700439453,
4281 "y": 2555.9710121154785,
4282 "z": "ea31d3f9.c58ce",
4286 "id": "ae6e8595.d05358",
4295 "z": "ea31d3f9.c58ce",
4301 "id": "a38da1c5.3c2df",
4308 "x": 3853.2536640167236,
4309 "y": 2692.0039072036743,
4310 "z": "ea31d3f9.c58ce",