3 "id": "2f944e3f.133922",
\r
5 "name": "method sdwan-bandwidth-policy-change",
\r
6 "xml": "<method rpc='sdwan-bandwidth-policy-change' mode='sync'>\n",
\r
10 "y": 177.58634185791016,
\r
11 "z": "fe3a5d18.ca1b6",
\r
19 "id": "c5904683.1a03e8",
\r
24 "y": 32.00000190734863,
\r
25 "z": "fe3a5d18.ca1b6",
\r
33 "id": "6bc6460b.0fa818",
\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": 216.28570556640625,
\r
42 "y": 83.23810958862305,
\r
43 "z": "fe3a5d18.ca1b6",
\r
51 "id": "ab448c0a.7a72d",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 176.6666717529297,
\r
58 "y": 459.6667175292969,
\r
59 "z": "fe3a5d18.ca1b6",
\r
86 "id": "fe00d9f.b56fd28",
\r
88 "name": "for each vnf",
\r
89 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
92 "x": 554.0313873291016,
\r
93 "y": 257.26914978027344,
\r
94 "z": "fe3a5d18.ca1b6",
\r
102 "id": "12f15f6d.9827f1",
\r
103 "type": "switchNode",
\r
104 "name": "switch vnf_length",
\r
105 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
108 "x": 565.0000190734863,
\r
109 "y": 196.00001049041748,
\r
110 "z": "fe3a5d18.ca1b6",
\r
118 "id": "b500c350.6e3d9",
\r
121 "xml": "<outcome value=''>\n",
\r
126 "z": "fe3a5d18.ca1b6",
\r
134 "id": "805afe4f.d6084",
\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": 894.4287261962891,
\r
140 "y": 196.14291763305664,
\r
141 "z": "fe3a5d18.ca1b6",
\r
145 "id": "12817250.a42a3e",
\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": 783.0000152587891,
\r
152 "y": 258.00000619888306,
\r
153 "z": "fe3a5d18.ca1b6",
\r
161 "id": "b6a1534.58369b",
\r
162 "type": "outcomeTrue",
\r
164 "xml": "<outcome value='true'>\n",
\r
169 "z": "fe3a5d18.ca1b6",
\r
177 "id": "3bca8e45.080102",
\r
179 "name": "set vnf-index",
\r
180 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
184 "z": "fe3a5d18.ca1b6",
\r
188 "id": "6684c99a.7427e8",
\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": 586.2857360839844,
\r
194 "y": 573.3333435058594,
\r
195 "z": "fe3a5d18.ca1b6",
\r
199 "id": "2af6c94c.af19e6",
\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": 581.0312652587891,
\r
206 "y": 725.531270980835,
\r
207 "z": "fe3a5d18.ca1b6",
\r
215 "id": "27cc261.a1c4eda",
\r
218 "xml": "<block>\n",
\r
222 "x": 741.0312728881836,
\r
223 "y": 802.5312714576721,
\r
224 "z": "fe3a5d18.ca1b6",
\r
234 "id": "25c1741b.71156c",
\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": 1036.0000305175781,
\r
241 "y": 726.0000219345093,
\r
242 "z": "fe3a5d18.ca1b6",
\r
250 "id": "d5c6abe5.2055e8",
\r
251 "type": "outcomeTrue",
\r
253 "xml": "<outcome value='true'>\n",
\r
256 "x": 1257.999870300293,
\r
257 "y": 725.000020980835,
\r
258 "z": "fe3a5d18.ca1b6",
\r
266 "id": "2cf625ba.b60eba",
\r
268 "name": "block : atomic",
\r
269 "xml": "<block atomic=\"true\">",
\r
272 "x": 1402.3333740234375,
\r
273 "y": 724.0000219345093,
\r
274 "z": "fe3a5d18.ca1b6",
\r
282 "id": "139b09d6.445b26",
\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": 1665.3334197998047,
\r
289 "y": 765.9999008178711,
\r
290 "z": "fe3a5d18.ca1b6",
\r
298 "id": "21359c3d.902a24",
\r
300 "name": "block : atomic",
\r
301 "xml": "<block atomic=\"true\">",
\r
304 "x": 1594.6663208007812,
\r
305 "y": 849.6666679382324,
\r
306 "z": "fe3a5d18.ca1b6",
\r
314 "id": "b1f8674.56f5f98",
\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": 1799.3342399597168,
\r
321 "y": 858.0001764297485,
\r
322 "z": "fe3a5d18.ca1b6",
\r
330 "id": "708fccb5.daf804",
\r
331 "type": "outcomeTrue",
\r
333 "xml": "<outcome value='true'>\n",
\r
336 "x": 2022.3346977233887,
\r
337 "y": 839.0002365112305,
\r
338 "z": "fe3a5d18.ca1b6",
\r
346 "id": "eb8a8320.4a5de",
\r
348 "name": "block : atomic",
\r
349 "xml": "<block atomic=\"true\">",
\r
352 "x": 1760.6675491333008,
\r
353 "y": 940.0002403259277,
\r
354 "z": "fe3a5d18.ca1b6",
\r
362 "id": "f39deed1.3e3c",
\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": 1966.3342742919922,
\r
369 "y": 941.0003042221069,
\r
370 "z": "fe3a5d18.ca1b6",
\r
378 "id": "bb4cb546.fc5c48",
\r
379 "type": "outcomeTrue",
\r
381 "xml": "<outcome value='true'>\n",
\r
384 "x": 1735.668342590332,
\r
385 "y": 1007.0003929138184,
\r
386 "z": "fe3a5d18.ca1b6",
\r
394 "id": "f77de57f.61b768",
\r
396 "name": "block : atomic",
\r
397 "xml": "<block atomic=\"true\">",
\r
400 "x": 1885.0003128051758,
\r
401 "y": 1012.0001487731934,
\r
402 "z": "fe3a5d18.ca1b6",
\r
412 "id": "93f703bf.f8f44",
\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": 2156.197494506836,
\r
419 "y": 983.0313453674316,
\r
420 "z": "fe3a5d18.ca1b6",
\r
428 "id": "a140338b.f48e2",
\r
430 "name": "set tmp.devicevidx",
\r
431 "xml": "<set>\n<parameter name='tmp.devicevidx' value='`$vfidx`' />\n\n",
\r
433 "x": 2073.9994049072266,
\r
434 "y": 1023.0001039505005,
\r
435 "z": "fe3a5d18.ca1b6",
\r
439 "id": "16b92c49.0550e4",
\r
441 "name": "block : atomic",
\r
442 "xml": "<block atomic=\"true\">",
\r
445 "x": 2321.1983489990234,
\r
446 "y": 1035.0314292907715,
\r
447 "z": "fe3a5d18.ca1b6",
\r
456 "id": "2c030d38.c88f02",
\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": 2336.6680221557617,
\r
463 "y": 1077.6669998168945,
\r
464 "z": "fe3a5d18.ca1b6",
\r
472 "id": "c2afdbf0.691fd8",
\r
474 "name": "Get deviceId from device resource created for this service",
\r
477 "x": 2164.333366394043,
\r
478 "y": 908.3332514762878,
\r
479 "z": "fe3a5d18.ca1b6",
\r
483 "id": "cfe51c42.c396a",
\r
484 "type": "outcomeTrue",
\r
486 "xml": "<outcome value='true'>\n",
\r
489 "x": 2489.6683921813965,
\r
490 "y": 1078.6670770645142,
\r
491 "z": "fe3a5d18.ca1b6",
\r
499 "id": "c26a319e.7f774",
\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": 2658.6689987182617,
\r
505 "y": 1077.2671117782593,
\r
506 "z": "fe3a5d18.ca1b6",
\r
510 "id": "f476b4c1.90d488",
\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 == 'ActivateSiteInstance'`\">\n\n \n\n",
\r
516 "x": 989.6666870117188,
\r
517 "y": 786.666690826416,
\r
518 "z": "fe3a5d18.ca1b6",
\r
526 "id": "b3e07a22.de09f8",
\r
527 "type": "outcomeTrue",
\r
529 "xml": "<outcome value='true'>\n",
\r
532 "x": 1183.666862487793,
\r
533 "y": 785.6667108535767,
\r
534 "z": "fe3a5d18.ca1b6",
\r
542 "id": "b9aff3fc.b88e",
\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": 1346.6662979125977,
\r
548 "y": 782.666711807251,
\r
549 "z": "fe3a5d18.ca1b6",
\r
553 "id": "55e5acbf.fe5b24",
\r
554 "type": "switchNode",
\r
555 "name": "switch tmp.wanPortVidx",
\r
556 "xml": "<switch test=\"`$tmp.wanPortVidx`\">\n\n",
\r
559 "x": 567.0002365112305,
\r
560 "y": 842.0002207756042,
\r
561 "z": "fe3a5d18.ca1b6",
\r
569 "id": "bf167ea6.f9992",
\r
570 "type": "switchNode",
\r
571 "name": "switch tmp.siteVidx",
\r
572 "xml": "<switch test=\"`$tmp.siteVidx`\">\n\n",
\r
575 "x": 551.984489440918,
\r
576 "y": 886.9965887069702,
\r
577 "z": "fe3a5d18.ca1b6",
\r
585 "id": "89ecf7ea.f65c78",
\r
586 "type": "switchNode",
\r
587 "name": "switch tmp.devicevidx",
\r
588 "xml": "<switch test=\"`$tmp.devicevidx`\">\n\n",
\r
591 "x": 563.651237487793,
\r
592 "y": 931.9965581893921,
\r
593 "z": "fe3a5d18.ca1b6",
\r
601 "id": "46e578eb.e7f2e8",
\r
604 "xml": "<outcome value=''>\n",
\r
607 "x": 742.0798377990723,
\r
608 "y": 932.5679111480713,
\r
609 "z": "fe3a5d18.ca1b6",
\r
617 "id": "d0596a3e.d0abe8",
\r
620 "xml": "<outcome value=''>\n",
\r
623 "x": 735.4131698608398,
\r
624 "y": 885.5678281784058,
\r
625 "z": "fe3a5d18.ca1b6",
\r
633 "id": "51af758e.d4a8ec",
\r
636 "xml": "<outcome value=''>\n",
\r
639 "x": 737.4289398193359,
\r
640 "y": 844.5715956687927,
\r
641 "z": "fe3a5d18.ca1b6",
\r
649 "id": "c3788885.5a3728",
\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": 878.8580017089844,
\r
655 "y": 844.7145147323608,
\r
656 "z": "fe3a5d18.ca1b6",
\r
660 "id": "c0c0caa4.6e3d18",
\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": 879.8421325683594,
\r
666 "y": 885.710732460022,
\r
667 "z": "fe3a5d18.ca1b6",
\r
671 "id": "7c5cc100.4ca9a",
\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": 888.508623123169,
\r
677 "y": 931.7109107971191,
\r
678 "z": "fe3a5d18.ca1b6",
\r
682 "id": "e293366.5ca59c8",
\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
689 "y": 996.0000038146973,
\r
690 "z": "fe3a5d18.ca1b6",
\r
698 "id": "42f26061.cc632",
\r
700 "name": "block : atomic",
\r
701 "xml": "<block atomic=\"true\">",
\r
704 "x": 890.0101928710938,
\r
705 "y": 996.6768283843994,
\r
706 "z": "fe3a5d18.ca1b6",
\r
714 "id": "cb46a81.d18b858",
\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": 1059.0003280639648,
\r
721 "y": 997.0001344680786,
\r
722 "z": "fe3a5d18.ca1b6",
\r
730 "id": "a653a5d0.84bc78",
\r
731 "type": "outcomeTrue",
\r
733 "xml": "<outcome value='true'>\n",
\r
736 "x": 1197.0007858276367,
\r
737 "y": 995.0001192092896,
\r
738 "z": "fe3a5d18.ca1b6",
\r
746 "id": "53153bf4.922eb4",
\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": 1361.000820159912,
\r
752 "y": 996.5999727249146,
\r
753 "z": "fe3a5d18.ca1b6",
\r
757 "id": "7b2acf1d.5d2c4",
\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
764 "y": 1169.3333778381348,
\r
765 "z": "fe3a5d18.ca1b6",
\r
774 "id": "56ffc8fe.295058",
\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": 597.0617713928223,
\r
781 "y": 1086.2122583389282,
\r
782 "z": "fe3a5d18.ca1b6",
\r
792 "id": "2d46ac01.fa3384",
\r
795 "xml": "<outcome value='success'>\n",
\r
798 "x": 832.0618362426758,
\r
799 "y": 1050.212275505066,
\r
800 "z": "fe3a5d18.ca1b6",
\r
808 "id": "c3235371.70f16",
\r
809 "type": "not-found",
\r
810 "name": "not-found",
\r
811 "xml": "<outcome value='not-found'>\n",
\r
814 "x": 834.5527191162109,
\r
815 "y": 1085.7863121032715,
\r
816 "z": "fe3a5d18.ca1b6",
\r
824 "id": "11a49df.fe69062",
\r
827 "xml": "<outcome value='Other'>\n",
\r
830 "x": 829.8857269287109,
\r
831 "y": 1122.11967086792,
\r
832 "z": "fe3a5d18.ca1b6",
\r
840 "id": "1b1255b3.3b49aa",
\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": 980.1241149902344,
\r
846 "y": 1084.0719995498657,
\r
847 "z": "fe3a5d18.ca1b6",
\r
851 "id": "ec636fec.ea999",
\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": 992.5619468688965,
\r
857 "y": 1048.212215423584,
\r
858 "z": "fe3a5d18.ca1b6",
\r
862 "id": "1d80bee.50bc541",
\r
865 "xml": "<outcome value='success'>\n",
\r
868 "x": 846.0001258850098,
\r
869 "y": 1155.333366394043,
\r
870 "z": "fe3a5d18.ca1b6",
\r
878 "id": "eb5f900d.dda61",
\r
881 "xml": "<outcome value='failure'>\n",
\r
884 "x": 845.2501258850098,
\r
885 "y": 1190.9762735366821,
\r
886 "z": "fe3a5d18.ca1b6",
\r
894 "id": "e10df217.332b2",
\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": 994.0001335144043,
\r
900 "y": 1191.7263555526733,
\r
901 "z": "fe3a5d18.ca1b6",
\r
905 "id": "f4c3c5fd.2e8218",
\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": 988.0001335144043,
\r
911 "y": 1154.3333673477173,
\r
912 "z": "fe3a5d18.ca1b6",
\r
916 "id": "ed22f7f1.ec7288",
\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": 552.9999847412109,
\r
922 "y": 1214.6250553131104,
\r
923 "z": "fe3a5d18.ca1b6",
\r
927 "id": "fb6cf9c5.202108",
\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": 634.9999961853027,
\r
934 "y": 1256.6249332427979,
\r
935 "z": "fe3a5d18.ca1b6",
\r
941 "id": "5e1f1c91.441454",
\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": 983.6582183837891,
\r
947 "y": 1119.5587577819824,
\r
948 "z": "fe3a5d18.ca1b6",
\r
952 "id": "b2fc342f.6c0b68",
\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
958 "y": 1733.999966621399,
\r
959 "z": "fe3a5d18.ca1b6",
\r
963 "id": "be4cbaa5.a17bc8",
\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": 1450.656608581543,
\r
969 "y": 1367.6559944152832,
\r
970 "z": "fe3a5d18.ca1b6",
\r
974 "id": "a3594760.3045f8",
\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": 1030.666259765625,
\r
981 "y": 1368.3323431015015,
\r
982 "z": "fe3a5d18.ca1b6",
\r
990 "id": "2217267e.e3931a",
\r
991 "type": "outcomeTrue",
\r
993 "xml": "<outcome value='true'>\n",
\r
996 "x": 1243.6657104492188,
\r
997 "y": 1368.3322610855103,
\r
998 "z": "fe3a5d18.ca1b6",
\r
1006 "id": "ab99bc56.03a1f",
\r
1009 "xml": "<block>\n",
\r
1010 "atomic": "false",
\r
1013 "x": 817.6660118103027,
\r
1014 "y": 1368.9990720748901,
\r
1015 "z": "fe3a5d18.ca1b6",
\r
1023 "id": "95135039.a60aa",
\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": 593.6655960083008,
\r
1030 "y": 1368.9987926483154,
\r
1031 "z": "fe3a5d18.ca1b6",
\r
1039 "id": "bc190905.6bdb08",
\r
1041 "name": "block : atomic",
\r
1042 "xml": "<block atomic=\"true\">",
\r
1046 "x": 1095.6652336120605,
\r
1047 "y": 1324.6654443740845,
\r
1048 "z": "fe3a5d18.ca1b6",
\r
1054 "id": "ce813dcf.485f7",
\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": 1084.66548538208,
\r
1060 "y": 1280.6654481887817,
\r
1061 "z": "fe3a5d18.ca1b6",
\r
1065 "id": "ee008d39.43008",
\r
1066 "type": "failure",
\r
1067 "name": "failure",
\r
1068 "xml": "<outcome value='failure'>\n",
\r
1071 "x": 942.665153503418,
\r
1072 "y": 1281.6654481887817,
\r
1073 "z": "fe3a5d18.ca1b6",
\r
1081 "id": "719fe2a2.cae46c",
\r
1082 "type": "success",
\r
1083 "name": "success",
\r
1084 "xml": "<outcome value='success'>\n",
\r
1087 "x": 938.6652297973633,
\r
1088 "y": 1325.6657705307007,
\r
1089 "z": "fe3a5d18.ca1b6",
\r
1097 "id": "df7c0c81.e6dd8",
\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": 650.6655883789062,
\r
1104 "y": 1330.6659331321716,
\r
1105 "z": "fe3a5d18.ca1b6",
\r
1108 "719fe2a2.cae46c",
\r
1114 "id": "a9a5c4dd.f02338",
\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": 599.7565498352051,
\r
1121 "y": 1688.3282527923584,
\r
1122 "z": "fe3a5d18.ca1b6",
\r
1131 "id": "565469d0.7320a8",
\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": 568.0937576293945,
\r
1138 "y": 1508.6650838851929,
\r
1139 "z": "fe3a5d18.ca1b6",
\r
1147 "id": "fe4d7e03.7b0c7",
\r
1149 "name": "block : atomic",
\r
1150 "xml": "<block atomic=\"true\">",
\r
1153 "x": 804.0945892333984,
\r
1154 "y": 1507.665246963501,
\r
1155 "z": "fe3a5d18.ca1b6",
\r
1158 "7f4a05af.27429c",
\r
1164 "id": "7f4a05af.27429c",
\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": 990.563835144043,
\r
1171 "y": 1504.3006629943848,
\r
1172 "z": "fe3a5d18.ca1b6",
\r
1180 "id": "27845d4d.df4892",
\r
1181 "type": "outcomeTrue",
\r
1183 "xml": "<outcome value='true'>\n",
\r
1186 "x": 1156.5641689300537,
\r
1187 "y": 1501.3008270263672,
\r
1188 "z": "fe3a5d18.ca1b6",
\r
1196 "id": "7318bc58.3a78f4",
\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": 1419.564826965332,
\r
1202 "y": 1499.9009237289429,
\r
1203 "z": "fe3a5d18.ca1b6",
\r
1207 "id": "67d8e067.207d7",
\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": 993.3692321777344,
\r
1214 "y": 1542.3316974639893,
\r
1215 "z": "fe3a5d18.ca1b6",
\r
1223 "id": "d3e4fb8e.757688",
\r
1224 "type": "outcomeTrue",
\r
1226 "xml": "<outcome value='true'>\n",
\r
1229 "x": 1159.3695659637451,
\r
1230 "y": 1539.3318614959717,
\r
1231 "z": "fe3a5d18.ca1b6",
\r
1239 "id": "dad668dd.f97bc8",
\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": 1393.370246887207,
\r
1245 "y": 1537.9320068359375,
\r
1246 "z": "fe3a5d18.ca1b6",
\r
1250 "id": "9a0d6126.e5e05",
\r
1251 "type": "failure",
\r
1252 "name": "success",
\r
1253 "xml": "<outcome value='success'>\n",
\r
1256 "x": 863.0359802246094,
\r
1257 "y": 1664.9988250732422,
\r
1258 "z": "fe3a5d18.ca1b6",
\r
1266 "id": "7f8d367f.2cb258",
\r
1267 "type": "failure",
\r
1268 "name": "failure",
\r
1269 "xml": "<outcome value='failure'>\n",
\r
1272 "x": 858.0359802246094,
\r
1273 "y": 1698.9988269805908,
\r
1274 "z": "fe3a5d18.ca1b6",
\r
1282 "id": "2fb60b95.3ca614",
\r
1284 "name": "block : atomic",
\r
1285 "xml": "<block atomic=\"true\">",
\r
1289 "x": 1015.0359840393066,
\r
1290 "y": 1661.9988255500793,
\r
1291 "z": "fe3a5d18.ca1b6",
\r
1297 "id": "6d629a7b.45bc64",
\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": 540.1652374267578,
\r
1304 "y": 1647.998661994934,
\r
1305 "z": "fe3a5d18.ca1b6",
\r
1311 "id": "9bc825b2.9d6228",
\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": 1007.1652164459229,
\r
1317 "y": 1698.9988269805908,
\r
1318 "z": "fe3a5d18.ca1b6",
\r
1322 "id": "d4773b75.f02ff8",
\r
1324 "name": "block : atomic",
\r
1325 "xml": "<block atomic=\"true\">",
\r
1329 "x": 1423.831729888916,
\r
1330 "y": 1618.6653962135315,
\r
1331 "z": "fe3a5d18.ca1b6",
\r
1337 "id": "654cee32.d9b47",
\r
1339 "name": "block : atomic",
\r
1340 "xml": "<block atomic=\"true\">",
\r
1344 "x": 1419.8355903625488,
\r
1345 "y": 1584.169144153595,
\r
1346 "z": "fe3a5d18.ca1b6",
\r
1352 "id": "496f73f1.608cec",
\r
1353 "type": "success",
\r
1354 "name": "success",
\r
1355 "xml": "<outcome value='success'>\n",
\r
1358 "x": 1279.831714630127,
\r
1359 "y": 1619.6655592918396,
\r
1360 "z": "fe3a5d18.ca1b6",
\r
1368 "id": "93a36b7f.6e1e08",
\r
1369 "type": "failure",
\r
1370 "name": "failure",
\r
1371 "xml": "<outcome value='failure'>\n",
\r
1374 "x": 1275.831745147705,
\r
1375 "y": 1585.6654524803162,
\r
1376 "z": "fe3a5d18.ca1b6",
\r
1384 "id": "62263572.725b3c",
\r
1385 "type": "execute",
\r
1386 "name": "execute RestApiCallNode wan port update",
\r
1387 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port.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
1390 "x": 1012.8321380615234,
\r
1391 "y": 1594.6657781600952,
\r
1392 "z": "fe3a5d18.ca1b6",
\r
1395 "496f73f1.608cec",
\r
1401 "id": "e76d9029.37f13",
\r
1402 "type": "switchNode",
\r
1403 "name": "switch prop.wanPortUpdate null",
\r
1404 "xml": "<switch test=\"`$prop.wanPortUpdate`\">",
\r
1407 "x": 558.1964721679688,
\r
1408 "y": 1594.696870803833,
\r
1409 "z": "fe3a5d18.ca1b6",
\r
1417 "id": "125755f3.b6968a",
\r
1418 "type": "outcome",
\r
1420 "xml": "<outcome value=''>\n",
\r
1423 "x": 770.1965560913086,
\r
1424 "y": 1595.1965408325195,
\r
1425 "z": "fe3a5d18.ca1b6",
\r
1433 "id": "1e1aff6a.3deca1",
\r
1434 "type": "returnFailure",
\r
1435 "name": "return failure",
\r
1436 "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
1438 "x": 911.6554641723633,
\r
1439 "y": 1470.9890832901,
\r
1440 "z": "fe3a5d18.ca1b6",
\r
1444 "id": "abee6b5b.1a5908",
\r
1446 "name": "set ipAddress prefixLength",
\r
1447 "xml": "<set>\n<parameter name='prop.wan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.wan.prefixLength' value='`$ipandMask[1]`' />",
\r
1449 "x": 953.6554718017578,
\r
1450 "y": 1430.9890804290771,
\r
1451 "z": "fe3a5d18.ca1b6",
\r
1455 "id": "24145b24.9d1724",
\r
1456 "type": "failure",
\r
1457 "name": "failure",
\r
1458 "xml": "<outcome value='failure'>\n",
\r
1461 "x": 756.6554565429688,
\r
1462 "y": 1473.9890842437744,
\r
1463 "z": "fe3a5d18.ca1b6",
\r
1471 "id": "621ae9dc.5f21b8",
\r
1472 "type": "failure",
\r
1473 "name": "success",
\r
1474 "xml": "<outcome value='success'>\n",
\r
1477 "x": 756.6554527282715,
\r
1478 "y": 1432.9890804290771,
\r
1479 "z": "fe3a5d18.ca1b6",
\r
1487 "id": "1a81feba.045cb1",
\r
1488 "type": "execute",
\r
1489 "name": "execute split ip and mask",
\r
1490 "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
1493 "x": 555.6554336547852,
\r
1494 "y": 1454.989089012146,
\r
1495 "z": "fe3a5d18.ca1b6",
\r
1498 "24145b24.9d1724",
\r
1504 "id": "beaaef8c.a4de5",
\r
1505 "type": "comment",
\r
1506 "name": "Create wan port",
\r
1509 "x": 519.6653251647949,
\r
1510 "y": 1407.999002456665,
\r
1511 "z": "fe3a5d18.ca1b6",
\r
1515 "id": "c837b6d8.71b3e8",
\r
1516 "type": "comment",
\r
1517 "name": "TODO: split ip/mask",
\r
1520 "x": 943.6651191711426,
\r
1521 "y": 1393.1692161560059,
\r
1522 "z": "fe3a5d18.ca1b6",
\r
1526 "id": "aaddefb8.d63d3",
\r
1527 "type": "comment",
\r
1528 "name": "Get network id",
\r
1531 "x": 604.6652145385742,
\r
1532 "y": 1294.9988594055176,
\r
1533 "z": "fe3a5d18.ca1b6",
\r
1537 "id": "38661728.f30148",
\r
1540 "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
1543 "x": 945.0000343322754,
\r
1544 "y": 683.0000123977661,
\r
1545 "z": "fe3a5d18.ca1b6",
\r
1551 "id": "27a33e60.c61c12",
\r
1554 "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
1557 "x": 2473.00008392334,
\r
1558 "y": 1019.0000581741333,
\r
1559 "z": "fe3a5d18.ca1b6",
\r
1565 "id": "a367096a.4c3508",
\r
1568 "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
1571 "x": 2028.000057220459,
\r
1572 "y": 1074.0000247955322,
\r
1573 "z": "fe3a5d18.ca1b6",
\r
1579 "id": "483c2153.d1795",
\r
1580 "type": "outcomeTrue",
\r
1582 "xml": "<outcome value='true'>\n",
\r
1585 "x": 1254.4840850830078,
\r
1586 "y": 485.00001335144043,
\r
1587 "z": "fe3a5d18.ca1b6",
\r
1595 "id": "abbfdee9.6a6e5",
\r
1596 "type": "switchNode",
\r
1597 "name": "switch ActivateSDWANPortInstance",
\r
1598 "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
1601 "x": 1034.7699279785156,
\r
1602 "y": 483.5715036392212,
\r
1603 "z": "fe3a5d18.ca1b6",
\r
1611 "id": "c4affd66.4dfb2",
\r
1613 "name": "block : atomic",
\r
1614 "xml": "<block atomic=\"true\">",
\r
1617 "x": 797.9841156005859,
\r
1618 "y": 484.0000114440918,
\r
1619 "z": "fe3a5d18.ca1b6",
\r
1627 "id": "23f3a49a.a36dac",
\r
1629 "name": "for each existing vf-index",
\r
1630 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
1633 "x": 569.4841003417969,
\r
1634 "y": 477.9999713897705,
\r
1635 "z": "fe3a5d18.ca1b6",
\r
1643 "id": "fbf16bc4.9feaf8",
\r
1646 "xml": "<outcome value='Other'>\n",
\r
1649 "x": 853.0000228881836,
\r
1650 "y": 386.222261428833,
\r
1651 "z": "fe3a5d18.ca1b6",
\r
1659 "id": "325ec5e8.8f682a",
\r
1660 "type": "switchNode",
\r
1661 "name": "switch vf-modules.vf-module_length",
\r
1662 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
1666 "y": 332.2222456638701,
\r
1667 "z": "fe3a5d18.ca1b6",
\r
1671 "e27deb32.e1e6a8",
\r
1677 "id": "49412102.9496d",
\r
1678 "type": "outcome",
\r
1680 "xml": "<outcome value='0'>\n",
\r
1683 "x": 858.4840364456177,
\r
1684 "y": 303.99997469829395,
\r
1685 "z": "fe3a5d18.ca1b6",
\r
1693 "id": "e27deb32.e1e6a8",
\r
1696 "xml": "<outcome value=''>\n",
\r
1699 "x": 860.5152254104614,
\r
1700 "y": 341.0312857334502,
\r
1701 "z": "fe3a5d18.ca1b6",
\r
1709 "id": "b39cde31.8ce66",
\r
1710 "type": "returnFailure",
\r
1711 "name": "return failure",
\r
1712 "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
1714 "x": 1018.2927408218384,
\r
1715 "y": 321.92023417400196,
\r
1716 "z": "fe3a5d18.ca1b6",
\r
1720 "id": "5652c210.116cdc",
\r
1722 "name": "set vf-module-length",
\r
1723 "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
1725 "x": 1038.6666259765625,
\r
1727 "z": "fe3a5d18.ca1b6",
\r
1731 "id": "600f472e.25ba58",
\r
1733 "name": "block : atomic",
\r
1734 "xml": "<block atomic=\"true\">",
\r
1737 "x": 1428.0313301086426,
\r
1738 "y": 462.03124907566234,
\r
1739 "z": "fe3a5d18.ca1b6",
\r
1743 "2acae3d9.7f09cc",
\r
1744 "83a5b820.78ba98",
\r
1750 "id": "a6912dc8.5986c",
\r
1752 "name": "set tmp.wanPortVidx and ctx.vnf-data",
\r
1753 "xml": "<set>\n<parameter name='tmp.wanPortVidx' 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
1755 "x": 1704.9180221557617,
\r
1756 "y": 430.37367010116577,
\r
1757 "z": "fe3a5d18.ca1b6",
\r
1761 "id": "2acae3d9.7f09cc",
\r
1763 "name": "set vf-module-request-input.",
\r
1764 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
1766 "x": 1677.3642578125,
\r
1767 "y": 475.0313091278076,
\r
1768 "z": "fe3a5d18.ca1b6",
\r
1772 "id": "83a5b820.78ba98",
\r
1774 "name": "call sdwan-get-wan-param",
\r
1775 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",
\r
1778 "x": 1664.660732269287,
\r
1779 "y": 523.8709006602876,
\r
1780 "z": "fe3a5d18.ca1b6",
\r
1786 "id": "be34f62e.f9bdf8",
\r
1787 "type": "switchNode",
\r
1788 "name": "switch vf-modules.vf-module_length",
\r
1789 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
1794 "z": "fe3a5d18.ca1b6",
\r
1802 "id": "52c232df.5401dc",
\r
1805 "xml": "<outcome value='Other'>\n",
\r
1808 "x": 699.031268119812,
\r
1809 "y": 2037.5312375728972,
\r
1810 "z": "fe3a5d18.ca1b6",
\r
1818 "id": "cadc484c.8b1958",
\r
1821 "xml": "<block>\n",
\r
1822 "atomic": "false",
\r
1825 "x": 843.3883123397827,
\r
1826 "y": 2037.4677495663054,
\r
1827 "z": "fe3a5d18.ca1b6",
\r
1830 "4c365aae.126754",
\r
1831 "d7b1d5a0.b2f338",
\r
1837 "id": "cd28ccaa.a0cb3",
\r
1839 "name": "set prop.site.deviceId_length",
\r
1840 "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",
\r
1842 "x": 1065.515284538269,
\r
1843 "y": 1988.3089876174927,
\r
1844 "z": "fe3a5d18.ca1b6",
\r
1848 "id": "d7b1d5a0.b2f338",
\r
1850 "name": "set vf-module-length",
\r
1851 "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
1853 "x": 1039.086916923523,
\r
1854 "y": 2024.0868644714355,
\r
1855 "z": "fe3a5d18.ca1b6",
\r
1859 "id": "4c365aae.126754",
\r
1861 "name": "for each existing vf-index",
\r
1862 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
1865 "x": 1052.5152921676636,
\r
1866 "y": 2060.308978051413,
\r
1867 "z": "fe3a5d18.ca1b6",
\r
1875 "id": "d0642297.f75c7",
\r
1877 "name": "block : atomic",
\r
1878 "xml": "<block atomic=\"true\">",
\r
1881 "x": 1354.0153493881226,
\r
1882 "y": 2031.3090119655244,
\r
1883 "z": "fe3a5d18.ca1b6",
\r
1891 "id": "1f9b5508.732aeb",
\r
1892 "type": "switchNode",
\r
1893 "name": "switch vf-module-id found",
\r
1894 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id == $vf-module-topology-operation-input.vf-module-information.vf-module-id`\">\n",
\r
1897 "x": 1560.8011465072632,
\r
1898 "y": 2027.880497932434,
\r
1899 "z": "fe3a5d18.ca1b6",
\r
1907 "id": "199c63ad.ad4b1c",
\r
1908 "type": "outcomeTrue",
\r
1910 "xml": "<outcome value='true'>\n",
\r
1913 "x": 1764.5153875350952,
\r
1914 "y": 2026.3090043361299,
\r
1915 "z": "fe3a5d18.ca1b6",
\r
1923 "id": "4cd80296.71966c",
\r
1925 "name": "block : atomic",
\r
1926 "xml": "<block atomic=\"true\">",
\r
1929 "x": 1934.8586835861206,
\r
1930 "y": 2030.3951397235505,
\r
1931 "z": "fe3a5d18.ca1b6",
\r
1935 "30158b6d.c639f4",
\r
1941 "id": "cab6ed40.1a967",
\r
1943 "name": "set tmp.vidx and ctx.vnf-data",
\r
1944 "xml": "<set>\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
1946 "x": 2185.745337486267,
\r
1947 "y": 2000.7375526428223,
\r
1948 "z": "fe3a5d18.ca1b6",
\r
1952 "id": "30158b6d.c639f4",
\r
1954 "name": "set vf-module-request-input.",
\r
1955 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
1957 "x": 2180.1916341781616,
\r
1958 "y": 2045.395192652475,
\r
1959 "z": "fe3a5d18.ca1b6",
\r
1963 "id": "a23128b1.823648",
\r
1965 "name": "call sdwan-get-wan-param",
\r
1966 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",
\r
1969 "x": 2171.488085746765,
\r
1970 "y": 2092.2347913081758,
\r
1971 "z": "fe3a5d18.ca1b6",
\r
1977 "id": "b1b5a247.70dba",
\r
1980 "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
1983 "x": 1615.0313711166382,
\r
1984 "y": 378.03124713897705,
\r
1985 "z": "fe3a5d18.ca1b6",
\r