3 "id": "3b96b94e.d2db46",
7 "x": 101.71429443359375,
8 "y": 190.01038789749146,
9 "z": "f7b8765.9d87788",
17 "id": "2a24b40f.15257c",
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}'>",
26 "y": 230.24849939346313,
27 "z": "f7b8765.9d87788",
35 "id": "13982dc8.7557c2",
37 "name": "method site-vnf-topology-operation-activate",
38 "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
41 "x": 198.14291381835938,
42 "y": 320.01038789749146,
43 "z": "f7b8765.9d87788",
51 "id": "cc746.fa4808ba",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
57 "x": 186.3810272216797,
58 "y": 509.6771664619446,
59 "z": "f7b8765.9d87788",
76 "id": "7d7132e1.2faacc",
78 "name": "switch service-data.vnfs.vnf_length",
79 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
82 "x": 625.7039566040039,
83 "y": 138.9999828338623,
84 "z": "f7b8765.9d87788",
94 "id": "ed712d22.18f85",
97 "xml": "<outcome value=''>\n",
100 "x": 856.7039337158203,
101 "y": 141.00004625320435,
102 "z": "f7b8765.9d87788",
110 "id": "774eda2e.68a9d4",
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": 1014.4814491271973,
116 "y": 121.8889946937561,
117 "z": "f7b8765.9d87788",
121 "id": "d79f3765.c39a08",
124 "xml": "<outcome value='Other'>\n",
127 "x": 848.7043609619141,
128 "y": 176.00006818771362,
129 "z": "f7b8765.9d87788",
137 "id": "3a3303bd.28cb7c",
139 "name": "block : atomic",
140 "xml": "<block atomic=\"true\">",
143 "x": 1014.9738311767578,
144 "y": 167.55460166931152,
145 "z": "f7b8765.9d87788",
155 "id": "46ac8f1a.93c77",
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": 1265.9899597167969,
162 "y": 112.42860507965088,
163 "z": "f7b8765.9d87788",
171 "id": "dec89d20.3ffd2",
172 "type": "switchNode",
173 "name": "switch tmp.vidx ",
174 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
177 "x": 1221.291275024414,
178 "y": 162.41179132461548,
179 "z": "f7b8765.9d87788",
187 "id": "12d5f510.98545b",
190 "xml": "<outcome value=''>\n",
193 "x": 1372.7200775146484,
194 "y": 162.9832215309143,
195 "z": "f7b8765.9d87788",
203 "id": "5d333a67.ea5b04",
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": 1682.4186630249023,
210 "y": 71.67872476577759,
211 "z": "f7b8765.9d87788",
219 "id": "baac3d2b.9c149",
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": 1511.1484756469727,
225 "y": 164.1260437965393,
226 "z": "f7b8765.9d87788",
230 "id": "ff1652c5.5f817",
231 "type": "outcomeTrue",
233 "xml": "<outcome value='true'>\n",
236 "x": 1856.3711433410645,
237 "y": 71.57144498825073,
238 "z": "f7b8765.9d87788",
246 "id": "34d8aa26.2a5306",
249 "xml": "<outcome value='0'>\n",
252 "x": 854.6727447509766,
253 "y": 103.9687352180481,
254 "z": "f7b8765.9d87788",
262 "id": "c9f28855.c58858",
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": 570.0479927062988,
268 "y": 692.344172000885,
269 "z": "f7b8765.9d87788",
273 "id": "448dd2dd.bafb8c",
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": 632.5281829833984,
279 "y": 526.6816115379333,
280 "z": "f7b8765.9d87788",
284 "id": "445ef8.15e44108",
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/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />",
289 "x": 632.2147827148438,
290 "y": 483.34414625167847,
291 "z": "f7b8765.9d87788",
295 "id": "bbcb4df5.064e3",
298 "xml": "<outcome value='success'>\n",
301 "x": 1490.2148704528809,
302 "y": 428.0003957748413,
303 "z": "f7b8765.9d87788",
311 "id": "1ea13654.9fcfaa",
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": 1678.7149658203125,
317 "y": 422.00040543079376,
318 "z": "f7b8765.9d87788",
322 "id": "f9005f03.a47fb",
325 "xml": "<outcome value='not-found'>\n",
328 "x": 1493.7058372497559,
329 "y": 475.57443141937256,
330 "z": "f7b8765.9d87788",
338 "id": "5c27d008.c54fe",
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": 1667.2772483825684,
344 "y": 463.86016750335693,
345 "z": "f7b8765.9d87788",
349 "id": "5f7c43f4.71b4dc",
352 "xml": "<outcome value='Other'>\n",
355 "x": 1486.0388450622559,
356 "y": 516.9077444076538,
357 "z": "f7b8765.9d87788",
365 "id": "690bd523.e7874c",
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": 1673.8114013671875,
371 "y": 512.3469371795654,
372 "z": "f7b8765.9d87788",
376 "id": "766aef68.e4df8",
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 = SDWANController AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
382 "x": 1223.2147827148438,
383 "y": 476.0004016160965,
384 "z": "f7b8765.9d87788",
394 "id": "cd48267e.9edf28",
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-' + $template.site.role + '.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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
401 "y": 666.0003662109375,
402 "z": "f7b8765.9d87788",
411 "id": "f430b9bd.f345f8",
413 "name": "block : atomic",
414 "xml": "<block atomic=\"true\">",
418 "x": 1666.381420135498,
419 "y": 634.8892965316772,
420 "z": "f7b8765.9d87788",
426 "id": "49b0ec38.4844e4",
427 "type": "returnFailure",
428 "name": "return failure",
429 "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",
431 "x": 1651.8260040283203,
432 "y": 694.4446439743042,
433 "z": "f7b8765.9d87788",
437 "id": "bdd9ab07.dc7f48",
440 "xml": "<outcome value='failure'>\n",
443 "x": 1506.8259944915771,
444 "y": 691.4446420669556,
445 "z": "f7b8765.9d87788",
453 "id": "42f4d566.03c33c",
456 "xml": "<outcome value='success'>\n",
459 "x": 1507.2703323364258,
460 "y": 635.1114501953125,
461 "z": "f7b8765.9d87788",
469 "id": "f7484eea.3c8a9",
471 "name": "copy input data to service data",
472 "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.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.' />",
474 "x": 623.7147369384766,
475 "y": 570.0006427764893,
476 "z": "f7b8765.9d87788",
480 "id": "416674e0.73681c",
482 "name": "execute RestApiCallNode Get token",
483 "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.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
486 "x": 1224.468879699707,
487 "y": 569.0044623613358,
488 "z": "f7b8765.9d87788",
497 "id": "58134bd4.bcfed4",
500 "xml": "<outcome value='success'>\n",
503 "x": 1489.4687614440918,
504 "y": 554.004357457161,
505 "z": "f7b8765.9d87788",
513 "id": "6a9bb51c.bc170c",
516 "xml": "<outcome value='failure'>\n",
519 "x": 1481.7187614440918,
520 "y": 595.6472407579422,
521 "z": "f7b8765.9d87788",
529 "id": "bf434721.5049e8",
536 "x": 1607.8022575378418,
537 "y": 595.893273472786,
538 "z": "f7b8765.9d87788",
544 "id": "b4100138.98e92",
546 "name": "set token-id",
547 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
549 "x": 1626.4687614440918,
550 "y": 554.004357457161,
551 "z": "f7b8765.9d87788",
555 "id": "c6987662.432148",
557 "name": "tmp.thirdparty-sdnc-id is hardcoded value?",
560 "x": 1271.7186813354492,
561 "y": 430.00437355041504,
562 "z": "f7b8765.9d87788",
566 "id": "5f881f0.741dae",
568 "name": "set siteId to service data",
569 "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.success[0].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",
571 "x": 613.7185668945312,
572 "y": 445.0042562484741,
573 "z": "f7b8765.9d87788",
577 "id": "473eb805.0b9488",
578 "type": "switchNode",
579 "name": "switch ActivateSDWANDeviceInstance",
580 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n \n \n\n",
583 "x": 1749.968635559082,
584 "y": 141.00390195846558,
585 "z": "f7b8765.9d87788",
593 "id": "a2ae14c0.4e83e8",
594 "type": "outcomeTrue",
596 "xml": "<outcome value='true'>\n",
599 "x": 1976.968490600586,
600 "y": 140.00390100479126,
601 "z": "f7b8765.9d87788",
609 "id": "c0693138.694c4",
611 "name": "Get devices",
614 "x": 1783.718650817871,
615 "y": 161.75391721725464,
616 "z": "f7b8765.9d87788",
620 "id": "43a548ad.54cc98",
622 "name": "set prop.site.sdwan false",
623 "xml": "<set>\n<parameter name='prop.site.sdwan' value=\"false\" />\n\n",
625 "x": 604.7143096923828,
626 "y": 80.00003242492676,
627 "z": "f7b8765.9d87788",
631 "id": "2cf8df50.df009",
632 "type": "switchNode",
633 "name": "switch prop.site.sdwan",
634 "xml": "<switch test=\"`$prop.site.sdwan`\">\n",
637 "x": 600.7144165039062,
638 "y": 387.6666216850281,
639 "z": "f7b8765.9d87788",
647 "id": "6b990b0d.fef984",
648 "type": "outcomeTrue",
650 "xml": "<outcome value='true'>\n",
653 "x": 779.7144660949707,
654 "y": 384.6666216850281,
655 "z": "f7b8765.9d87788",
663 "id": "fac23885.a00b38",
665 "name": "block : atomic",
666 "xml": "<block atomic=\"true\">",
669 "x": 935.7146911621094,
670 "y": 381.66694355010986,
671 "z": "f7b8765.9d87788",
684 "id": "e66294b6.7e7298",
686 "name": "block : atomic",
687 "xml": "<block atomic=\"true\">",
690 "x": 1932.381404876709,
691 "y": 202.00004196166992,
692 "z": "f7b8765.9d87788",
700 "id": "288cc13c.94077e",
702 "name": "for loop deviceidx - Get deviceId from servicedata",
703 "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
706 "x": 2213.7151584625244,
707 "y": 212.00006246566772,
708 "z": "f7b8765.9d87788",
716 "id": "d7048ef8.65174",
723 "x": 2329.714942932129,
724 "y": 263.00024795532227,
725 "z": "f7b8765.9d87788",
733 "id": "2e66cefe.b9e7b2",
734 "type": "switchNode",
735 "name": "switch deviceId",
736 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
739 "x": 2489.7151985168457,
740 "y": 265.00010108947754,
741 "z": "f7b8765.9d87788",
749 "id": "302f3690.f9a14a",
750 "type": "outcomeTrue",
752 "xml": "<outcome value='true'>\n",
755 "x": 2641.7153701782227,
756 "y": 264.00010108947754,
757 "z": "f7b8765.9d87788",
765 "id": "35a2ea58.cd5716",
767 "name": "set deviceId",
768 "xml": "<set>\n<parameter name='prop.site.deviceId[$prop.site.deviceId_length]' value='`$service-data.vnfs.vnf[$vidx].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",
770 "x": 2781.71537399292,
771 "y": 263.6000556945801,
772 "z": "f7b8765.9d87788",
776 "id": "aa1fa754.8a56c8",
778 "name": "set prop.site.deviceId_length",
779 "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",
781 "x": 1257.7143669128418,
782 "y": 66.99999475479126,
783 "z": "f7b8765.9d87788",
787 "id": "3fda4a72.8f9396",
789 "name": "update siteInstance configuration in AAI",
790 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='site-resource' \n key='site-resource.site-resource-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='site-resource-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /> \n<parameter name='generated-site-id' value='`$site-result.success[0].id`' /> \n<parameter name='operational-status' value='Active' />\n",
793 "x": 653.7144622802734,
794 "y": 631.0001573562622,
795 "z": "f7b8765.9d87788",
801 "id": "b5ec2bbf.0ef568",
803 "name": "execute Properties",
804 "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",
807 "x": 596.7143325805664,
808 "y": 276.9999966621399,
809 "z": "f7b8765.9d87788",
815 "id": "d4d22841.f00eb8",
817 "name": "set siteId",
818 "xml": "<set>\n<parameter name='prop.site.siteId' value=\"\" />\n\n",
820 "x": 1158.714599609375,
821 "y": 384.0000915527344,
822 "z": "f7b8765.9d87788",
826 "id": "c70c2471.2c7958",
828 "name": "block : atomic",
829 "xml": "<block atomic=\"true\">",
832 "x": 2026.7144393920898,
833 "y": 75.65758037567139,
834 "z": "f7b8765.9d87788",
844 "id": "32028fb9.746e",
846 "name": "set vnf-request-input.",
847 "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
849 "x": 2279.04744720459,
850 "y": 92.65763568878174,
851 "z": "f7b8765.9d87788",
855 "id": "9ba5f463.943968",
857 "name": "set tmp.vidx and ctx.vnf-data",
858 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
860 "x": 2306.60115814209,
862 "z": "f7b8765.9d87788",
866 "id": "fb0b8823.b3d168",
868 "name": "call sdwan-get-site-param",
869 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-site-param' mode='sync' >\n",
872 "x": 2277.6881256103516,
873 "y": 128.1071195602417,
874 "z": "f7b8765.9d87788",
880 "id": "6f03dda4.fbdb64",
882 "name": "for cpidx..prop.site.controlpoints",
883 "xml": "<for index='cpidx' start='0' end='`$prop.site.controlpoints_length`' >\n\t\t\t\t\t\t\t\t\t\n",
886 "x": 1240.7148895263672,
887 "y": 341.03131008148193,
888 "z": "f7b8765.9d87788",
896 "id": "6ae2a7d2.64e9e8",
898 "name": "block : atomic",
899 "xml": "<block atomic=\"true\">",
902 "x": 1447.7144165039062,
903 "y": 271.0312547683716,
904 "z": "f7b8765.9d87788",
913 "id": "5d97713b.b0498",
915 "name": "block : atomic",
916 "xml": "<block atomic=\"true\">",
919 "x": 1504.9644374847412,
920 "y": 112.00390911102295,
921 "z": "f7b8765.9d87788",
930 "id": "d5e8a02e.b6af9",
931 "type": "get-resource",
932 "name": "get-resource control pts for sideId",
933 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"site-resource\" \n\t\tkey=\"site-resource.site-resource-name = $prop.controlPtId AND \n\t\t depth = '1'\"\n pfx='tmp.aai.controlPoints' local-only='false' >\n\n",
936 "x": 1671.0439834594727,
937 "y": 296.0000762939453,
938 "z": "f7b8765.9d87788",
947 "id": "545c41c0.800ed",
949 "name": "set siteId in control point",
950 "xml": "<set>\n<parameter name='prop.site.controlpoints[$cpidx]' value='`$tmp.aai.controlPoints.generated-site-id`' />\n\n",
952 "x": 2068.3771781921387,
953 "y": 266.0001964569092,
954 "z": "f7b8765.9d87788",
958 "id": "3002f41f.7cb61c",
961 "xml": "<outcome value='success'>\n",
964 "x": 1889.7108268737793,
965 "y": 265.0000743865967,
966 "z": "f7b8765.9d87788",
974 "id": "9eec95b7.76f808",
977 "xml": "<outcome value='failure'>\n",
980 "x": 1891.9606704711914,
981 "y": 303.6429605484009,
982 "z": "f7b8765.9d87788",
990 "id": "aebaf4c.ab33d08",
997 "x": 2032.3770179748535,
998 "y": 302.0000171661377,
999 "z": "f7b8765.9d87788",
1005 "id": "f4a3ecf1.a3a47",
1007 "name": "set prop.controlPtId",
1008 "xml": "<set>\n<parameter name='prop.controlPtId' value='`$prop.site.controlpoints[$cpidx]`' />\n\n",
1010 "x": 1632.7104873657227,
1011 "y": 236.0000114440918,
1012 "z": "f7b8765.9d87788",
1016 "id": "793cd9f6.80cc58",
1018 "name": "call sdwan-get-tenant-auth",
1019 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
1024 "z": "f7b8765.9d87788",
1030 "id": "702b3ce6.3adbe4",
1031 "type": "switchNode",
1032 "name": "switch prop.site.controlpoints ",
1033 "xml": "<switch test=\"`$prop.site.controlPoint`\">\n\n",
1038 "z": "f7b8765.9d87788",
1047 "id": "4ac6f9a0.74a1d8",
1050 "xml": "<outcome value=''>\n",
1055 "z": "f7b8765.9d87788",
1063 "id": "b2aa5e32.50984",
1066 "xml": "<outcome value='Other'>\n",
1071 "z": "f7b8765.9d87788",
1079 "id": "d9d8dd65.e2446",
1088 "z": "f7b8765.9d87788",
1096 "id": "f1ac4b9c.e46258",
1098 "name": "should be null in request",
1101 "x": 1334.714584350586,
1102 "y": 384.00006771087646,
1103 "z": "f7b8765.9d87788",
1107 "id": "ca30cd8f.df3a",
1109 "name": "set template file hub",
1110 "xml": "<set>\n<parameter name='template.site.role' value=\"hub\" />\n\n",
1112 "x": 1601.0039978027344,
1113 "y": 202.00392055511475,
1114 "z": "f7b8765.9d87788",
1118 "id": "d71ee31.658172",
1120 "name": "block : atomic",
1121 "xml": "<block atomic=\"true\">",
1124 "x": 1095.003890991211,
1125 "y": 289.0039052963257,
1126 "z": "f7b8765.9d87788",
1135 "id": "f3663259.ad67e",
1137 "name": "set template file spoke",
1138 "xml": "<set>\n<parameter name='template.site.role' value=\"spoke\" />\n\n",
1141 "y": 308.0039129257202,
1142 "z": "f7b8765.9d87788",