3 "id": "b5ebbde.e59a04",
9 "z": "33eaf422.44290c",
17 "id": "a87f9663.877998",
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": 225.2856903076172,
26 "y": 94.23810768127441,
27 "z": "33eaf422.44290c",
35 "id": "8c1b6d3.067719",
37 "name": "method sdwan-wanport-vnf-topology-operation-underlay",
38 "xml": "<method rpc='sdwan-wanport-vnf-topology-operation-underlay' mode='sync'>\n",
41 "x": 228.42861938476562,
42 "y": 179.00003147125244,
43 "z": "33eaf422.44290c",
51 "id": "3cd9be6d.873c82",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 160.66668701171875,
58 "y": 287.66673278808594,
59 "z": "33eaf422.44290c",
70 "id": "2d7b33ef.a2d9ac",
72 "name": "for cidx..service-data.consumed-allotted-resources.consumed-allotted-resource[]",
73 "xml": "<for index='cidx' start='0' end='`$service-data.consumed-allotted-resources.consumed-allotted-resource_length`' >\n",
76 "x": 598.0004119873047,
77 "y": 398.66683769226074,
78 "z": "33eaf422.44290c",
86 "id": "be430b5e.14a828",
88 "name": "set prop.ar.allotted-resource-id",
89 "xml": "<set>\n<parameter name='prop.ar.allotted-resource-id' value='`$service-data.consumed-allotted-resources.consumed-allotted-resource[$cidx].allotted-resource-id`' />\n",
91 "x": 1385.0013427734375,
92 "y": 115.96877861022949,
93 "z": "33eaf422.44290c",
97 "id": "423b3b97.a50914",
99 "name": "Query MDSAL for AR",
102 "x": 1710.3340148925781,
103 "y": 139.96864795684814,
104 "z": "33eaf422.44290c",
108 "id": "dab21607.3703b8",
110 "name": "Query MDSAL to get parent service based on service instance id from AR",
113 "x": 2180.334873199463,
114 "y": 158.96862697601318,
115 "z": "33eaf422.44290c",
119 "id": "90cd3398.44586",
122 "xml": "<outcome value='success'>\n",
125 "x": 1959.66841506958,
126 "y": 194.63526725769043,
127 "z": "33eaf422.44290c",
135 "id": "1d70b537.cd409b",
137 "name": "block: atomic",
138 "xml": "<block atomic=\"true\">\n",
142 "x": 2114.668254852295,
143 "y": 194.13510036468506,
144 "z": "33eaf422.44290c",
152 "id": "bce07922.8c4f98",
155 "xml": "<outcome value='1'>\n",
158 "x": 2438.3587913513184,
159 "y": 190.75424098968506,
160 "z": "33eaf422.44290c",
168 "id": "ee52805a.8bd8",
169 "type": "returnFailure",
170 "name": "return failure",
171 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Connection attachement resource not found\" />\n \n",
173 "x": 2584.1275672912598,
174 "y": 230.20122909545898,
175 "z": "33eaf422.44290c",
179 "id": "259f1fc9.28f91",
182 "xml": "<outcome value='Other'>\n",
185 "x": 1952.5201416015625,
186 "y": 241.70127391815186,
187 "z": "33eaf422.44290c",
195 "id": "b7b7bf01.123cf",
197 "name": "block: atomic",
198 "xml": "<block atomic=\"true\">\n",
202 "x": 2102.5199851989746,
203 "y": 242.36782932281494,
204 "z": "33eaf422.44290c",
212 "id": "7c51c058.0306e",
215 "xml": "<outcome value='Other'>\n",
218 "x": 2426.6867446899414,
219 "y": 228.03460121154785,
220 "z": "33eaf422.44290c",
228 "id": "d282839d.a628",
229 "type": "switchNode",
230 "name": "switch cr length",
231 "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
234 "x": 2278.668430328369,
235 "y": 194.6352834701538,
236 "z": "33eaf422.44290c",
245 "id": "91cc0551.bc01e8",
247 "name": "set parent-service-instance-id",
248 "xml": "<set>\n<parameter name='prop.parent-service-instance-id' value='`$mdsal-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.parent-service-instance-id`' />\n\n",
250 "x": 2834.0020294189453,
251 "y": 191.63526439666748,
252 "z": "33eaf422.44290c",
256 "id": "3b07cad3.619296",
258 "name": "block: atomic",
259 "xml": "<block atomic='true'>\n",
263 "x": 2588.4778213500977,
264 "y": 190.80180072784424,
265 "z": "33eaf422.44290c",
274 "id": "7cd11e1b.bfaf1",
275 "type": "returnFailure",
276 "name": "return failure",
277 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Connection attachement resource not found\" />\n \n",
279 "x": 2270.001438140869,
280 "y": 240.63520526885986,
281 "z": "33eaf422.44290c",
285 "id": "dab3ccab.cce12",
288 "xml": "<outcome value='success'>\n",
291 "x": 2057.303554534912,
292 "y": 512.7709312438965,
293 "z": "33eaf422.44290c",
301 "id": "4c1ffccd.7a1ed4",
304 "xml": "<outcome value='Other'>\n",
307 "x": 2049.15535736084,
308 "y": 547.8370161056519,
309 "z": "33eaf422.44290c",
317 "id": "4fdb783b.5926a8",
318 "type": "returnFailure",
319 "name": "return failure",
320 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n \n",
322 "x": 2195.304130554199,
323 "y": 548.1045122146606,
324 "z": "33eaf422.44290c",
328 "id": "d5fc5211.c019",
335 "x": 2177.3038024902344,
336 "y": 512.771014213562,
337 "z": "33eaf422.44290c",
343 "id": "c5126628.a1afc8",
345 "name": "for pnidx.. mdsal-psd.networks.network_length[]",
346 "xml": "<for index='pnidx' start='0' end='`$mdsal-psd.service-data.networks.network_length`' >\n",
349 "x": 1740.6683502197266,
350 "y": 612.3028893470764,
351 "z": "33eaf422.44290c",
359 "id": "c8ac708.b0a709",
360 "type": "switchNode",
361 "name": "switch ActivateSDWANConnectivityInstance",
362 "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$pnidx].network-data.request-information.request-action == 'ActivateSDWANConnectivityInstance'`\">\n \n \n\n",
365 "x": 2277.3349990844727,
366 "y": 583.3028283119202,
367 "z": "33eaf422.44290c",
375 "id": "af2e2a1f.e9aba8",
376 "type": "outcomeTrue",
378 "xml": "<outcome value='true'>\n",
381 "x": 2522.334518432617,
382 "y": 582.3028283119202,
383 "z": "33eaf422.44290c",
391 "id": "64a2447b.58478c",
393 "name": "set tmp.pnidx ",
394 "xml": "<set>\n<parameter name='tmp.pnidx' value='`$pnidx`' />\n\n",
396 "x": 2678.3342056274414,
397 "y": 582.3028283119202,
398 "z": "33eaf422.44290c",
402 "id": "cf236aa.4478b98",
404 "name": "for loop paramidx - Get topology from servicedata",
405 "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",
408 "x": 1746.3349304199219,
409 "y": 662.3024039268494,
410 "z": "33eaf422.44290c",
418 "id": "5a69b1be.1055d",
419 "type": "switchNode",
420 "name": "switch topology",
421 "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'topology'`\">\n",
424 "x": 2178.335252761841,
425 "y": 660.3024020195007,
426 "z": "33eaf422.44290c",
434 "id": "333e463b.eac74a",
435 "type": "outcomeTrue",
437 "xml": "<outcome value='true'>\n",
440 "x": 2329.3352642059326,
441 "y": 658.3024439811707,
442 "z": "33eaf422.44290c",
450 "id": "3622de43.1881c2",
452 "name": "set topology",
453 "xml": "<set>\n<parameter name='prop.topology' value='`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].value`' />\n",
455 "x": 2470.3349933624268,
456 "y": 657.9023776054382,
457 "z": "33eaf422.44290c",
461 "id": "b9ac21ad.456c9",
462 "type": "switchNode",
463 "name": "switch tmp.pnidx ",
464 "xml": "<switch test=\"`$tmp.pnidx`\">\n\n",
467 "x": 2184.3346939086914,
468 "y": 622.9690413475037,
469 "z": "33eaf422.44290c",
477 "id": "14fa21e1.174cde",
480 "xml": "<outcome value=''>\n",
483 "x": 2331.7633361816406,
484 "y": 622.5404515266418,
485 "z": "33eaf422.44290c",
493 "id": "aa33b299.d2b4d",
494 "type": "returnFailure",
495 "name": "return failure",
496 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
498 "x": 2475.1921920776367,
499 "y": 622.6835255622864,
500 "z": "33eaf422.44290c",
504 "id": "f19570ac.55187",
505 "type": "switchNode",
506 "name": "switch topology hub-spoke",
507 "xml": "<switch test=\"`$prop.topology == 'hub-spoke'`\">\n",
510 "x": 1551.3348426818848,
511 "y": 759.3023405075073,
512 "z": "33eaf422.44290c",
521 "id": "aa80dabf.aca3c8",
522 "type": "outcomeTrue",
524 "xml": "<outcome value='true'>\n",
527 "x": 1741.334529876709,
528 "y": 784.3028259277344,
529 "z": "33eaf422.44290c",
537 "id": "4031750f.9789cc",
538 "type": "outcomeTrue",
540 "xml": "<outcome value='false'>\n",
543 "x": 1742.3353233337402,
544 "y": 712.3024568557739,
545 "z": "33eaf422.44290c",
553 "id": "bcb708b4.4756f8",
560 "x": 1872.3353271484375,
561 "y": 711.3024568557739,
562 "z": "33eaf422.44290c",
568 "id": "768ac816.c95648",
570 "name": "block: atomic",
571 "xml": "<block atomic=\"true\">\n",
575 "x": 1746.66748046875,
576 "y": 852.3020601272583,
577 "z": "33eaf422.44290c",
585 "id": "37a8a2fc.2a711e",
587 "name": "for ppidx.. mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
588 "xml": "<for index='ppidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
591 "x": 2154.000732421875,
592 "y": 852.6356782913208,
593 "z": "33eaf422.44290c",
601 "id": "27aa5d13.3e58c2",
603 "name": "set prop.ar.provided-allotted-resource-id",
604 "xml": "<set>\n<parameter name='prop.ar.provided-allotted-resource-id' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$ppidx].allotted-resource-id`' />\n\n",
606 "x": 2245.0018463134766,
607 "y": 930.6359763145447,
608 "z": "33eaf422.44290c",
612 "id": "2e8e3485.54a23c",
614 "name": "for loop aridx - Get role from allotted resource",
615 "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",
618 "x": 2263.0025482177734,
619 "y": 1041.302767753601,
620 "z": "33eaf422.44290c",
628 "id": "a525e63a.cc2b38",
629 "type": "switchNode",
630 "name": "switch Role",
631 "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",
634 "x": 2672.002658843994,
635 "y": 1044.3028545379639,
636 "z": "33eaf422.44290c",
644 "id": "3f99d6d3.e0611a",
645 "type": "outcomeTrue",
647 "xml": "<outcome value='true'>\n",
650 "x": 2813.0029907226562,
651 "y": 1043.3028535842896,
652 "z": "33eaf422.44290c",
660 "id": "7bec0d2f.0381d4",
662 "name": "set prop.role",
663 "xml": "<set>\n<parameter name='prop.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$aridx].value`' />\n",
665 "x": 2954.0030250549316,
666 "y": 1044.9027452468872,
667 "z": "33eaf422.44290c",
671 "id": "8fa9655b.7c6ef8",
674 "xml": "<outcome value='success'>\n",
677 "x": 2749.0020446777344,
678 "y": 947.969269990921,
679 "z": "33eaf422.44290c",
687 "id": "3a2551b1.4f0ace",
690 "xml": "<outcome value='Other'>\n",
693 "x": 2745.8537673950195,
694 "y": 1002.0353531837463,
695 "z": "33eaf422.44290c",
703 "id": "5672e76f.825118",
704 "type": "returnFailure",
705 "name": "return failure",
706 "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",
708 "x": 2891.002540588379,
709 "y": 999.3028502464294,
710 "z": "33eaf422.44290c",
714 "id": "788b9cb8.8b37d4",
721 "x": 2877.0020484924316,
722 "y": 947.9692711830139,
723 "z": "33eaf422.44290c",
729 "id": "f102bda6.18929",
730 "type": "switchNode",
731 "name": "switch role hub",
732 "xml": "<switch test=\"`$prop.role == hub`\">\n",
735 "x": 2129.3351821899414,
736 "y": 1106.6358079910278,
737 "z": "33eaf422.44290c",
746 "id": "da4408c3.f5c0d8",
753 "x": 2445.3345680236816,
754 "y": 1082.6354112625122,
755 "z": "33eaf422.44290c",
761 "id": "77da5adf.834034",
764 "xml": "<outcome value='success'>\n",
767 "x": 2855.3042030334473,
768 "y": 1178.1045179367065,
769 "z": "33eaf422.44290c",
777 "id": "8429ea0a.844dc8",
780 "xml": "<outcome value='Other'>\n",
783 "x": 2857.155773162842,
784 "y": 1238.170599937439,
785 "z": "33eaf422.44290c",
793 "id": "e9382022.a0267",
794 "type": "returnFailure",
795 "name": "return failure",
796 "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",
798 "x": 3001.304546356201,
799 "y": 1200.4380140304565,
800 "z": "33eaf422.44290c",
804 "id": "8a4c0c4d.62361",
811 "x": 2985.3042221069336,
812 "y": 1167.1046781539917,
813 "z": "33eaf422.44290c",
819 "id": "cf6c45e0.a382b8",
821 "name": "set prop.ar-service-instance-id",
822 "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",
824 "x": 2457.3356018066406,
825 "y": 1166.6360107660294,
826 "z": "33eaf422.44290c",
830 "id": "57a73c1e.aeb484",
832 "name": "for arvidx.. mdsal-arsd.service-data.vnfs.vnf_length[]",
833 "xml": "<for index='arvidx' start='0' end='`$mdsal-arsd.service-data.vnfs.vnf_length`' >\n",
836 "x": 2501.0020751953125,
837 "y": 1288.6358003616333,
838 "z": "33eaf422.44290c",
846 "id": "c345e276.9551d",
848 "name": "block atmoic",
849 "xml": "<block atomic=\"true\">\n",
853 "x": 2847.6683959960938,
854 "y": 1278.6357765197754,
855 "z": "33eaf422.44290c",
865 "id": "568b8936.7e3108",
866 "type": "switchNode",
867 "name": "switch ActivateSDWANPortInstance",
868 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n \n\n",
871 "x": 3105.6684799194336,
872 "y": 1233.636646270752,
873 "z": "33eaf422.44290c",
881 "id": "cb874e53.482c8",
882 "type": "switchNode",
883 "name": "switch tmp.portvidx ",
884 "xml": "<switch test=\"`$tmp.portvidx`\">\n\n",
887 "x": 2582.668212890625,
888 "y": 1333.3024454116821,
889 "z": "33eaf422.44290c",
897 "id": "815939d8.db2788",
899 "name": "for loop wportidx - Get wan port ID from servicedata",
900 "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",
903 "x": 2507.6688232421875,
904 "y": 1488.6367044448853,
905 "z": "33eaf422.44290c",
913 "id": "6aed06ab.403dd8",
916 "xml": "<outcome value=''>\n",
919 "x": 2743.0966777801514,
920 "y": 1332.8739652633667,
921 "z": "33eaf422.44290c",
929 "id": "ed789211.6aa24",
930 "type": "returnFailure",
931 "name": "return failure",
932 "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",
934 "x": 2880.525634765625,
935 "y": 1333.0173768997192,
936 "z": "33eaf422.44290c",
940 "id": "61fa4242.861d3c",
941 "type": "outcomeTrue",
943 "xml": "<outcome value='true'>\n",
946 "x": 3333.668167114258,
947 "y": 1231.6366472244263,
948 "z": "33eaf422.44290c",
956 "id": "233ccbaa.09c2a4",
958 "name": "block atomic",
959 "xml": "<block atomic=\"true\">\n",
963 "x": 2850.669807434082,
964 "y": 1491.6369543075562,
965 "z": "33eaf422.44290c",
976 "id": "a50a8ecc.70146",
977 "type": "switchNode",
978 "name": "switch transportNetworkName",
979 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'transportNetworkName'`\">\n",
982 "x": 3145.670757293701,
983 "y": 1430.6374912261963,
984 "z": "33eaf422.44290c",
992 "id": "8dcdd808.562708",
994 "name": "set tmp.portvidx ",
995 "xml": "<set>\n<parameter name='tmp.portvidx' value='`$arvidx`' />\n\n",
997 "x": 3488.6678504943848,
998 "y": 1231.636646270752,
999 "z": "33eaf422.44290c",
1003 "id": "1b0657c2.3d75f8",
1004 "type": "outcomeTrue",
1006 "xml": "<outcome value='true'>\n",
1009 "x": 3338.6707725524902,
1010 "y": 1430.63765335083,
1011 "z": "33eaf422.44290c",
1019 "id": "b34f100.12863f",
1021 "name": "set prop.hub.transportNetworkName",
1022 "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",
1024 "x": 3556.6707801818848,
1025 "y": 1429.23823928833,
1026 "z": "33eaf422.44290c",
1030 "id": "c6553e69.23e06",
1031 "type": "switchNode",
1032 "name": "switch wanPortId",
1033 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'wanPortId'`\">\n",
1036 "x": 3107.003490447998,
1037 "y": 1464.6371002197266,
1038 "z": "33eaf422.44290c",
1046 "id": "2bec9518.ec7c8a",
1047 "type": "outcomeTrue",
1049 "xml": "<outcome value='true'>\n",
1052 "x": 3268.003818511963,
1053 "y": 1465.6371803283691,
1054 "z": "33eaf422.44290c",
1062 "id": "37425798.ff2018",
1064 "name": "set prop.hub.wanPortId",
1065 "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",
1067 "x": 3458.004280090332,
1068 "y": 1465.2374563217163,
1069 "z": "33eaf422.44290c",
1073 "id": "d298818e.120b",
1074 "type": "switchNode",
1075 "name": "switch prop.hub.transportNetworkName==prop.spoke.transportNetworkName",
1076 "xml": "<switch test=\"`$prop.hub.transportNetworkName == $prop.spoke.transportNetworkName`\">\n",
1079 "x": 2585.004150390625,
1080 "y": 1591.304440498352,
1081 "z": "33eaf422.44290c",
1090 "id": "7a56c9bb.004ba8",
1091 "type": "outcomeTrue",
1093 "xml": "<outcome value='true'>\n",
1096 "x": 2931.0036811828613,
1097 "y": 1628.3045144081116,
1098 "z": "33eaf422.44290c",
1106 "id": "6f7c3402.62f4ac",
1107 "type": "outcomeTrue",
1109 "xml": "<outcome value='false'>\n",
1112 "x": 2935.0041694641113,
1113 "y": 1563.3041467666626,
1114 "z": "33eaf422.44290c",
1122 "id": "67b638dd.ee4608",
1129 "x": 3075.0040969848633,
1130 "y": 1591.304271697998,
1131 "z": "33eaf422.44290c",
1137 "id": "2c05f76b.7d8c98",
1139 "name": "block atomic",
1140 "xml": "<block atomic=\"true\">\n",
1144 "x": 1896.0322265625,
1145 "y": 961.8333101272583,
1146 "z": "33eaf422.44290c",
1158 "id": "e66f705e.b1887",
1159 "type": "switchNode",
1160 "name": "switch vpnId",
1161 "xml": "<switch test=\"`$mdsal-psd.service-data.networks.network[$tmp.pnidx].network-data.network-request-input.network-input-parameters.param[$paramidx].name == 'vpnId'`\">\n",
1164 "x": 2168.001268386841,
1165 "y": 704.6354126930237,
1166 "z": "33eaf422.44290c",
1174 "id": "3f0e1104.f843be",
1175 "type": "outcomeTrue",
1177 "xml": "<outcome value='true'>\n",
1180 "x": 2312.0012798309326,
1181 "y": 704.6354537010193,
1182 "z": "33eaf422.44290c",
1190 "id": "ca8d4515.16e2d8",
1192 "name": "set prop.vpnId",
1193 "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",
1195 "x": 2470.001001358032,
1196 "y": 703.2353882789612,
1197 "z": "33eaf422.44290c",
1201 "id": "49f7ab80.b2f444",
1203 "name": "Set prop.hubTnpId",
1204 "xml": "<set>\n<parameter name='prop.hubTnpId' value='$prop.hub.wanPortId' />\n\n",
1206 "x": 2622.336555480957,
1207 "y": 1717.6363048553467,
1208 "z": "33eaf422.44290c",
1212 "id": "e429ce4e.ff4d3",
1214 "name": "execute RestApiCallNode underlay route",
1215 "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`\" />",
1218 "x": 3483.335531234741,
1219 "y": 2176.970527648926,
1220 "z": "33eaf422.44290c",
1229 "id": "c11c5434.daa9b8",
1232 "xml": "<outcome value='success'>\n",
1235 "x": 3730.3355026245117,
1236 "y": 2161.970682144165,
1237 "z": "33eaf422.44290c",
1243 "id": "ec4a9fe3.5d773",
1246 "xml": "<outcome value='failure'>\n",
1249 "x": 3728.3351821899414,
1250 "y": 2117.970672607422,
1251 "z": "33eaf422.44290c",
1259 "id": "dfdd1a66.f211b8",
1260 "type": "returnFailure",
1261 "name": "return failure",
1262 "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",
1264 "x": 3870.335868835449,
1265 "y": 2115.9707555770874,
1266 "z": "33eaf422.44290c",
1270 "id": "f88633ef.4a895",
1272 "name": "Add prop.hub.route",
1273 "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",
1275 "x": 3414.669235229492,
1276 "y": 2140.6372261047363,
1277 "z": "33eaf422.44290c",
1281 "id": "9c47cd10.cba71",
1283 "name": "execute RestApiCallNode underlay route",
1284 "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`\" />",
1287 "x": 3489.669235229492,
1288 "y": 2282.637691259384,
1289 "z": "33eaf422.44290c",
1298 "id": "46a68448.91960c",
1301 "xml": "<outcome value='success'>\n",
1304 "x": 3734.669120788574,
1305 "y": 2261.6379222869873,
1306 "z": "33eaf422.44290c",
1312 "id": "97c364c.1574998",
1315 "xml": "<outcome value='failure'>\n",
1318 "x": 3732.668800354004,
1319 "y": 2217.637912750244,
1320 "z": "33eaf422.44290c",
1328 "id": "32d31d6b.e39f42",
1329 "type": "returnFailure",
1330 "name": "return failure",
1331 "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",
1333 "x": 3874.6694869995117,
1334 "y": 2215.6379957199097,
1335 "z": "33eaf422.44290c",
1339 "id": "39f7ac2d.b359d4",
1340 "type": "switchNode",
1341 "name": "switch ActivateSDWANDeviceInstance",
1342 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n \n \n\n",
1345 "x": 3116.5320568084717,
1346 "y": 1266.833604812622,
1347 "z": "33eaf422.44290c",
1355 "id": "50e86192.f47ba",
1356 "type": "switchNode",
1357 "name": "switch tmp.devicevidx ",
1358 "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
1361 "x": 2588.5316314697266,
1362 "y": 1375.4999265670776,
1363 "z": "33eaf422.44290c",
1371 "id": "e276c36a.0c845",
1374 "xml": "<outcome value=''>\n",
1377 "x": 2754.9600677490234,
1378 "y": 1375.0714597702026,
1379 "z": "33eaf422.44290c",
1387 "id": "58c8206f.bb829",
1388 "type": "returnFailure",
1389 "name": "return failure",
1390 "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",
1392 "x": 2895.388999938965,
1393 "y": 1377.2144346237183,
1394 "z": "33eaf422.44290c",
1398 "id": "f872eafd.ca0638",
1399 "type": "outcomeTrue",
1401 "xml": "<outcome value='true'>\n",
1404 "x": 3344.531744003296,
1405 "y": 1264.8336057662964,
1406 "z": "33eaf422.44290c",
1414 "id": "9b7f11e8.f156f",
1416 "name": "set tmp.devicevidx ",
1417 "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$arvidx`' />\n\n",
1419 "x": 3499.531427383423,
1420 "y": 1264.833604812622,
1421 "z": "33eaf422.44290c",
1425 "id": "5ab57864.07d758",
1426 "type": "switchNode",
1427 "name": "switch ActivateSiteInstance",
1428 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$arvidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n \n \n\n",
1431 "x": 3079.532127380371,
1432 "y": 1300.8336687088013,
1433 "z": "33eaf422.44290c",
1441 "id": "971c87ae.5fde98",
1442 "type": "switchNode",
1443 "name": "switch tmp.sitevidx ",
1444 "xml": "<switch test=\"`$tmp.sitevidx`\">\n\n",
1447 "x": 2587.5315017700195,
1448 "y": 1413.4998044967651,
1449 "z": "33eaf422.44290c",
1457 "id": "9fcf4fcb.f5c0f",
1460 "xml": "<outcome value=''>\n",
1463 "x": 2747.959966659546,
1464 "y": 1413.0713243484497,
1465 "z": "33eaf422.44290c",
1473 "id": "2e7d1637.59ed7a",
1474 "type": "returnFailure",
1475 "name": "return failure",
1476 "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",
1478 "x": 2896.388921737671,
1479 "y": 1415.2143306732178,
1480 "z": "33eaf422.44290c",
1484 "id": "c3a08b58.d519a8",
1485 "type": "outcomeTrue",
1487 "xml": "<outcome value='true'>\n",
1490 "x": 3267.531692504883,
1491 "y": 1300.8338346481323,
1492 "z": "33eaf422.44290c",
1500 "id": "90c635f1.794b58",
1502 "name": "set tmp.sitevidx ",
1503 "xml": "<set>\n<parameter name='tmp.sitevidx' value='`$arvidx`' />\n\n",
1505 "x": 3422.5313758850098,
1506 "y": 1300.833833694458,
1507 "z": "33eaf422.44290c",
1511 "id": "d7805819.9cd108",
1513 "name": "for loop deviceidx - Get wan port ID from servicedata",
1514 "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",
1517 "x": 2719.5331497192383,
1518 "y": 1753.834059715271,
1519 "z": "33eaf422.44290c",
1527 "id": "2060fdef.b0b7d2",
1528 "type": "switchNode",
1529 "name": "switch deviceId",
1530 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.devicevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
1533 "x": 3180.5345039367676,
1534 "y": 1667.834927558899,
1535 "z": "33eaf422.44290c",
1543 "id": "2cf983c4.8e5dac",
1544 "type": "outcomeTrue",
1546 "xml": "<outcome value='true'>\n",
1549 "x": 3331.5348777770996,
1550 "y": 1664.835171699524,
1551 "z": "33eaf422.44290c",
1559 "id": "234f9431.3dcaac",
1561 "name": "set prop.hub.deviceId",
1562 "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",
1564 "x": 3506.535125732422,
1565 "y": 1664.4356966018677,
1566 "z": "33eaf422.44290c",
1570 "id": "4ed5eacf.f6a1c4",
1572 "name": "for loop siteidx - Get site ID from servicedata",
1573 "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",
1576 "x": 2694.0330352783203,
1577 "y": 1810.83407497406,
1578 "z": "33eaf422.44290c",
1586 "id": "c9e1f848.8aa118",
1587 "type": "switchNode",
1588 "name": "switch spokeRouteId",
1589 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'spokeRouteId'`\">\n",
1592 "x": 3160.034511566162,
1593 "y": 1822.8348779678345,
1594 "z": "33eaf422.44290c",
1602 "id": "480353b6.36bf3c",
1603 "type": "outcomeTrue",
1605 "xml": "<outcome value='true'>\n",
1608 "x": 3323.035057067871,
1609 "y": 1820.8351745605469,
1610 "z": "33eaf422.44290c",
1618 "id": "7e8ff406.9f32cc",
1620 "name": "set prop.spokeRouteId",
1621 "xml": "<set>\n<parameter name='prop.spokeRouteId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n",
1623 "x": 3492.0350646972656,
1624 "y": 1820.4357604980469,
1625 "z": "33eaf422.44290c",
1629 "id": "4f4875cc.67999c",
1631 "name": "Add route src->dst, dst->src",
1634 "x": 2910.6687927246094,
1635 "y": 1858.6359510421753,
1636 "z": "33eaf422.44290c",
1640 "id": "2f1d0b59.a2f164",
1642 "name": "block atomic",
1643 "xml": "<block atomic=\"true\">\n",
1647 "x": 2132.334228515625,
1648 "y": 1238.968747138977,
1649 "z": "33eaf422.44290c",
1663 "id": "bc0801cd.444e3",
1665 "name": "block atmoic",
1666 "xml": "<block atomic=\"true\">\n",
1670 "x": 2387.333984375,
1671 "y": 1375.3021211624146,
1672 "z": "33eaf422.44290c",
1682 "id": "3d53e5a5.8f912a",
1684 "name": "block atomic",
1685 "xml": "<block atomic=\"true\">\n",
1689 "x": 2381.3349609375,
1690 "y": 1747.6356172561646,
1691 "z": "33eaf422.44290c",
1703 "id": "a6ca66b6.132b88",
1704 "type": "switchNode",
1705 "name": "switch providerIpAddress",
1706 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'providerIpAddress'`\">\n",
1709 "x": 3128.5319747924805,
1710 "y": 1501.8334050178528,
1711 "z": "33eaf422.44290c",
1719 "id": "22164d6f.99a622",
1720 "type": "outcomeTrue",
1722 "xml": "<outcome value='true'>\n",
1725 "x": 3304.532958984375,
1726 "y": 1501.8335275650024,
1727 "z": "33eaf422.44290c",
1735 "id": "46635360.d5dd9c",
1737 "name": "set prop.hub.providerIpAddress",
1738 "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",
1740 "x": 3506.5329971313477,
1741 "y": 1502.4334478378296,
1742 "z": "33eaf422.44290c",
1746 "id": "f8ad0824.756498",
1747 "type": "switchNode",
1748 "name": "switch ipAddress",
1749 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.portvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$wportidx].name == 'ipAddress'`\">\n",
1752 "x": 3101.0320568084717,
1753 "y": 1539.333490371704,
1754 "z": "33eaf422.44290c",
1762 "id": "ae5c5a08.535ae8",
1763 "type": "outcomeTrue",
1765 "xml": "<outcome value='true'>\n",
1768 "x": 3305.0329971313477,
1769 "y": 1539.3334422111511,
1770 "z": "33eaf422.44290c",
1778 "id": "a2ccd569.27b3a8",
1780 "name": "set prop.hub.ipAddress",
1781 "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",
1783 "x": 3500.033000946045,
1784 "y": 1538.9334177970886,
1785 "z": "33eaf422.44290c",
1789 "id": "7ec8de50.abc7a",
1791 "name": "Add prop.spoke.route",
1792 "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",
1794 "x": 3424.533250808716,
1795 "y": 2251.334452390671,
1796 "z": "33eaf422.44290c",
1800 "id": "383a5f3d.e4cb2",
1801 "type": "returnSuccess",
1802 "name": "return success",
1803 "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",
1805 "x": 357.3343048095703,
1806 "y": 1113.3343391418457,
1807 "z": "33eaf422.44290c",
1811 "id": "66dd18ab.e48f08",
1813 "name": "generate connection attachment AR url ",
1814 "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",
1817 "x": 1406.6672058105469,
1818 "y": 175.30183696746826,
1819 "z": "33eaf422.44290c",
1825 "id": "8e4434c9.93e608",
1827 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1828 "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",
1831 "x": 1533.667236328125,
1832 "y": 223.3018274307251,
1833 "z": "33eaf422.44290c",
1842 "id": "b50f711c.f7671",
1844 "name": "execute RestApiCallNode - get parent service data",
1845 "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",
1848 "x": 1759.0013122558594,
1849 "y": 537.3021445274353,
1850 "z": "33eaf422.44290c",
1859 "id": "4176c827.c206f8",
1861 "name": "generate connection attachment parent url ",
1862 "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",
1865 "x": 1735.0010375976562,
1866 "y": 503.30206871032715,
1867 "z": "33eaf422.44290c",
1873 "id": "38bc1f98.0d705",
1875 "name": "full mesh do nothing",
1878 "x": 1569.667839050293,
1879 "y": 714.3021068572998,
1880 "z": "33eaf422.44290c",
1884 "id": "d2bafee.be2ed",
1886 "name": "hub-spoke",
1889 "x": 2570.6672401428223,
1890 "y": 811.3019967079163,
1891 "z": "33eaf422.44290c",
1895 "id": "74cd5045.40831",
1897 "name": "generate connection attachment AR url ",
1898 "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",
1901 "x": 2243.0003929138184,
1902 "y": 962.3019919395447,
1903 "z": "33eaf422.44290c",
1909 "id": "447d9e5f.d5a82",
1911 "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
1912 "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",
1915 "x": 2374.000473022461,
1916 "y": 1001.9686217308044,
1917 "z": "33eaf422.44290c",
1926 "id": "380e9d46.aac952",
1928 "name": "generate service data url",
1929 "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",
1932 "x": 2424.504367828369,
1933 "y": 1203.3058919906616,
1934 "z": "33eaf422.44290c",
1940 "id": "150f28bb.9cebb7",
1942 "name": "execute RestApiCallNode - get service data of allotted resource",
1943 "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",
1946 "x": 2540.5045013427734,
1947 "y": 1240.3057832717896,
1948 "z": "33eaf422.44290c",
1957 "id": "f3be5614.599b68",
1958 "type": "outcomeTrue",
1960 "xml": "<outcome value='true'>\n",
1963 "x": 2304.5000648498535,
1964 "y": 1125.8018560409546,
1965 "z": "33eaf422.44290c",
1973 "id": "145fa94e.f27887",
1974 "type": "outcomeFalse",
1976 "xml": "<outcome value='false'>\n",
1979 "x": 2310.500312805176,
1980 "y": 1082.801947593689,
1981 "z": "33eaf422.44290c",
1989 "id": "dc60366a.2e9048",
1991 "name": "for loop roleidx - Get role from allotted resource",
1992 "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",
1995 "x": 2885.5008697509766,
1996 "y": 230.30177307128906,
1997 "z": "33eaf422.44290c",
2005 "id": "b2e56fad.1ec69",
2012 "x": 3144.5011825561523,
2013 "y": 229.3020887374878,
2014 "z": "33eaf422.44290c",
2022 "id": "694d9509.75a9ec",
2023 "type": "switchNode",
2024 "name": "switch Role",
2025 "xml": "<switch test=\"`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$roleidx].name == 'role'`\">\n",
2028 "x": 3293.501194000244,
2029 "y": 230.3019256591797,
2030 "z": "33eaf422.44290c",
2038 "id": "c3f6a3e4.765a9",
2040 "name": "set prop.spoke.role",
2041 "xml": "<set>\n<parameter name='prop.spoke.role' value='`$mdsal-providedAr.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$roleidx].value`' />\n",
2043 "x": 3598.501754760742,
2044 "y": 227.90183353424072,
2045 "z": "33eaf422.44290c",
2049 "id": "7d090fc5.01ae4",
2050 "type": "outcomeTrue",
2052 "xml": "<outcome value='true'>\n",
2055 "x": 3429.00101852417,
2056 "y": 227.30176544189453,
2057 "z": "33eaf422.44290c",
2065 "id": "64901ca2.c8fd44",
2066 "type": "switchNode",
2067 "name": "switch spoke",
2068 "xml": "<switch test=\"`$prop.spoke.role == 'spoke'`\">\n",
2071 "x": 1321.000373840332,
2072 "y": 374.301700592041,
2073 "z": "33eaf422.44290c",
2081 "id": "3df0d9b2.5cda06",
2082 "type": "outcomeTrue",
2084 "xml": "<outcome value='true'>\n",
2087 "x": 1462.000129699707,
2088 "y": 375.30173778533936,
2089 "z": "33eaf422.44290c",
2097 "id": "51f4030a.ed3f5c",
2099 "name": "for i.. service-data.vnfs.vnf_length[]",
2100 "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
2103 "x": 1734.5006561279297,
2104 "y": 429.3017330169678,
2105 "z": "33eaf422.44290c",
2113 "id": "62a2db1c.5168f4",
2115 "name": "block atmoic",
2116 "xml": "<block atomic=\"true\">\n",
2120 "x": 2068.166847229004,
2121 "y": 373.3016633987427,
2122 "z": "33eaf422.44290c",
2132 "id": "5123e57d.8bae0c",
2133 "type": "switchNode",
2134 "name": "switch ActivateSDWANPortInstance",
2135 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n \n \n\n",
2138 "x": 2339.1668853759766,
2139 "y": 319.3025498390198,
2140 "z": "33eaf422.44290c",
2148 "id": "6db9ff05.77666",
2149 "type": "outcomeTrue",
2151 "xml": "<outcome value='true'>\n",
2154 "x": 2552.166648864746,
2155 "y": 320.3025527000427,
2156 "z": "33eaf422.44290c",
2164 "id": "277a3bfe.22cd04",
2166 "name": "block atomic",
2167 "xml": "<block atomic=\"true\">\n",
2171 "x": 2701.0003929138184,
2172 "y": 322.3017420768738,
2173 "z": "33eaf422.44290c",
2181 "id": "342216f2.a96c5a",
2183 "name": "for loop widx - Get wan port ID from servicedata",
2184 "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",
2187 "x": 2974.000343322754,
2188 "y": 320.6689600944519,
2189 "z": "33eaf422.44290c",
2197 "id": "bd426655.141608",
2199 "name": "block atomic",
2200 "xml": "<block atomic=\"true\">\n",
2204 "x": 3243.0012702941895,
2205 "y": 319.66920614242554,
2206 "z": "33eaf422.44290c",
2217 "id": "d3ada690.01d678",
2218 "type": "switchNode",
2219 "name": "switch transportNetworkName",
2220 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'transportNetworkName'`\">\n",
2223 "x": 3486.0023040771484,
2224 "y": 274.6697793006897,
2225 "z": "33eaf422.44290c",
2233 "id": "894b8be3.a2d3b8",
2234 "type": "outcomeTrue",
2236 "xml": "<outcome value='true'>\n",
2239 "x": 3686.0020790100098,
2240 "y": 274.6699414253235,
2241 "z": "33eaf422.44290c",
2249 "id": "4cf3ccb2.4c44b4",
2251 "name": "set prop.spoke.transportNetworkName",
2252 "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",
2254 "x": 3913.002815246582,
2255 "y": 276.2705235481262,
2256 "z": "33eaf422.44290c",
2260 "id": "e7d060c2.d5397",
2262 "name": "block: atomic",
2263 "xml": "<block atomic=\"true\">\n",
2267 "x": 1214.9694213867188,
2268 "y": 685.2706489562988,
2269 "z": "33eaf422.44290c",
2282 "id": "23b51d10.325942",
2283 "type": "switchNode",
2284 "name": "switch ActivateSDWANDeviceInstance",
2285 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n \n \n\n",
2288 "x": 2331.5003204345703,
2289 "y": 393.3017544746399,
2290 "z": "33eaf422.44290c",
2298 "id": "14d0bfc7.55b7a",
2299 "type": "outcomeTrue",
2301 "xml": "<outcome value='true'>\n",
2304 "x": 2550.5000705718994,
2305 "y": 394.30173921585083,
2306 "z": "33eaf422.44290c",
2314 "id": "da1c13db.62f86",
2316 "name": "block atomic",
2317 "xml": "<block atomic=\"true\">\n",
2321 "x": 2701.3340606689453,
2322 "y": 400.3009305000305,
2323 "z": "33eaf422.44290c",
2331 "id": "e71b7f46.84637",
2333 "name": "for loop didx - Get device ID from servicedata",
2334 "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",
2337 "x": 2960.334312438965,
2338 "y": 402.66822576522827,
2339 "z": "33eaf422.44290c",
2347 "id": "ae18d850.3d05e8",
2349 "name": "block atomic",
2350 "xml": "<block atomic=\"true\">\n",
2354 "x": 3246.334819793701,
2355 "y": 435.66841077804565,
2356 "z": "33eaf422.44290c",
2364 "id": "1383d6a4.a044c9",
2365 "type": "switchNode",
2366 "name": "switch deviceId",
2367 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$didx].name == 'deviceId'`\">\n",
2370 "x": 3429.3357315063477,
2371 "y": 435.66902112960815,
2372 "z": "33eaf422.44290c",
2380 "id": "cbbd7b54.04add8",
2381 "type": "outcomeTrue",
2383 "xml": "<outcome value='true'>\n",
2386 "x": 3629.335506439209,
2387 "y": 435.66918325424194,
2388 "z": "33eaf422.44290c",
2396 "id": "2002292c.f851e6",
2398 "name": "set prop.spoke.deviceId",
2399 "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",
2401 "x": 3824.3361892700195,
2402 "y": 432.26976442337036,
2403 "z": "33eaf422.44290c",
2407 "id": "e569fce4.0fcf9",
2408 "type": "switchNode",
2409 "name": "switch ActivateSiteInstance",
2410 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n \n \n\n",
2413 "x": 2310.5004348754883,
2414 "y": 454.30178594589233,
2415 "z": "33eaf422.44290c",
2423 "id": "2c51cabd.1c1bf6",
2424 "type": "outcomeTrue",
2426 "xml": "<outcome value='true'>\n",
2429 "x": 2544.500072479248,
2430 "y": 455.3017258644104,
2431 "z": "33eaf422.44290c",
2439 "id": "4b1a4a05.7589d4",
2441 "name": "block atomic",
2442 "xml": "<block atomic=\"true\">\n",
2446 "x": 2696.3340606689453,
2447 "y": 477.30096197128296,
2448 "z": "33eaf422.44290c",
2456 "id": "bfdd7dbc.be644",
2458 "name": "for loop widx - Get wan site ID from servicedata",
2459 "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",
2462 "x": 2977.3338928222656,
2463 "y": 476.668164730072,
2464 "z": "33eaf422.44290c",
2472 "id": "86ec8da.eb7757",
2474 "name": "block atomic",
2475 "xml": "<block atomic=\"true\">\n",
2479 "x": 3246.334819793701,
2480 "y": 475.66841077804565,
2481 "z": "33eaf422.44290c",
2490 "id": "ea6a5ab7.abd8e8",
2491 "type": "switchNode",
2492 "name": "switch name",
2493 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'siteId'`\">\n",
2496 "x": 3435.335723876953,
2497 "y": 513.6690349578857,
2498 "z": "33eaf422.44290c",
2506 "id": "46e734ca.67fa0c",
2507 "type": "outcomeTrue",
2509 "xml": "<outcome value='true'>\n",
2512 "x": 3635.3354988098145,
2513 "y": 513.6691970825195,
2514 "z": "33eaf422.44290c",
2522 "id": "f2397edb.062c5",
2524 "name": "set prop.spoke.siteId",
2525 "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",
2527 "x": 3823.3363037109375,
2528 "y": 512.2698106765747,
2529 "z": "33eaf422.44290c",
2533 "id": "daf81956.349368",
2534 "type": "switchNode",
2535 "name": "switch wanPortId",
2536 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'wanPortId'`\">\n",
2540 "y": 311.3018355369568,
2541 "z": "33eaf422.44290c",
2549 "id": "34972355.9c297c",
2550 "type": "outcomeTrue",
2552 "xml": "<outcome value='true'>\n",
2555 "x": 3689.5000038146973,
2556 "y": 311.3019471168518,
2557 "z": "33eaf422.44290c",
2565 "id": "6f9ff7e2.2957f8",
2567 "name": "set prop.spoke.wanPortId",
2568 "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",
2570 "x": 3916.5007400512695,
2571 "y": 312.90252923965454,
2572 "z": "33eaf422.44290c",
2576 "id": "5bef4443.c838fc",
2577 "type": "switchNode",
2578 "name": "switch providerIpAddress",
2579 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'providerIpAddress'`\">\n",
2582 "x": 3477.500160217285,
2583 "y": 355.30178594589233,
2584 "z": "33eaf422.44290c",
2592 "id": "9220a2ce.263ec",
2593 "type": "outcomeTrue",
2595 "xml": "<outcome value='true'>\n",
2598 "x": 3677.4999351501465,
2599 "y": 355.3019480705261,
2600 "z": "33eaf422.44290c",
2608 "id": "95bab342.b39b3",
2610 "name": "set prop.spoke.providerIpAddress",
2611 "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",
2613 "x": 3904.5006713867188,
2614 "y": 356.90253019332886,
2615 "z": "33eaf422.44290c",
2619 "id": "a4bd0e48.6d82f",
2620 "type": "switchNode",
2621 "name": "switch ipAddress",
2622 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$widx].name == 'ipAddress'`\">\n",
2625 "x": 3457.499988555908,
2626 "y": 394.30182218551636,
2627 "z": "33eaf422.44290c",
2635 "id": "511d5688.773858",
2636 "type": "outcomeTrue",
2638 "xml": "<outcome value='true'>\n",
2641 "x": 3681.4998168945312,
2642 "y": 394.3019394874573,
2643 "z": "33eaf422.44290c",
2651 "id": "fc2e69a1.2d4298",
2653 "name": "set prop.spoke.ipAddress",
2654 "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",
2656 "x": 3908.5005531311035,
2657 "y": 395.90252161026,
2658 "z": "33eaf422.44290c",
2662 "id": "e9598182.81589",
2664 "name": "block: atomic",
2665 "xml": "<block atomic=\"true\">\n",
2669 "x": 1024.999900817871,
2670 "y": 253.50004196166992,
2671 "z": "33eaf422.44290c",
2682 "id": "813e415f.e07c",
2684 "name": "get spoke device,site,wanport info",
2688 "y": 376.96874713897705,
2689 "z": "33eaf422.44290c",
2693 "id": "2db9ead7.c2b4b6",
2695 "name": "Add routes only on activation of spoke Attach site",
2698 "x": 1418.4998245239258,
2699 "y": 336.0000162124634,
2700 "z": "33eaf422.44290c",
2704 "id": "2dcb0ef7.828042",
2706 "name": "Loop for all the hub allotted resources, get respective service data and get vnfs info",
2710 "y": 815.500057220459,
2711 "z": "33eaf422.44290c",
2715 "id": "c6190b7b.0c6f78",
2717 "name": "block atomic",
2718 "xml": "<block atomic=\"true\">\n",
2722 "x": 2954.4997177124023,
2723 "y": 1796.9999589920044,
2724 "z": "33eaf422.44290c",
2735 "id": "82cf7632.68ed28",
2737 "name": "block atomic",
2738 "xml": "<block atomic=\"true\">\n",
2742 "x": 3004.4997749328613,
2743 "y": 1669.999843597412,
2744 "z": "33eaf422.44290c",
2752 "id": "dcfe4dc9.3d83d",
2753 "type": "switchNode",
2754 "name": "switch hubRouteId",
2755 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'hubRouteId'`\">\n",
2758 "x": 3159.4996376037598,
2759 "y": 1784.9998378753662,
2760 "z": "33eaf422.44290c",
2768 "id": "4b1456a4.ed61c8",
2769 "type": "outcomeTrue",
2771 "xml": "<outcome value='true'>\n",
2774 "x": 3322.5000228881836,
2775 "y": 1784.000150680542,
2776 "z": "33eaf422.44290c",
2784 "id": "71be6aaa.93fe04",
2786 "name": "set prop.hubRouteId",
2787 "xml": "<set>\n<parameter name='prop.hubRouteId' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].value`' />\n",
2789 "x": 3482.500015258789,
2790 "y": 1781.6005897521973,
2791 "z": "33eaf422.44290c",
2795 "id": "f616545c.e692d8",
2796 "type": "switchNode",
2797 "name": "switch siteId",
2798 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'siteId'`\">\n",
2801 "x": 3141.4996185302734,
2802 "y": 1749.9998207092285,
2803 "z": "33eaf422.44290c",
2811 "id": "3ef84487.f4b53c",
2812 "type": "outcomeTrue",
2814 "xml": "<outcome value='true'>\n",
2817 "x": 3292.499988555908,
2818 "y": 1749.0000038146973,
2819 "z": "33eaf422.44290c",
2827 "id": "97d8673.5139598",
2829 "name": "set prop.hub.siteId",
2830 "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",
2832 "x": 3464.4999961853027,
2833 "y": 1746.6005725860596,
2834 "z": "33eaf422.44290c",
2838 "id": "927db1a6.0967b",
2839 "type": "switchNode",
2840 "name": "switch request-action",
2841 "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
2844 "x": 2619.9996948242188,
2845 "y": 2002.0004615783691,
2846 "z": "33eaf422.44290c",
2855 "id": "1a118523.efe04b",
2857 "name": "ActivateSDWANAttachmentInstance",
2858 "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
2861 "x": 2886.0271530151367,
2862 "y": 1971.0314779281616,
2863 "z": "33eaf422.44290c",
2871 "id": "d881cca6.da522",
2873 "name": "execute RestApiCallNode underlay route",
2874 "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`\" />",
2877 "x": 3480.4997940063477,
2878 "y": 1892.000228881836,
2879 "z": "33eaf422.44290c",
2888 "id": "62d40a0d.8230b4",
2891 "xml": "<outcome value='success'>\n",
2894 "x": 3721.499927520752,
2895 "y": 1879.0002145767212,
2896 "z": "33eaf422.44290c",
2902 "id": "e1ec68ab.cefaf8",
2905 "xml": "<outcome value='failure'>\n",
2908 "x": 3719.4996070861816,
2909 "y": 1835.000205039978,
2910 "z": "33eaf422.44290c",
2918 "id": "93f8ad33.2f9f3",
2919 "type": "returnFailure",
2920 "name": "return failure",
2921 "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",
2923 "x": 3861.5002937316895,
2924 "y": 1833.0002880096436,
2925 "z": "33eaf422.44290c",
2929 "id": "2cb0acf9.dc8014",
2931 "name": "Add prop.hub.route",
2932 "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",
2934 "x": 3411.8334980010986,
2935 "y": 1855.6669273376465,
2936 "z": "33eaf422.44290c",
2940 "id": "a3cb5620.778698",
2942 "name": "execute RestApiCallNode underlay route",
2943 "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`\" />",
2946 "x": 3486.8334980010986,
2947 "y": 1997.6673924922943,
2948 "z": "33eaf422.44290c",
2957 "id": "54a9a5c9.a84bec",
2960 "xml": "<outcome value='success'>\n",
2963 "x": 3732.833745956421,
2964 "y": 1991.6674008369446,
2965 "z": "33eaf422.44290c",
2971 "id": "da8f9dd5.0d7f2",
2974 "xml": "<outcome value='failure'>\n",
2977 "x": 3730.8334255218506,
2978 "y": 1947.6673913002014,
2979 "z": "33eaf422.44290c",
2987 "id": "405d037f.766c0c",
2988 "type": "returnFailure",
2989 "name": "return failure",
2990 "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",
2992 "x": 3872.8341121673584,
2993 "y": 1945.667474269867,
2994 "z": "33eaf422.44290c",
2998 "id": "cf64a525.59cc78",
3000 "name": "Add prop.spoke.route",
3001 "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",
3003 "x": 3421.6975135803223,
3004 "y": 1966.364153623581,
3005 "z": "33eaf422.44290c",
3009 "id": "986185e9.8eec08",
3011 "name": "set route Id's in site parameters",
3012 "xml": "<set>\n<parameter name='mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value='hubRouteId' />\n<parameter name='mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$underlayHubResp[0].id`' />\n<parameter name='mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].name' value='spokeRouteId' />\n<parameter name='mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].value' value='`$underlayspokeResp[0].id`' />\n<parameter name='mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 2`' />\n\n\n\n\n",
3014 "x": 3446.6644744873047,
3015 "y": 2054.0307354927063,
3016 "z": "33eaf422.44290c",
3020 "id": "78365f62.f88ae",
3022 "name": "block atomic",
3023 "xml": "<block atomic=\"true\">\n",
3027 "x": 3121.999671936035,
3028 "y": 1968.4999113082886,
3029 "z": "33eaf422.44290c",
3041 "id": "105d9963.f193b7",
3043 "name": "block atomic",
3044 "xml": "<block atomic=\"true\">\n",
3048 "x": 3142.999668121338,
3049 "y": 2046.5001020431519,
3050 "z": "33eaf422.44290c",
3061 "id": "3baee628.49c52a",
3063 "name": "DeactivateSDWANAttachmentInstance",
3064 "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
3067 "x": 2891.499725341797,
3068 "y": 2040.4999132156372,
3069 "z": "33eaf422.44290c",
3077 "id": "9c607856.359088",
3079 "name": "Add sites to list and update length",
3080 "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<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",
3082 "x": 2636.030891418457,
3083 "y": 2295.031482696533,
3084 "z": "33eaf422.44290c",
3088 "id": "5323bc16.bbf554",
3090 "name": "save hubsiteIds and spoke siteIds for provision",
3093 "x": 2668.031265258789,
3094 "y": 2251.0313568115234,
3095 "z": "33eaf422.44290c",
3099 "id": "b2aac804.e6f348",
3100 "type": "switchNode",
3101 "name": "switch name",
3102 "xml": "<switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'name'`\">\n",
3105 "x": 3436.031005859375,
3107 "z": "33eaf422.44290c",
3115 "id": "2e9ab920.c2df16",
3116 "type": "outcomeTrue",
3118 "xml": "<outcome value='true'>\n",
3121 "x": 3636.0307807922363,
3122 "y": 475.0314121246338,
3123 "z": "33eaf422.44290c",
3131 "id": "3bc80b86.299434",
3133 "name": "set prop.spoke.siteName",
3134 "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",
3136 "x": 3824.0315856933594,
3137 "y": 473.63202571868896,
3138 "z": "33eaf422.44290c",
3142 "id": "edcfc449.815b98",
3143 "type": "switchNode",
3144 "name": "switch name",
3145 "xml": "<switch test=\"`$mdsal-arsd.service-data.vnfs.vnf[$tmp.sitevidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$siteidx].name == 'name'`\">\n",
3148 "x": 3140.031005859375,
3149 "y": 1716.5311279296875,
3150 "z": "33eaf422.44290c",
3158 "id": "47785d0f.321164",
3159 "type": "outcomeTrue",
3161 "xml": "<outcome value='true'>\n",
3164 "x": 3291.0313758850098,
3165 "y": 1715.5313110351562,
3166 "z": "33eaf422.44290c",
3174 "id": "36650635.dab3aa",
3176 "name": "set prop.hub.siteName",
3177 "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",
3179 "x": 3463.0313835144043,
3180 "y": 1713.1318798065186,
3181 "z": "33eaf422.44290c",
3185 "id": "70ceaafc.e0d3f4",
3187 "name": "set prop.provision.siteIds_length=0",
3188 "xml": "<set>\n<parameter name='prop.provision.siteIds_length' value='0' />\n\n\n\n",
3190 "x": 461.03126525878906,
3191 "y": 361.0312547683716,
3192 "z": "33eaf422.44290c",
3196 "id": "2ebcd1d4.0c3f8e",
3198 "name": "execute RestApiCallNode site provision urls",
3199 "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`\" />",
3202 "x": 813.0312957763672,
3203 "y": 793.0314712524414,
3204 "z": "33eaf422.44290c",
3213 "id": "2423f336.bee55c",
3216 "xml": "<outcome value='success'>\n",
3219 "x": 1077.0315551757812,
3220 "y": 815.0315160751343,
3221 "z": "33eaf422.44290c",
3227 "id": "ad0b5373.47c4b",
3230 "xml": "<outcome value='failure'>\n",
3233 "x": 1078.0313415527344,
3234 "y": 772.0314540863037,
3235 "z": "33eaf422.44290c",
3243 "id": "21440771.f9b178",
3244 "type": "returnFailure",
3245 "name": "return failure",
3246 "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",
3248 "x": 1257.0318984985352,
3249 "y": 770.0315053462982,
3250 "z": "33eaf422.44290c",
3254 "id": "c880f4e9.6d6098",
3256 "name": "for providx..prop.provision.siteIds[]",
3257 "xml": "<for index='providx' start='0' end='`$prop.provision.siteIds_length`' >\n",
3260 "x": 454.0312957763672,
3261 "y": 565.0312948226929,
3262 "z": "33eaf422.44290c",
3270 "id": "6ab9e97f.2340e8",
3272 "name": "block atmoic",
3273 "xml": "<block atomic=\"true\">\n",
3277 "x": 478.0313377380371,
3278 "y": 775.031268119812,
3279 "z": "33eaf422.44290c",
3289 "id": "5392610f.9b85f",
3291 "name": "set prop.spoke.hubSiteId, spokeSiteId",
3292 "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",
3294 "x": 789.0339965820312,
3295 "y": 651.6329832077026,
3296 "z": "33eaf422.44290c",
3300 "id": "e83cbadb.6b3148",
3302 "name": "record provision url response to the file",
3303 "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`'/>\n\n",
3306 "x": 785.0313720703125,
3307 "y": 887.0313358306885,
3308 "z": "33eaf422.44290c",
3314 "id": "1e03ba47.0fb3f6",
3316 "name": "block atmoic",
3317 "xml": "<block atomic=\"true\">\n",
3321 "x": 2527.031482696533,
3322 "y": 1042.0313262939453,
3323 "z": "33eaf422.44290c",
3331 "id": "84a7b7df.1615b8",
3333 "name": "block atmoic",
3334 "xml": "<block atomic=\"true\">\n",
3338 "x": 2007.0311584472656,
3339 "y": 605.0313091278076,
3340 "z": "33eaf422.44290c",
3349 "id": "8e2c0789.42db78",
3351 "name": "block atmoic",
3352 "xml": "<block atomic=\"true\">\n",
3356 "x": 2014.0312194824219,
3357 "y": 680.0311765670776,
3358 "z": "33eaf422.44290c",