3 "id": "c9dff872.319c28",
8 "y": 193.0103907585144,
9 "z": "8546294e.bbf628",
17 "id": "f599176a.0162d8",
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": 257.31695556640625,
26 "y": 233.24850225448608,
27 "z": "8546294e.bbf628",
35 "id": "6ef8717d.0a89a",
37 "name": "method site-vnf-topology-operation-activate",
38 "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
41 "x": 278.4598693847656,
42 "y": 323.0103907585144,
43 "z": "8546294e.bbf628",
51 "id": "e4c81f6e.49ef7",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 266.69798278808594,
58 "y": 512.6771693229675,
59 "z": "8546294e.bbf628",
76 "id": "cd35c02d.85245",
78 "name": "switch service-data.vnfs.vnf_length",
79 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
82 "x": 706.0209121704102,
83 "y": 141.99998569488525,
84 "z": "8546294e.bbf628",
94 "id": "e72f24a3.7e9cf8",
97 "xml": "<outcome value=''>\n",
100 "x": 937.0208892822266,
101 "y": 144.0000491142273,
102 "z": "8546294e.bbf628",
110 "id": "edb6abe2.7bba78",
111 "type": "returnFailure",
112 "name": "return failure",
113 "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",
115 "x": 1094.7984046936035,
116 "y": 124.88899755477905,
117 "z": "8546294e.bbf628",
121 "id": "56a6c4e8.1f860c",
124 "xml": "<outcome value='Other'>\n",
127 "x": 929.0213165283203,
128 "y": 179.00007104873657,
129 "z": "8546294e.bbf628",
137 "id": "28abc688.86ccda",
139 "name": "block : atomic",
140 "xml": "<block atomic=\"true\">",
143 "x": 1095.290786743164,
144 "y": 170.55460453033447,
145 "z": "8546294e.bbf628",
155 "id": "13d47e80.4e6022",
157 "name": "for vidx..service-data.vnfs.vnf_length[]",
158 "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
161 "x": 1365.3068771362305,
162 "y": 114.42860555648804,
163 "z": "8546294e.bbf628",
171 "id": "5d523d19.4e3534",
172 "type": "switchNode",
173 "name": "switch tmp.vidx ",
174 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
177 "x": 1301.6082305908203,
178 "y": 165.41179418563843,
179 "z": "8546294e.bbf628",
187 "id": "26cec9c2.9bd426",
190 "xml": "<outcome value=''>\n",
193 "x": 1453.0370330810547,
194 "y": 165.98322439193726,
195 "z": "8546294e.bbf628",
203 "id": "90e8fa4e.9e0b88",
204 "type": "switchNode",
205 "name": "switch vnfid found",
206 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
209 "x": 1762.7356185913086,
210 "y": 74.67872762680054,
211 "z": "8546294e.bbf628",
219 "id": "a0a7bb4c.608bd8",
220 "type": "returnFailure",
221 "name": "return failure",
222 "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",
224 "x": 1591.465431213379,
225 "y": 167.12604665756226,
226 "z": "8546294e.bbf628",
230 "id": "b847bf38.a4e72",
231 "type": "outcomeTrue",
233 "xml": "<outcome value='true'>\n",
236 "x": 1936.6880989074707,
237 "y": 74.57144784927368,
238 "z": "8546294e.bbf628",
246 "id": "7ce3d5f2.723dec",
249 "xml": "<outcome value='0'>\n",
252 "x": 934.9897003173828,
253 "y": 106.96873807907104,
254 "z": "8546294e.bbf628",
262 "id": "be9b1521.3244d8",
263 "type": "returnSuccess",
264 "name": "return success",
265 "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",
267 "x": 650.3649482727051,
268 "y": 695.344174861908,
269 "z": "8546294e.bbf628",
273 "id": "c2b356f7.cb66f8",
275 "name": "set vnf-level-oper-status to Active",
276 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
278 "x": 712.8451385498047,
279 "y": 529.6816143989563,
280 "z": "8546294e.bbf628",
284 "id": "e28c053e.d4c358",
286 "name": "set vnf-index and vnf-object-path",
287 "xml": "<set>\n<parameter name='vnfId' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$tmp.vidx].vnf-id + '/vnf-data/'` \" />",
289 "x": 712.53173828125,
290 "y": 486.3441491127014,
291 "z": "8546294e.bbf628",
295 "id": "5369a88f.c265a8",
298 "xml": "<outcome value='success'>\n",
301 "x": 1570.531826019287,
302 "y": 431.00039863586426,
303 "z": "8546294e.bbf628",
311 "id": "e11a3e97.9a4cf",
313 "name": "set controller data",
314 "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
316 "x": 1759.0319213867188,
317 "y": 425.0004082918167,
318 "z": "8546294e.bbf628",
322 "id": "a5222a28.6f55b8",
325 "xml": "<outcome value='not-found'>\n",
328 "x": 1574.022792816162,
329 "y": 478.5744342803955,
330 "z": "8546294e.bbf628",
338 "id": "ea233a49.a94538",
339 "type": "returnFailure",
340 "name": "return failure",
341 "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
343 "x": 1747.5942039489746,
344 "y": 466.8601703643799,
345 "z": "8546294e.bbf628",
349 "id": "42b5e401.e14b8c",
352 "xml": "<outcome value='Other'>\n",
355 "x": 1566.355800628662,
356 "y": 519.9077472686768,
357 "z": "8546294e.bbf628",
365 "id": "28e9f15e.a3f2ce",
366 "type": "returnFailure",
367 "name": "return failure",
368 "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
370 "x": 1754.1283569335938,
371 "y": 515.3469400405884,
372 "z": "8546294e.bbf628",
376 "id": "e43f8602.8d7af8",
377 "type": "get-resource",
378 "name": "get-resource esr-thirdparty-sdnc",
379 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = SDWAN-Controller AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
382 "x": 1303.53173828125,
383 "y": 479.00040447711945,
384 "z": "8546294e.bbf628",
394 "id": "d2ea4d7a.0f7bc",
396 "name": "execute RestApiCallNode Create SDWAN site",
397 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-site.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/sites'`\" />\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=\"site-result\"/>\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`\" />",
400 "x": 1326.031852722168,
401 "y": 636.0003986358643,
402 "z": "8546294e.bbf628",
410 "id": "b5c8e88e.b71a98",
412 "name": "block : atomic",
413 "xml": "<block atomic=\"true\">",
417 "x": 1746.6983757019043,
418 "y": 637.8892993927002,
419 "z": "8546294e.bbf628",
425 "id": "db67aff2.ce7ea",
426 "type": "returnFailure",
427 "name": "return failure",
428 "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 Create vpn rest api\" />\n",
430 "x": 1732.1429595947266,
431 "y": 697.4446468353271,
432 "z": "8546294e.bbf628",
436 "id": "8e3552db.71c4c",
439 "xml": "<outcome value='failure'>\n",
442 "x": 1587.1429500579834,
443 "y": 694.4446449279785,
444 "z": "8546294e.bbf628",
452 "id": "f57bd183.9204c",
455 "xml": "<outcome value='success'>\n",
458 "x": 1587.587287902832,
459 "y": 638.1114530563354,
460 "z": "8546294e.bbf628",
468 "id": "cfdaefb3.97c88",
470 "name": "copy input data to service data",
471 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
473 "x": 701.0316848754883,
474 "y": 572.0005831718445,
475 "z": "8546294e.bbf628",
479 "id": "b24b0990.f29818",
481 "name": "execute RestApiCallNode Get token",
482 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.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\"/>",
485 "x": 1304.7858352661133,
486 "y": 572.0044652223587,
487 "z": "8546294e.bbf628",
496 "id": "289de783.f62c58",
499 "xml": "<outcome value='success'>\n",
502 "x": 1569.785717010498,
503 "y": 557.0043603181839,
504 "z": "8546294e.bbf628",
512 "id": "794b6e1c.8d635",
515 "xml": "<outcome value='failure'>\n",
518 "x": 1562.035717010498,
519 "y": 598.6472436189651,
520 "z": "8546294e.bbf628",
528 "id": "abdc5f44.099",
535 "x": 1688.119213104248,
536 "y": 598.8932763338089,
537 "z": "8546294e.bbf628",
543 "id": "9a259234.042bd",
545 "name": "set token-id",
546 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
548 "x": 1706.785717010498,
549 "y": 557.0043603181839,
550 "z": "8546294e.bbf628",
554 "id": "6db7dcff.bc7ce4",
556 "name": "tmp.thirdparty-sdnc-id is hardcoded value?",
559 "x": 1352.0356369018555,
560 "y": 433.004376411438,
561 "z": "8546294e.bbf628",
565 "id": "640f5d20.cfa064",
567 "name": "set vnf-index to service data",
568 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value='siteId' />\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$site-result[0].id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n",
570 "x": 702.0354537963867,
571 "y": 448.00424432754517,
572 "z": "8546294e.bbf628",
576 "id": "3d75d87b.d2ff28",
577 "type": "switchNode",
578 "name": "switch ActivateSDWANDeviceInstance",
579 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n \n \n\n",
582 "x": 1830.2855911254883,
583 "y": 144.00390481948853,
584 "z": "8546294e.bbf628",
592 "id": "628cbd2.1a1aa44",
593 "type": "outcomeTrue",
595 "xml": "<outcome value='true'>\n",
598 "x": 2057.285446166992,
599 "y": 143.0039038658142,
600 "z": "8546294e.bbf628",
608 "id": "9845da61.98a1c8",
615 "x": 1600.285415649414,
616 "y": 115.00389051437378,
617 "z": "8546294e.bbf628",
626 "id": "fab4e8d5.eaaa38",
628 "name": "Get devices",
631 "x": 1864.0356063842773,
632 "y": 164.7539200782776,
633 "z": "8546294e.bbf628",
637 "id": "cbc96af.e7a6b98",
639 "name": "set prop.site.sdwan false",
640 "xml": "<set>\n<parameter name='prop.site.sdwan' value=\"false\" />\n\n",
642 "x": 685.0312652587891,
643 "y": 83.0000352859497,
644 "z": "8546294e.bbf628",
648 "id": "8699a911.00b498",
649 "type": "switchNode",
650 "name": "switch prop.site.sdwan",
651 "xml": "<switch test=\"`$prop.site.sdwan`\">\n",
654 "x": 681.0313720703125,
655 "y": 390.666624546051,
656 "z": "8546294e.bbf628",
664 "id": "ace66bf6.fc6f18",
665 "type": "outcomeTrue",
667 "xml": "<outcome value='true'>\n",
670 "x": 860.031421661377,
671 "y": 387.666624546051,
672 "z": "8546294e.bbf628",
680 "id": "70ebd8ae.1dd798",
682 "name": "block : atomic",
683 "xml": "<block atomic=\"true\">",
686 "x": 1016.0316467285156,
687 "y": 384.6669464111328,
688 "z": "8546294e.bbf628",
700 "id": "b1822ffa.bc97b",
702 "name": "block : atomic",
703 "xml": "<block atomic=\"true\">",
706 "x": 2010.6982822418213,
707 "y": 212.00003480911255,
708 "z": "8546294e.bbf628",
716 "id": "f8a73d95.16c95",
718 "name": "for loop deviceidx - Get deviceId from servicedata",
719 "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
722 "x": 2294.0321140289307,
723 "y": 215.00006532669067,
724 "z": "8546294e.bbf628",
732 "id": "f4aaaa9b.0e63e8",
739 "x": 2410.031898498535,
740 "y": 266.0002508163452,
741 "z": "8546294e.bbf628",
749 "id": "560efc8.407e904",
750 "type": "switchNode",
751 "name": "switch deviceId",
752 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
755 "x": 2570.032154083252,
756 "y": 268.0001039505005,
757 "z": "8546294e.bbf628",
765 "id": "364ea14b.4737ce",
766 "type": "outcomeTrue",
768 "xml": "<outcome value='true'>\n",
771 "x": 2722.032325744629,
772 "y": 267.0001039505005,
773 "z": "8546294e.bbf628",
781 "id": "57bae08d.5682f",
783 "name": "set deviceId",
784 "xml": "<set>\n<parameter name='prop.site.deviceId[$prop.site.deviceId_length]' value='`$service-data.vnfs.vnf[$tmp.deviceVidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].value`' />\n<parameter name='prop.site.deviceId_length' value='`$prop.site.deviceId_length + 1`' />\n",
786 "x": 2862.032329559326,
787 "y": 266.600058555603,
788 "z": "8546294e.bbf628",
792 "id": "63f3d384.29d3ac",
794 "name": "set prop.site.deviceId_length",
795 "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",
797 "x": 1338.031322479248,
798 "y": 69.99999761581421,
799 "z": "8546294e.bbf628",
803 "id": "de98d30f.d2fa5",
805 "name": "update siteInstance configuration in AAI",
806 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='site-resource' \n key='site-resource.id = $service-data.vnfs.vnf[$tmp.vidx].vnf-id' >\n<parameter name='id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' /> \n<parameter name='generated-site-id' value='`$site-result[0].site-id`' /> \n<parameter name='operational-status' value='Active' />\n",
809 "x": 731.0313720703125,
810 "y": 633.0000977516174,
811 "z": "8546294e.bbf628",
817 "id": "f380f867.7d6998",
819 "name": "execute Properties",
820 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
823 "x": 677.0312881469727,
824 "y": 279.99999952316284,
825 "z": "8546294e.bbf628",
831 "id": "2f462de2.0453e2",
833 "name": "set siteId",
834 "xml": "<set>\n<parameter name='prop.site.siteId' value=\"\" />\n\n",
836 "x": 1225.0315856933594,
837 "y": 375.0001050233841,
838 "z": "8546294e.bbf628",
842 "id": "e43a0564.6e85b8",
844 "name": "should be null in request",
847 "x": 1234.031509399414,
848 "y": 346.0000592470169,
849 "z": "8546294e.bbf628",
853 "id": "fe37a50e.9b06e8",
855 "name": "block : atomic",
856 "xml": "<block atomic=\"true\">",
859 "x": 2107.031394958496,
860 "y": 78.65758323669434,
861 "z": "8546294e.bbf628",
872 "id": "9ff83ab.3d923c8",
874 "name": "set vnf-request-input.",
875 "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
877 "x": 2359.364402770996,
878 "y": 95.65763854980469,
879 "z": "8546294e.bbf628",
883 "id": "4bd89f7e.9676d",
885 "name": "set tmp.vidx and ctx.vnf-data",
886 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
888 "x": 2386.918113708496,
889 "y": 49.00000286102295,
890 "z": "8546294e.bbf628",
894 "id": "523d9c1d.3e7a14",
896 "name": "call sdwan-get-site-param",
897 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-site-param' mode='sync' >\n",
900 "x": 2358.005081176758,
901 "y": 131.10712242126465,
902 "z": "8546294e.bbf628",
908 "id": "2f8e9052.03ea2",
910 "name": "for cpidx..prop.site.controlpoints",
911 "xml": "<for index='cpidx' start='0' end='`$prop.site.controlpoints_length`' >\n\t\t\t\t\t\t\t\t\t\n",
914 "x": 1285.0318603515625,
915 "y": 276.0313186645508,
916 "z": "8546294e.bbf628",
924 "id": "5d6d521c.a38a7c",
926 "name": "block : atomic",
927 "xml": "<block atomic=\"true\">",
930 "x": 1528.0313720703125,
931 "y": 274.03125762939453,
932 "z": "8546294e.bbf628",
940 "id": "a5905cec.9f577",
942 "name": "for cpvidx..service-data.vnfs.vnf_length[]",
943 "xml": "<for index='cpvidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
946 "x": 1777.0313720703125,
947 "y": 272.031289100647,
948 "z": "8546294e.bbf628",
956 "id": "c5914904.7dd248",
963 "x": 1630.531322479248,
964 "y": 338.03128933906555,
965 "z": "8546294e.bbf628",
973 "id": "81562a69.669098",
974 "type": "switchNode",
975 "name": "switch ActivateSiteInstance",
976 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSiteInstance'`\">\n\n \n \n\n",
979 "x": 1826.5317573547363,
980 "y": 337.0312900543213,
981 "z": "8546294e.bbf628",
989 "id": "4dd0f132.ac22d",
990 "type": "outcomeTrue",
992 "xml": "<outcome value='true'>\n",
995 "x": 2015.5316467285156,
996 "y": 336.031259059906,
997 "z": "8546294e.bbf628",
1005 "id": "c19716c9.bf16e8",
1007 "name": "block : atomic",
1008 "xml": "<block atomic=\"true\">",
1011 "x": 2169.874858856201,
1012 "y": 352.1174783706665,
1013 "z": "8546294e.bbf628",
1021 "id": "b380d74e.7f6938",
1023 "name": "for loop sidx - Get siteId from servicedata",
1024 "xml": "<for index=\"sidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
1027 "x": 2415.5315895080566,
1028 "y": 354.0313606262207,
1029 "z": "8546294e.bbf628",
1037 "id": "586aef3f.c2594",
1044 "x": 2141.531894683838,
1045 "y": 451.0313949584961,
1046 "z": "8546294e.bbf628",
1054 "id": "6ca3ced4.b496f",
1055 "type": "switchNode",
1056 "name": "switch name",
1057 "xml": "<switch test=\"`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].name == 'name'`\">\n",
1060 "x": 2301.5321502685547,
1061 "y": 453.03124809265137,
1062 "z": "8546294e.bbf628",
1070 "id": "e4e196a3.719d08",
1071 "type": "outcomeTrue",
1073 "xml": "<outcome value='true'>\n",
1076 "x": 2453.5323219299316,
1077 "y": 452.03124809265137,
1078 "z": "8546294e.bbf628",
1086 "id": "9f3ec9f2.b22258",
1087 "type": "switchNode",
1088 "name": "switch name match with controlPoint",
1089 "xml": "<switch test=\"`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$sidx].value == $prop.site.controlpoints[$cpidx]`\">\n",
1092 "x": 2690.0319023132324,
1093 "y": 462.031436920166,
1094 "z": "8546294e.bbf628",
1102 "id": "2d878bd7.4ff264",
1103 "type": "outcomeTrue",
1105 "xml": "<outcome value='true'>\n",
1108 "x": 2899.031665802002,
1109 "y": 455.03130531311035,
1110 "z": "8546294e.bbf628",
1118 "id": "95b453fd.ee43a",
1120 "name": "for loop lidx - Get siteId from servicedata",
1121 "xml": "<for index=\"lidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
1124 "x": 2483.0317192077637,
1125 "y": 566.0313177108765,
1126 "z": "8546294e.bbf628",
1134 "id": "29fb7e8d.917742",
1141 "x": 2273.0313606262207,
1142 "y": 640.0315551757812,
1143 "z": "8546294e.bbf628",
1151 "id": "43fe6c1f.7a83e4",
1152 "type": "switchNode",
1153 "name": "switch siteId",
1154 "xml": "<switch test=\"`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$lidx].name == 'siteId'`\">\n",
1157 "x": 2419.0316047668457,
1158 "y": 643.0313415527344,
1159 "z": "8546294e.bbf628",
1167 "id": "48abb19b.d8fe",
1168 "type": "outcomeTrue",
1170 "xml": "<outcome value='true'>\n",
1173 "x": 2566.031913757324,
1174 "y": 641.0313110351562,
1175 "z": "8546294e.bbf628",
1183 "id": "2780c7bb.98f1c8",
1185 "name": "set siteId in control point",
1186 "xml": "<set>\n<parameter name='prop.site.controlpoints[$cpidx]' value='`$service-data.vnfs.vnf[$cpvidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$lidx].value`' />\n\n",
1188 "x": 2745.0322227478027,
1189 "y": 643.631411075592,
1190 "z": "8546294e.bbf628",
1194 "id": "3590859d.52442a",
1196 "name": "block : atomic",
1197 "xml": "<block atomic=\"true\">",
1200 "x": 2227.0316123962402,
1201 "y": 566.0313024520874,
1202 "z": "8546294e.bbf628",
1210 "id": "471b0999.b03818",
1213 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-site-activateeeee-delete\"/>\n<parameter name=\"field3\" value='`$prop.site.sdwan`'/>\n",
1216 "x": 2300.0313873291016,
1217 "y": 177.03126049041748,
1218 "z": "8546294e.bbf628",
1224 "id": "79a83f73.ae9af",
1226 "name": "block : atomic",
1227 "xml": "<block atomic=\"true\">",
1230 "x": 2720.5314903259277,
1231 "y": 401.031286239624,
1232 "z": "8546294e.bbf628",