3 "id": "9a049bb3.4cc658",
\r
5 "name": "method sdwan-bandwidth-policy-change",
\r
6 "xml": "<method rpc='sdwan-bandwidth-policy-change' mode='sync'>\n",
\r
9 "x": 224.56666564941406,
\r
10 "y": 188.98631858825684,
\r
11 "z": "a5dd4528.5be69",
\r
19 "id": "a7d83b15.019fd8",
\r
23 "x": 113.56666564941406,
\r
24 "y": 43.39997863769531,
\r
25 "z": "a5dd4528.5be69",
\r
33 "id": "643409a4.699f8",
\r
34 "type": "service-logic",
\r
35 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
36 "module": "GENERIC-RESOURCE-API",
\r
37 "version": "${project.version}",
\r
39 "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}'>",
\r
41 "x": 212.8523712158203,
\r
42 "y": 94.63808631896973,
\r
43 "z": "a5dd4528.5be69",
\r
51 "id": "68698faf.6a5e4",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 173.23333740234375,
\r
58 "y": 471.06669425964355,
\r
59 "z": "a5dd4528.5be69",
\r
86 "id": "dfba78b2.cf5278",
\r
88 "name": "for each vnf",
\r
89 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
92 "x": 550.5980529785156,
\r
93 "y": 268.6691265106201,
\r
94 "z": "a5dd4528.5be69",
\r
102 "id": "5e98bf05.e67a08",
\r
103 "type": "switchNode",
\r
104 "name": "switch vnf_length",
\r
105 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
108 "x": 561.5666847229004,
\r
109 "y": 207.39998722076416,
\r
110 "z": "a5dd4528.5be69",
\r
118 "id": "e784f8c3.fd2c88",
\r
121 "xml": "<outcome value=''>\n",
\r
124 "x": 741.5666656494141,
\r
125 "y": 206.39997673034668,
\r
126 "z": "a5dd4528.5be69",
\r
134 "id": "84d8c37.44581c",
\r
135 "type": "returnFailure",
\r
136 "name": "return failure",
\r
137 "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",
\r
139 "x": 890.9953918457031,
\r
140 "y": 207.54289436340332,
\r
141 "z": "a5dd4528.5be69",
\r
145 "id": "beb36a8c.fea37",
\r
146 "type": "switchNode",
\r
147 "name": "switch this vnf-id == input vnf-id",
\r
148 "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
\r
151 "x": 779.5666809082031,
\r
152 "y": 269.39998292922974,
\r
153 "z": "a5dd4528.5be69",
\r
161 "id": "19f2cbd5.f4d47c",
\r
162 "type": "outcomeTrue",
\r
164 "xml": "<outcome value='true'>\n",
\r
167 "x": 994.5666656494141,
\r
168 "y": 267.3999767303467,
\r
169 "z": "a5dd4528.5be69",
\r
177 "id": "242d7471.1e0fcc",
\r
179 "name": "set vnf-index",
\r
180 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
182 "x": 1158.566665649414,
\r
183 "y": 262.3999767303467,
\r
184 "z": "a5dd4528.5be69",
\r
188 "id": "647253ac.fc0934",
\r
190 "name": "set prop.siteAttachement_length=0",
\r
191 "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
\r
193 "x": 601.8524169921875,
\r
194 "y": 498.7333679199219,
\r
195 "z": "a5dd4528.5be69",
\r
199 "id": "87568bca.067338",
\r
201 "name": "for vf-modules.vf-module_length",
\r
202 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
\r
205 "x": 596.597900390625,
\r
206 "y": 547.9312744140625,
\r
207 "z": "a5dd4528.5be69",
\r
215 "id": "3ffd0e51.14068a",
\r
218 "xml": "<block>\n",
\r
222 "x": 806.5979614257812,
\r
223 "y": 548.9312744140625,
\r
224 "z": "a5dd4528.5be69",
\r
234 "id": "d522cd79.ad3f4",
\r
235 "type": "switchNode",
\r
236 "name": "switch ActivateSDWANDeviceInstance",
\r
237 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n",
\r
240 "x": 1091.5667190551758,
\r
241 "y": 550.4000248908997,
\r
242 "z": "a5dd4528.5be69",
\r
250 "id": "ad861bc9.52b23",
\r
251 "type": "outcomeTrue",
\r
253 "xml": "<outcome value='true'>\n",
\r
256 "x": 1313.5665588378906,
\r
257 "y": 549.4000239372253,
\r
258 "z": "a5dd4528.5be69",
\r
266 "id": "92c05fd7.57e9c8",
\r
268 "name": "block : atomic",
\r
269 "xml": "<block atomic=\"true\">",
\r
272 "x": 1457.9000625610352,
\r
273 "y": 548.4000248908997,
\r
274 "z": "a5dd4528.5be69",
\r
282 "id": "cb432e4a.4b0de8",
\r
284 "name": "for loop didx - Get deviceId from servicedata",
\r
285 "xml": "<for index=\"didx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n\n",
\r
288 "x": 1721.900146484375,
\r
289 "y": 550.39990234375,
\r
290 "z": "a5dd4528.5be69",
\r
298 "id": "c6c5951b.d1cc6",
\r
300 "name": "block : atomic",
\r
301 "xml": "<block atomic=\"true\">",
\r
304 "x": 1651.2330474853516,
\r
305 "y": 634.0666694641113,
\r
306 "z": "a5dd4528.5be69",
\r
314 "id": "dd4c1251.6b9dc",
\r
315 "type": "switchNode",
\r
316 "name": "switch name (DeviceName)",
\r
317 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].name == 'name'`\">\n\n",
\r
320 "x": 1855.900966644287,
\r
321 "y": 642.4001779556274,
\r
322 "z": "a5dd4528.5be69",
\r
330 "id": "a54c7fdf.cf7748",
\r
331 "type": "outcomeTrue",
\r
333 "xml": "<outcome value='true'>\n",
\r
336 "x": 2078.901424407959,
\r
337 "y": 623.4002380371094,
\r
338 "z": "a5dd4528.5be69",
\r
346 "id": "e01920aa.1d3f78",
\r
348 "name": "block : atomic",
\r
349 "xml": "<block atomic=\"true\">",
\r
352 "x": 1817.234275817871,
\r
353 "y": 724.4002418518066,
\r
354 "z": "a5dd4528.5be69",
\r
362 "id": "491ad5e7.d88bf4",
\r
363 "type": "switchNode",
\r
364 "name": "switch deviceName match",
\r
365 "xml": "<switch test=\"`$prop.wan.deviceName == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$didx].value`\">\n\n\n",
\r
368 "x": 2022.9010009765625,
\r
369 "y": 725.4003057479858,
\r
370 "z": "a5dd4528.5be69",
\r
378 "id": "80098fd9.d10308",
\r
379 "type": "outcomeTrue",
\r
381 "xml": "<outcome value='true'>\n",
\r
384 "x": 1792.2350692749023,
\r
385 "y": 791.4003944396973,
\r
386 "z": "a5dd4528.5be69",
\r
394 "id": "408c0e84.0ebe98",
\r
396 "name": "block : atomic",
\r
397 "xml": "<block atomic=\"true\">",
\r
400 "x": 1941.567039489746,
\r
401 "y": 796.4001502990723,
\r
402 "z": "a5dd4528.5be69",
\r
412 "id": "cda76362.f26248",
\r
414 "name": "for loop deviceidx - Get deviceId from servicedata",
\r
415 "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",
\r
418 "x": 2212.7642211914062,
\r
419 "y": 767.4313468933105,
\r
420 "z": "a5dd4528.5be69",
\r
428 "id": "c8c067f4.7b7878",
\r
430 "name": "set tmp.devicevidx",
\r
431 "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$vfidx`' />\n\n",
\r
433 "x": 2130.566131591797,
\r
434 "y": 807.4001054763794,
\r
435 "z": "a5dd4528.5be69",
\r
439 "id": "ef90e6fe.b8472",
\r
441 "name": "block : atomic",
\r
442 "xml": "<block atomic=\"true\">",
\r
445 "x": 2377.7650756835938,
\r
446 "y": 819.4314308166504,
\r
447 "z": "a5dd4528.5be69",
\r
456 "id": "290b2bde.04b43c",
\r
457 "type": "switchNode",
\r
458 "name": "switch deviceId",
\r
459 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
\r
462 "x": 2393.234748840332,
\r
463 "y": 862.0670013427734,
\r
464 "z": "a5dd4528.5be69",
\r
472 "id": "b918da97.d41cb",
\r
474 "name": "Get deviceId from device resource created for this service",
\r
477 "x": 2220.9000930786133,
\r
478 "y": 692.7332530021667,
\r
479 "z": "a5dd4528.5be69",
\r
483 "id": "c140599c.4a564",
\r
484 "type": "outcomeTrue",
\r
486 "xml": "<outcome value='true'>\n",
\r
489 "x": 2546.235118865967,
\r
490 "y": 863.0670785903931,
\r
491 "z": "a5dd4528.5be69",
\r
499 "id": "3da2b7b6.0edbe",
\r
501 "name": "set prop.wan.deviceId",
\r
502 "xml": "<set>\n<parameter name='prop.wan.deviceId' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`' />\n",
\r
504 "x": 2715.235725402832,
\r
505 "y": 861.6671133041382,
\r
506 "z": "a5dd4528.5be69",
\r
510 "id": "2b00a206.372fbe",
\r
511 "type": "switchNode",
\r
512 "name": "switch ActivateSiteInstance",
\r
513 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n\n \n\n",
\r
516 "x": 1045.2333755493164,
\r
517 "y": 611.0666937828064,
\r
518 "z": "a5dd4528.5be69",
\r
526 "id": "5764d81.58e5728",
\r
527 "type": "outcomeTrue",
\r
529 "xml": "<outcome value='true'>\n",
\r
532 "x": 1239.2335510253906,
\r
533 "y": 610.066713809967,
\r
534 "z": "a5dd4528.5be69",
\r
542 "id": "dc9d979a.5f2cd",
\r
544 "name": "set tmp.siteVidx",
\r
545 "xml": "<set>\n<parameter name='tmp.siteVidx' value='`$vfidx`' />\n<parameter name='ctx.site.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].`' />",
\r
547 "x": 1402.2329864501953,
\r
548 "y": 607.0667147636414,
\r
549 "z": "a5dd4528.5be69",
\r
553 "id": "9a1087dc.7cf728",
\r
554 "type": "switchNode",
\r
555 "name": "switch tmp.wanPortVidx",
\r
556 "xml": "<switch test=\"`$tmp.wanPortVidx`\">\n\n",
\r
559 "x": 554.56689453125,
\r
560 "y": 643.4001770019531,
\r
561 "z": "a5dd4528.5be69",
\r
569 "id": "ce9e8fbf.c64eb8",
\r
570 "type": "switchNode",
\r
571 "name": "switch tmp.siteVidx",
\r
572 "xml": "<switch test=\"`$tmp.siteVidx`\">\n\n",
\r
575 "x": 539.5511474609375,
\r
576 "y": 688.3965449333191,
\r
577 "z": "a5dd4528.5be69",
\r
585 "id": "46021ece.1d213",
\r
586 "type": "switchNode",
\r
587 "name": "switch tmp.devicevidx",
\r
588 "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
\r
591 "x": 551.2178955078125,
\r
592 "y": 733.396514415741,
\r
593 "z": "a5dd4528.5be69",
\r
601 "id": "17a08f2e.392ab1",
\r
604 "xml": "<outcome value=''>\n",
\r
607 "x": 729.6464958190918,
\r
608 "y": 733.9678673744202,
\r
609 "z": "a5dd4528.5be69",
\r
617 "id": "3a404df0.e435ea",
\r
620 "xml": "<outcome value=''>\n",
\r
623 "x": 722.9798278808594,
\r
624 "y": 686.9677844047546,
\r
625 "z": "a5dd4528.5be69",
\r
633 "id": "8b1ad78e.657ac",
\r
636 "xml": "<outcome value=''>\n",
\r
639 "x": 724.9955978393555,
\r
640 "y": 645.9715518951416,
\r
641 "z": "a5dd4528.5be69",
\r
649 "id": "37d9bd3f.0a7402",
\r
650 "type": "returnFailure",
\r
651 "name": "return failure",
\r
652 "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=\"ActivateSDWANPortInstance not found in service-data\" />\n",
\r
654 "x": 866.4246597290039,
\r
655 "y": 646.1144709587097,
\r
656 "z": "a5dd4528.5be69",
\r
660 "id": "762e1a6d.f87714",
\r
661 "type": "returnFailure",
\r
662 "name": "return failure",
\r
663 "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=\"ActivateSiteInstance not found in service-data\" />\n",
\r
665 "x": 867.4087905883789,
\r
666 "y": 687.1106886863708,
\r
667 "z": "a5dd4528.5be69",
\r
671 "id": "9de45a58.c4c508",
\r
672 "type": "returnFailure",
\r
673 "name": "return failure",
\r
674 "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=\"ActivateSDWANDeviceInstance not found in service-data\" />\n",
\r
676 "x": 876.0752811431885,
\r
677 "y": 733.110867023468,
\r
678 "z": "a5dd4528.5be69",
\r
682 "id": "5fd7672d.efd348",
\r
684 "name": "for loop sidx - Get siteId from servicedata",
\r
685 "xml": "<for index=\"sidx\" start=\"0\" end=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`\">\n \n \n",
\r
688 "x": 615.5666580200195,
\r
689 "y": 797.3999600410461,
\r
690 "z": "a5dd4528.5be69",
\r
698 "id": "57a9a39a.d4fa04",
\r
700 "name": "block : atomic",
\r
701 "xml": "<block atomic=\"true\">",
\r
704 "x": 877.5768508911133,
\r
705 "y": 798.0767846107483,
\r
706 "z": "a5dd4528.5be69",
\r
714 "id": "757fc61f.93222",
\r
715 "type": "switchNode",
\r
716 "name": "switch siteId",
\r
717 "xml": "<switch test=\"`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].name == 'siteId'`\">\n",
\r
720 "x": 1046.5669860839844,
\r
721 "y": 798.4000906944275,
\r
722 "z": "a5dd4528.5be69",
\r
730 "id": "6950422c.cbd75c",
\r
731 "type": "outcomeTrue",
\r
733 "xml": "<outcome value='true'>\n",
\r
736 "x": 1184.5674438476562,
\r
737 "y": 796.4000754356384,
\r
738 "z": "a5dd4528.5be69",
\r
746 "id": "e425faf5.c4ed2",
\r
748 "name": "set prop.wan.siteId",
\r
749 "xml": "<set>\n<parameter name='prop.wan.siteId' value='`$ctx.site.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$sidx].value`' />\n\n\n",
\r
751 "x": 1348.5674781799316,
\r
752 "y": 797.9999289512634,
\r
753 "z": "a5dd4528.5be69",
\r
757 "id": "72a6e071.e177a8",
\r
759 "name": "execute RestApiCallNode Get token",
\r
760 "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\"/>",
\r
763 "x": 598.5666580200195,
\r
764 "y": 970.7333340644836,
\r
765 "z": "a5dd4528.5be69",
\r
774 "id": "c5a35f5.403d42",
\r
775 "type": "get-resource",
\r
776 "name": "get-resource esr-thirdparty-sdnc",
\r
777 "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",
\r
780 "x": 584.6284294128418,
\r
781 "y": 887.6122145652771,
\r
782 "z": "a5dd4528.5be69",
\r
792 "id": "e08ebeb2.23c9c8",
\r
795 "xml": "<outcome value='success'>\n",
\r
798 "x": 819.6284942626953,
\r
799 "y": 851.6122317314148,
\r
800 "z": "a5dd4528.5be69",
\r
808 "id": "dad13825.dc1af8",
\r
809 "type": "not-found",
\r
810 "name": "not-found",
\r
811 "xml": "<outcome value='not-found'>\n",
\r
814 "x": 822.1193771362305,
\r
815 "y": 887.1862683296204,
\r
816 "z": "a5dd4528.5be69",
\r
824 "id": "161968de.f90387",
\r
827 "xml": "<outcome value='Other'>\n",
\r
830 "x": 817.4523849487305,
\r
831 "y": 923.5196270942688,
\r
832 "z": "a5dd4528.5be69",
\r
840 "id": "4d64dd3e.65fe1c",
\r
841 "type": "returnFailure",
\r
842 "name": "return failure",
\r
843 "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",
\r
845 "x": 967.6907730102539,
\r
846 "y": 885.4719557762146,
\r
847 "z": "a5dd4528.5be69",
\r
851 "id": "e9266da5.edf4d",
\r
853 "name": "set controller data",
\r
854 "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",
\r
856 "x": 980.128604888916,
\r
857 "y": 849.6121716499329,
\r
858 "z": "a5dd4528.5be69",
\r
862 "id": "3e8b4780.c3e7b",
\r
865 "xml": "<outcome value='success'>\n",
\r
868 "x": 833.5667839050293,
\r
869 "y": 956.7333226203918,
\r
870 "z": "a5dd4528.5be69",
\r
878 "id": "87683e31.3531e8",
\r
881 "xml": "<outcome value='failure'>\n",
\r
884 "x": 832.8167839050293,
\r
885 "y": 992.376229763031,
\r
886 "z": "a5dd4528.5be69",
\r
894 "id": "8a7885ae.8c3fd8",
\r
895 "type": "returnFailure",
\r
896 "name": "return failure",
\r
897 "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 get token rest api\" />\n",
\r
899 "x": 981.5667915344238,
\r
900 "y": 993.1263117790222,
\r
901 "z": "a5dd4528.5be69",
\r
905 "id": "fa15d12b.8abbb",
\r
907 "name": "set token-id",
\r
908 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
910 "x": 975.5667915344238,
\r
911 "y": 955.7333235740662,
\r
912 "z": "a5dd4528.5be69",
\r
916 "id": "c4f29b01.377588",
\r
918 "name": "set prop.tenant-id",
\r
919 "xml": "<set>\n<parameter name='prop.tenant-id' value='d9511b64-61ae-446e-96a1-6adbff09582c' />\n",
\r
921 "x": 540.5666427612305,
\r
922 "y": 1016.0250115394592,
\r
923 "z": "a5dd4528.5be69",
\r
927 "id": "4374ec20.cd7fb4",
\r
929 "name": "execute RestApiCallNode Create tenant auth",
\r
930 "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/campus/v2/baseservice/tenants/authorization/' + $prop.tenant-id`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"tenant-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`\" />",
\r
933 "x": 622.5666542053223,
\r
934 "y": 1058.0248894691467,
\r
935 "z": "a5dd4528.5be69",
\r
941 "id": "14fd878.e55fbf9",
\r
942 "type": "returnFailure",
\r
943 "name": "return failure",
\r
944 "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",
\r
946 "x": 971.2248764038086,
\r
947 "y": 920.9587140083313,
\r
948 "z": "a5dd4528.5be69",
\r
952 "id": "aaf4a45e.8000f",
\r
953 "type": "returnSuccess",
\r
954 "name": "return success",
\r
955 "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",
\r
957 "x": 499.5666923522949,
\r
958 "y": 1616.3999853134155,
\r
959 "z": "a5dd4528.5be69",
\r
963 "id": "e1db3a67.9d3d88",
\r
965 "name": "set prop.wan.transportNetworkId",
\r
966 "xml": "<set>\n<parameter name='prop.wan.transportNetworkId' value='`$transportNetworksResp.data.transportNetworks[$tidx].id`' />\n",
\r
968 "x": 1441.223258972168,
\r
969 "y": 1218.0559792518616,
\r
970 "z": "a5dd4528.5be69",
\r
974 "id": "d4c498b3.d479b",
\r
975 "type": "switchNode",
\r
976 "name": "switch transportNetworkName same",
\r
977 "xml": "<switch test=\"`$transportNetworksResp.data.transportNetworks[$tidx].name == $prop.wan.transportNetworkName`\">\n\n",
\r
980 "x": 1021.23291015625,
\r
981 "y": 1218.7323279380798,
\r
982 "z": "a5dd4528.5be69",
\r
990 "id": "a695536e.3aae48",
\r
991 "type": "outcomeTrue",
\r
993 "xml": "<outcome value='true'>\n",
\r
996 "x": 1234.2323608398438,
\r
997 "y": 1218.7322459220886,
\r
998 "z": "a5dd4528.5be69",
\r
1006 "id": "3ea2c186.a3bafe",
\r
1009 "xml": "<block>\n",
\r
1010 "atomic": "false",
\r
1013 "x": 808.2326622009277,
\r
1014 "y": 1219.3990569114685,
\r
1015 "z": "a5dd4528.5be69",
\r
1023 "id": "4fea1987.fd6de8",
\r
1025 "name": "for loop tidx - Get transportNetwork ID",
\r
1026 "xml": "<for index=\"tidx\" start=\"0\" end=\"`$transportNetworksResp.data.transportNetworks_length`\">\n \n \n",
\r
1029 "x": 584.2322463989258,
\r
1030 "y": 1219.3987774848938,
\r
1031 "z": "a5dd4528.5be69",
\r
1039 "id": "efdcb038.cc7768",
\r
1041 "name": "block : atomic",
\r
1042 "xml": "<block atomic=\"true\">",
\r
1046 "x": 1086.2318840026855,
\r
1047 "y": 1175.0654292106628,
\r
1048 "z": "a5dd4528.5be69",
\r
1054 "id": "7c7050b2.5e82f8",
\r
1055 "type": "returnFailure",
\r
1056 "name": "return failure",
\r
1057 "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 Get transport network info rest api\" />\n",
\r
1059 "x": 1075.232135772705,
\r
1060 "y": 1131.06543302536,
\r
1061 "z": "a5dd4528.5be69",
\r
1065 "id": "a758bd40.1d94d",
\r
1066 "type": "failure",
\r
1067 "name": "failure",
\r
1068 "xml": "<outcome value='failure'>\n",
\r
1071 "x": 933.231803894043,
\r
1072 "y": 1132.06543302536,
\r
1073 "z": "a5dd4528.5be69",
\r
1081 "id": "2520e9c0.37b516",
\r
1082 "type": "success",
\r
1083 "name": "success",
\r
1084 "xml": "<outcome value='success'>\n",
\r
1087 "x": 929.2318801879883,
\r
1088 "y": 1176.065755367279,
\r
1089 "z": "a5dd4528.5be69",
\r
1097 "id": "1e6767eb.165f58",
\r
1098 "type": "execute",
\r
1099 "name": "execute RestApiCallNode get transport network info",
\r
1100 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/network-orchestration-resources'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"transportNetworksResp\"/>\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`\" />",
\r
1103 "x": 641.2322387695312,
\r
1104 "y": 1181.06591796875,
\r
1105 "z": "a5dd4528.5be69",
\r
1108 "2520e9c0.37b516",
\r
1114 "id": "5862d24a.2961c4",
\r
1116 "name": "save sdwan vpn bandwidth configuration in AAI",
\r
1117 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-history' \n key='sdwan-bandwidth-policy-id = $prop.bandwidth.bandwidth-policyId' >\n<parameter name=\"sdwan-bandwidth-policy-id\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"sdwan-bandwidth-policy-name\" value=\"`$prop.bandwidth.bandwidth-policyId`\" />\n<parameter name=\"bandwidth-value\" value=\"`$prop.wan.inputBandwidth`\" />\n<parameter name=\"bandwidth-change-time\" value=\"`$prop.wan.bandwidth-change-time`\" />\n<parameter name=\"vpn-id\" value=\"`$prop.bandwidth.vpnId`\" />\n<!--parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' /-->\n",
\r
1120 "x": 603.3232421875,
\r
1121 "y": 1570.728271484375,
\r
1122 "z": "a5dd4528.5be69",
\r
1131 "id": "45255c46.056ca4",
\r
1133 "name": "for loop bwidx -input-parameters",
\r
1134 "xml": "<for index=\"bwidx\" start=\"0\" end=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param_length`\">\n",
\r
1137 "x": 572.6604423522949,
\r
1138 "y": 1381.065131187439,
\r
1139 "z": "a5dd4528.5be69",
\r
1147 "id": "4ac42fe3.4e6828",
\r
1149 "name": "block : atomic",
\r
1150 "xml": "<block atomic=\"true\">",
\r
1153 "x": 808.6612739562988,
\r
1154 "y": 1380.065294265747,
\r
1155 "z": "a5dd4528.5be69",
\r
1158 "6913905f.eaac88",
\r
1164 "id": "6913905f.eaac88",
\r
1165 "type": "switchNode",
\r
1166 "name": "switch bandwidth",
\r
1167 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth'`\">\n",
\r
1170 "x": 995.1305198669434,
\r
1171 "y": 1376.7007102966309,
\r
1172 "z": "a5dd4528.5be69",
\r
1180 "id": "267718b3.35416",
\r
1181 "type": "outcomeTrue",
\r
1183 "xml": "<outcome value='true'>\n",
\r
1186 "x": 1161.130853652954,
\r
1187 "y": 1373.7008743286133,
\r
1188 "z": "a5dd4528.5be69",
\r
1196 "id": "8eef17cf.1cf068",
\r
1198 "name": "set prop.wan.inputBandwidth & outputBandwidth",
\r
1199 "xml": "<set>\n<parameter name='prop.wan.inputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n<parameter name='prop.wan.outputBandwidth' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n",
\r
1201 "x": 1424.1315116882324,
\r
1202 "y": 1372.300971031189,
\r
1203 "z": "a5dd4528.5be69",
\r
1207 "id": "106821b2.664aee",
\r
1208 "type": "switchNode",
\r
1209 "name": "switch bandwidth",
\r
1210 "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].name == 'bandwidth-change-time'`\">\n\n",
\r
1213 "x": 997.9359169006348,
\r
1214 "y": 1414.7317447662354,
\r
1215 "z": "a5dd4528.5be69",
\r
1223 "id": "b5bd2ffc.b730a8",
\r
1224 "type": "outcomeTrue",
\r
1226 "xml": "<outcome value='true'>\n",
\r
1229 "x": 1163.9362506866455,
\r
1230 "y": 1411.7319087982178,
\r
1231 "z": "a5dd4528.5be69",
\r
1239 "id": "8a7a213b.3c97e8",
\r
1241 "name": "set prop.wan.bandwidth-change-time",
\r
1242 "xml": "<set>\n<parameter name='prop.wan.bandwidth-change-time' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$bwidx].value`' />\n\n",
\r
1244 "x": 1397.9369316101074,
\r
1245 "y": 1410.3320541381836,
\r
1246 "z": "a5dd4528.5be69",
\r
1250 "id": "d5941ab4.54903",
\r
1251 "type": "failure",
\r
1252 "name": "success",
\r
1253 "xml": "<outcome value='success'>\n",
\r
1256 "x": 866.6026725769043,
\r
1257 "y": 1547.3988437652588,
\r
1258 "z": "a5dd4528.5be69",
\r
1266 "id": "f5f1e715.54f9b8",
\r
1267 "type": "failure",
\r
1268 "name": "failure",
\r
1269 "xml": "<outcome value='failure'>\n",
\r
1272 "x": 861.6026725769043,
\r
1273 "y": 1581.3988456726074,
\r
1274 "z": "a5dd4528.5be69",
\r
1282 "id": "c9155d20.3eb07",
\r
1284 "name": "block : atomic",
\r
1285 "xml": "<block atomic=\"true\">",
\r
1289 "x": 1018.6026763916016,
\r
1290 "y": 1544.398844242096,
\r
1291 "z": "a5dd4528.5be69",
\r
1297 "id": "3c5dd58c.8a71c2",
\r
1298 "type": "execute",
\r
1299 "name": "execute generate-vnf-index",
\r
1300 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.bandwidth.bandwidth-policyId\"/>\n",
\r
1303 "x": 543.7319297790527,
\r
1304 "y": 1530.3986806869507,
\r
1305 "z": "a5dd4528.5be69",
\r
1311 "id": "e2622fc0.5939a8",
\r
1312 "type": "returnFailure",
\r
1313 "name": "return failure",
\r
1314 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"Falied to add AAI bandwidth history record\" />\n",
\r
1316 "x": 1010.7319087982178,
\r
1317 "y": 1581.3988456726074,
\r
1318 "z": "a5dd4528.5be69",
\r
1322 "id": "f01e536c.bb0ae",
\r
1323 "type": "returnFailure",
\r
1324 "name": "return failure",
\r
1325 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
\r
1327 "x": 916.2221488952637,
\r
1328 "y": 1343.3891305923462,
\r
1329 "z": "a5dd4528.5be69",
\r
1333 "id": "5f1a4be7.1831d4",
\r
1335 "name": "set ipAddress prefixLength",
\r
1336 "xml": "<set>\n<parameter name='prop.wan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.wan.prefixLength' value='`$ipandMask[1]`' />",
\r
1338 "x": 958.2221565246582,
\r
1339 "y": 1303.3891277313232,
\r
1340 "z": "a5dd4528.5be69",
\r
1344 "id": "356c08ca.858ea",
\r
1345 "type": "failure",
\r
1346 "name": "failure",
\r
1347 "xml": "<outcome value='failure'>\n",
\r
1350 "x": 761.2221412658691,
\r
1351 "y": 1346.3891315460205,
\r
1352 "z": "a5dd4528.5be69",
\r
1360 "id": "e29752cc.b1057",
\r
1361 "type": "failure",
\r
1362 "name": "success",
\r
1363 "xml": "<outcome value='success'>\n",
\r
1366 "x": 761.2221374511719,
\r
1367 "y": 1305.3891277313232,
\r
1368 "z": "a5dd4528.5be69",
\r
1376 "id": "8f8f069f.d3b5f",
\r
1377 "type": "execute",
\r
1378 "name": "execute split ip and mask",
\r
1379 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.wan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",
\r
1382 "x": 560.2221183776855,
\r
1383 "y": 1327.389136314392,
\r
1384 "z": "a5dd4528.5be69",
\r
1393 "id": "47c6aebc.f1b69",
\r
1394 "type": "comment",
\r
1395 "name": "Create wan port",
\r
1398 "x": 524.2320098876953,
\r
1399 "y": 1280.3990497589111,
\r
1400 "z": "a5dd4528.5be69",
\r
1404 "id": "ea46891e.885df8",
\r
1405 "type": "comment",
\r
1406 "name": "TODO: split ip/mask",
\r
1409 "x": 948.231803894043,
\r
1410 "y": 1265.569263458252,
\r
1411 "z": "a5dd4528.5be69",
\r
1415 "id": "8263e11d.eced28",
\r
1416 "type": "comment",
\r
1417 "name": "Get network id",
\r
1420 "x": 595.2318649291992,
\r
1421 "y": 1145.398844242096,
\r
1422 "z": "a5dd4528.5be69",
\r
1426 "id": "9f0c831.34326",
\r
1429 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic111.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\n",
\r
1432 "x": 1000.566722869873,
\r
1433 "y": 507.4000153541565,
\r
1434 "z": "a5dd4528.5be69",
\r
1440 "id": "19aa1fcf.94cd28",
\r
1443 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic113.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].name`'/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$deviceidx].value`'/>\n",
\r
1446 "x": 2529.56681060791,
\r
1447 "y": 803.4000597000122,
\r
1448 "z": "a5dd4528.5be69",
\r
1454 "id": "278adaa9.823dce",
\r
1457 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic112.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.devicevidx\"/>\n<parameter name=\"field3\" value='`$tmp.devicevidx`'/>\n",
\r
1460 "x": 2084.5667839050293,
\r
1461 "y": 858.4000263214111,
\r
1462 "z": "a5dd4528.5be69",
\r
1468 "id": "f68778bd.a5e7e",
\r
1469 "type": "outcomeTrue",
\r
1471 "xml": "<outcome value='true'>\n",
\r
1474 "x": 1261.050765991211,
\r
1475 "y": 450.4000053405762,
\r
1476 "z": "a5dd4528.5be69",
\r
1484 "id": "68d0b699.a0397",
\r
1485 "type": "switchNode",
\r
1486 "name": "switch ActivateSDWANPortInstance",
\r
1487 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.request-information.request-action == 'ActivateSDWANPortInstance'`\">\n\n \n \n\n",
\r
1490 "x": 1041.3366088867188,
\r
1491 "y": 448.97149562835693,
\r
1492 "z": "a5dd4528.5be69",
\r
1500 "id": "10208096.b0748f",
\r
1502 "name": "block : atomic",
\r
1503 "xml": "<block atomic=\"true\">",
\r
1506 "x": 804.5507965087891,
\r
1507 "y": 449.40000343322754,
\r
1508 "z": "a5dd4528.5be69",
\r
1516 "id": "5a004830.6f6608",
\r
1518 "name": "for each existing vf-index",
\r
1519 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
1522 "x": 576.05078125,
\r
1523 "y": 453.39996337890625,
\r
1524 "z": "a5dd4528.5be69",
\r
1532 "id": "8800c891.1aaf5",
\r
1535 "xml": "<outcome value='Other'>\n",
\r
1538 "x": 849.5666885375977,
\r
1539 "y": 397.6222381591797,
\r
1540 "z": "a5dd4528.5be69",
\r
1548 "id": "34c4a2e.64014de",
\r
1549 "type": "switchNode",
\r
1550 "name": "switch vf-modules.vf-module_length",
\r
1551 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
1554 "x": 613.5666656494141,
\r
1555 "y": 343.6222223942168,
\r
1556 "z": "a5dd4528.5be69",
\r
1559 "33f1e3b3.90eed4",
\r
1560 "395a4d10.df2e0a",
\r
1566 "id": "33f1e3b3.90eed4",
\r
1567 "type": "outcome",
\r
1569 "xml": "<outcome value='0'>\n",
\r
1572 "x": 855.0507020950317,
\r
1573 "y": 315.39995142864063,
\r
1574 "z": "a5dd4528.5be69",
\r
1582 "id": "395a4d10.df2e0a",
\r
1585 "xml": "<outcome value=''>\n",
\r
1588 "x": 857.0818910598755,
\r
1589 "y": 352.4312624637969,
\r
1590 "z": "a5dd4528.5be69",
\r
1598 "id": "bb38fd5b.c750d",
\r
1599 "type": "returnFailure",
\r
1600 "name": "return failure",
\r
1601 "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=\"vf-module-operation-input.vf-module-request-input.vf-id not found in service-data\" />\n",
\r
1603 "x": 1014.8594064712524,
\r
1604 "y": 333.32021090434864,
\r
1605 "z": "a5dd4528.5be69",
\r
1609 "id": "fa1fe2ce.2a535",
\r
1611 "name": "set vf-module-length",
\r
1612 "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n\n",
\r
1614 "x": 1035.2332916259766,
\r
1615 "y": 379.3999767303467,
\r
1616 "z": "a5dd4528.5be69",
\r
1620 "id": "8eebd9f0.5af1d8",
\r
1622 "name": "block : atomic",
\r
1623 "xml": "<block atomic=\"true\">",
\r
1626 "x": 1407.5980224609375,
\r
1627 "y": 449.43121337890625,
\r
1628 "z": "a5dd4528.5be69",
\r
1631 "ad2f75c.b666408",
\r
1632 "737c6127.28b5f8",
\r
1639 "id": "ad2f75c.b666408",
\r
1641 "name": "set tmp.wanPortVidx and ctx.vnf-data",
\r
1642 "xml": "<set>\n<parameter name='tmp.wanPortVidx' value='`$idx`' />\n<parameter name='tmp.vidx' value='`$idx`' />\n<parameter name='ctx.vf-module-data.' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.`' />\n",
\r
1644 "x": 1679.4847412109375,
\r
1645 "y": 405.7736511230469,
\r
1646 "z": "a5dd4528.5be69",
\r
1650 "id": "737c6127.28b5f8",
\r
1652 "name": "set vf-module-request-input.",
\r
1653 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
1655 "x": 1640.930908203125,
\r
1656 "y": 451.4312744140625,
\r
1657 "z": "a5dd4528.5be69",
\r
1661 "id": "e5fe7bc8.c4621",
\r
1663 "name": "call sdwan-get-wan-param",
\r
1664 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",
\r
1667 "x": 1641.2274169921875,
\r
1668 "y": 500.2708740234375,
\r
1669 "z": "a5dd4528.5be69",
\r
1675 "id": "63f7d78f.5a87f",
\r
1678 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic121.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"tmp.wanPortVidx\"/>\n<parameter name=\"field3\" value='`$tmp.wanPortVidx`'/>\n<parameter name=\"field4\" value=\"wan port i/p param len\"/>\n<parameter name=\"field5\" value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'/>\n",
\r
1681 "x": 1590.5980224609375,
\r
1682 "y": 361.43121337890625,
\r
1683 "z": "a5dd4528.5be69",
\r
1689 "id": "728a8fb2.b98e98",
\r
1690 "type": "comment",
\r
1691 "name": "no bandwidth resource in AAI, not required to add",
\r
1696 "z": "a5dd4528.5be69",
\r
1700 "id": "3576832.1dfbb7c",
\r
1701 "type": "execute",
\r
1702 "name": "execute Properties",
\r
1703 "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",
\r
1708 "z": "a5dd4528.5be69",
\r
1714 "id": "ae8b2331.d9b508",
\r
1716 "name": "call sdwan-get-tenant-auth",
\r
1717 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
\r
1722 "z": "a5dd4528.5be69",
\r
1728 "id": "83f66961.dd8d88",
\r
1730 "name": "for loop idx - VF-module input parameters",
\r
1731 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`'>\n",
\r
1736 "z": "a5dd4528.5be69",
\r
1744 "id": "262c400c.36b75",
\r
1747 "xml": "<block>\n",
\r
1748 "atomic": "false",
\r
1751 "x": 813.6459541320801,
\r
1752 "y": 1461.9219717979431,
\r
1753 "z": "a5dd4528.5be69",
\r
1761 "id": "736b2f2f.c714a",
\r
1762 "type": "switchNode",
\r
1763 "name": "switch IPMode",
\r
1764 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'IPMode'`\">\n",
\r
1767 "x": 961.7631988525391,
\r
1768 "y": 1463.8954553604126,
\r
1769 "z": "a5dd4528.5be69",
\r
1777 "id": "e274d175.2bfe3",
\r
1778 "type": "outcomeTrue",
\r
1780 "xml": "<outcome value='true'>\n",
\r
1783 "x": 1109.76318359375,
\r
1784 "y": 1460.895420074463,
\r
1785 "z": "a5dd4528.5be69",
\r
1793 "id": "93ac81ca.d92568",
\r
1795 "name": "block : atomic",
\r
1796 "xml": "<block atomic=\"true\">",
\r
1800 "y": 1462.7777709960938,
\r
1801 "z": "a5dd4528.5be69",
\r
1810 "id": "6eea0f00.2e929",
\r
1811 "type": "switchNode",
\r
1812 "name": "switch IPMode Static match",
\r
1813 "xml": "<switch test=\"`Static == $prop.wan.IPMode`\">\n\n\n",
\r
1816 "x": 1484.4169921875,
\r
1817 "y": 1444.778076171875,
\r
1818 "z": "a5dd4528.5be69",
\r
1826 "id": "f7782c28.07206",
\r
1827 "type": "switchNode",
\r
1828 "name": "switch IPMode DHCP match",
\r
1829 "xml": "<switch test=\"`DHCP == $prop.wan.IPMode`\">\n\n\n",
\r
1832 "x": 1484.7501602172852,
\r
1833 "y": 1500.7780017852783,
\r
1834 "z": "a5dd4528.5be69",
\r
1842 "id": "7472742.b32b58c",
\r
1843 "type": "outcomeTrue",
\r
1845 "xml": "<outcome value='true'>\n",
\r
1848 "x": 1672.4168395996094,
\r
1849 "y": 1499.0001697540283,
\r
1850 "z": "a5dd4528.5be69",
\r
1858 "id": "eaece4a3.1d5c88",
\r
1859 "type": "outcomeTrue",
\r
1861 "xml": "<outcome value='true'>\n",
\r
1864 "x": 1673.4168434143066,
\r
1865 "y": 1445.000165939331,
\r
1866 "z": "a5dd4528.5be69",
\r
1874 "id": "80b151f8.e82f1",
\r
1876 "name": "block : atomic",
\r
1877 "xml": "<block atomic=\"true\">",
\r
1880 "x": 1839.9128112792969,
\r
1881 "y": 1412.3334267735481,
\r
1882 "z": "a5dd4528.5be69",
\r
1891 "id": "4526059b.1e387c",
\r
1893 "name": "block : atomic",
\r
1894 "xml": "<block atomic=\"true\">",
\r
1897 "x": 1835.9128112792969,
\r
1898 "y": 1516.3334267735481,
\r
1899 "z": "a5dd4528.5be69",
\r
1902 "baee4a0f.d707e8",
\r
1908 "id": "c873d25a.755608",
\r
1909 "type": "execute",
\r
1910 "name": "execute RestApiCallNode wan port create",
\r
1911 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-static.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\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`\" />",
\r
1914 "x": 2101.448211669922,
\r
1915 "y": 1435.4117959141731,
\r
1916 "z": "a5dd4528.5be69",
\r
1925 "id": "dab4448b.24761",
\r
1926 "type": "failure",
\r
1927 "name": "failure",
\r
1928 "xml": "<outcome value='failure'>\n",
\r
1931 "x": 2393.4480361938477,
\r
1932 "y": 1454.4113025665283,
\r
1933 "z": "a5dd4528.5be69",
\r
1941 "id": "723a7671.6415b",
\r
1942 "type": "success",
\r
1943 "name": "success",
\r
1944 "xml": "<outcome value='success'>\n",
\r
1947 "x": 2391.447956085205,
\r
1948 "y": 1501.4114656448364,
\r
1949 "z": "a5dd4528.5be69",
\r
1957 "id": "cffa333a.efac6",
\r
1959 "name": "block : atomic",
\r
1960 "xml": "<block atomic=\"true\">",
\r
1964 "x": 2560.4479637145996,
\r
1965 "y": 1501.411302447319,
\r
1966 "z": "a5dd4528.5be69",
\r
1972 "id": "7474d383.13c1a4",
\r
1974 "name": "block : atomic",
\r
1975 "xml": "<block atomic=\"true\">",
\r
1979 "x": 2553.4517860412598,
\r
1980 "y": 1452.915044784546,
\r
1981 "z": "a5dd4528.5be69",
\r
1989 "id": "f08d9ab2.8ed8e",
\r
1991 "name": "set IP params",
\r
1992 "xml": "<set>\n<parameter name='prop.wan.IpMode' value=\"static\" />\n<parameter name='prop.wan.ipAddress' value='`$prop.wan.ip-address`' />\n<parameter name='prop.route.nextHopType' value=\"ip-address\" />\n\n\n",
\r
1994 "x": 2024.2052917480469,
\r
1995 "y": 1384.2327187657356,
\r
1996 "z": "a5dd4528.5be69",
\r
2000 "id": "baee4a0f.d707e8",
\r
2002 "name": "set IP params",
\r
2003 "xml": "<set>\n<parameter name='prop.wan.ipAddress' value=\"\" />\n<parameter name='prop.wan.prefixLength' value=\"\" />\n<parameter name='prop.wan.providerIpAddress' value=\"\" />\n<parameter name='prop.wan.IpMode' value=\"DHCP\" />\n<parameter name='prop.route.nextHopType' value=\"outbound-interface\" />\n\n\n\n",
\r
2005 "x": 2021.6669616699219,
\r
2006 "y": 1498.3334267735481,
\r
2007 "z": "a5dd4528.5be69",
\r
2011 "id": "f153c1be.8bc498",
\r
2012 "type": "execute",
\r
2013 "name": "execute RestApiCallNode wan port create",
\r
2014 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-dhcp.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports'`\" />\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=\"put\"/>\n<parameter name=\"responsePrefix\" value=\"wanPortResp\"/>\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`\" />",
\r
2017 "x": 2103.912811279297,
\r
2018 "y": 1538.3334267735481,
\r
2019 "z": "a5dd4528.5be69",
\r
2028 "id": "a381f3c1.8fd548",
\r
2029 "type": "returnFailure",
\r
2030 "name": "return failure",
\r
2031 "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 wan port rest api\" />\n",
\r
2033 "x": 2732.448371887207,
\r
2034 "y": 1455.411301612854,
\r
2035 "z": "a5dd4528.5be69",
\r