3 "id": "3eaead5d.8a50e2",
\r
5 "name": "method sdwan-vf-operation-lanport-deactivate",
\r
6 "xml": "<method rpc='sdwan-vf-operation-lanport-deactivate' mode='sync'>\n",
\r
11 "z": "2a0755d2.04892a",
\r
19 "id": "ba6ca55d.d04268",
\r
20 "type": "switchNode",
\r
21 "name": "switch vf-modules.vf-module_length",
\r
22 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
25 "x": 634.0000076293945,
\r
26 "y": 359.4136486053467,
\r
27 "z": "2a0755d2.04892a",
\r
37 "id": "996651b.9ec83b",
\r
41 "x": 171.00000381469727,
\r
42 "y": 50.413658142089844,
\r
43 "z": "2a0755d2.04892a",
\r
51 "id": "509643c7.891eac",
\r
52 "type": "service-logic",
\r
53 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
54 "module": "GENERIC-RESOURCE-API",
\r
55 "version": "${project.version}",
\r
57 "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
59 "x": 240.28570556640625,
\r
60 "y": 113.65176773071289,
\r
61 "z": "2a0755d2.04892a",
\r
69 "id": "de2de50e.7db098",
\r
71 "name": "block : atomic",
\r
72 "xml": "<block atomic=\"true\">",
\r
75 "x": 252.6666717529297,
\r
76 "y": 464.08036708831787,
\r
77 "z": "2a0755d2.04892a",
\r
104 "id": "cc768085.ce4bc",
\r
106 "name": "for each vnf",
\r
107 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
110 "x": 578.0313873291016,
\r
111 "y": 287.6828079223633,
\r
112 "z": "2a0755d2.04892a",
\r
120 "id": "cd5d97be.4098b8",
\r
121 "type": "switchNode",
\r
122 "name": "switch vnf_length",
\r
123 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
126 "x": 589.0000190734863,
\r
127 "y": 226.41366863250732,
\r
128 "z": "2a0755d2.04892a",
\r
136 "id": "2debc059.5aa7",
\r
139 "xml": "<outcome value=''>\n",
\r
143 "y": 225.41365814208984,
\r
144 "z": "2a0755d2.04892a",
\r
152 "id": "355351ee.f9153e",
\r
153 "type": "returnFailure",
\r
154 "name": "return failure",
\r
155 "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
157 "x": 918.4287261962891,
\r
158 "y": 226.55657577514648,
\r
159 "z": "2a0755d2.04892a",
\r
163 "id": "9776f320.0567",
\r
164 "type": "switchNode",
\r
165 "name": "switch this vnf-id == input vnf-id",
\r
166 "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
\r
169 "x": 807.0000152587891,
\r
170 "y": 288.4136643409729,
\r
171 "z": "2a0755d2.04892a",
\r
179 "id": "f97986b6.bf7158",
\r
180 "type": "outcomeTrue",
\r
182 "xml": "<outcome value='true'>\n",
\r
186 "y": 286.41365814208984,
\r
187 "z": "2a0755d2.04892a",
\r
195 "id": "926d8df9.33314",
\r
197 "name": "set vnf-index",
\r
198 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
201 "y": 281.41365814208984,
\r
202 "z": "2a0755d2.04892a",
\r
206 "id": "d7d04d79.b116e",
\r
209 "xml": "<outcome value=''>\n",
\r
213 "y": 393.41365814208984,
\r
214 "z": "2a0755d2.04892a",
\r
222 "id": "96bd0da6.6b228",
\r
225 "xml": "<outcome value='0'>\n",
\r
228 "x": 860.9999961853027,
\r
229 "y": 340.4136571884155,
\r
230 "z": "2a0755d2.04892a",
\r
238 "id": "511ce89.f44bb18",
\r
239 "type": "returnFailure",
\r
240 "name": "return failure",
\r
241 "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
244 "y": 353.41365814208984,
\r
245 "z": "2a0755d2.04892a",
\r
249 "id": "bcfd0c5e.e6103",
\r
252 "xml": "<outcome value='Other'>\n",
\r
256 "y": 454.41365814208984,
\r
257 "z": "2a0755d2.04892a",
\r
265 "id": "af4bd42d.9f4868",
\r
267 "name": "set vf-module_length",
\r
268 "xml": "<set>\n<parameter name='vf-module-length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n\n",
\r
270 "x": 1210.000015258789,
\r
271 "y": 452.4136720895767,
\r
272 "z": "2a0755d2.04892a",
\r
276 "id": "b8a34756.728a58",
\r
278 "name": "block : atomic",
\r
279 "xml": "<block atomic=\"true\">",
\r
282 "x": 1017.0000457763672,
\r
283 "y": 451.413649559021,
\r
284 "z": "2a0755d2.04892a",
\r
293 "id": "69a184fd.28972c",
\r
295 "name": "for each existing vf-index",
\r
296 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
299 "x": 1229.0000305175781,
\r
300 "y": 501.41367053985596,
\r
301 "z": "2a0755d2.04892a",
\r
309 "id": "72e39d48.4f8944",
\r
310 "type": "switchNode",
\r
311 "name": "switch vf-module-id found",
\r
312 "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
316 "y": 500.41365814208984,
\r
317 "z": "2a0755d2.04892a",
\r
325 "id": "5f38c3e.5d3ce3c",
\r
326 "type": "outcomeTrue",
\r
328 "xml": "<outcome value='true'>\n",
\r
331 "x": 1670.0000286102295,
\r
332 "y": 487.41366481781006,
\r
333 "z": "2a0755d2.04892a",
\r
341 "id": "92d909cb.ff6d68",
\r
343 "name": "block : atomic",
\r
344 "xml": "<block atomic=\"true\">",
\r
348 "y": 489.41365814208984,
\r
349 "z": "2a0755d2.04892a",
\r
359 "id": "4dec85b6.3eab5c",
\r
361 "name": "set tmp.vidx and ctx.vnf-data",
\r
362 "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
364 "x": 2050.000114440918,
\r
365 "y": 431.4136619567871,
\r
366 "z": "2a0755d2.04892a",
\r
370 "id": "e85d666e.e8adc8",
\r
372 "name": "set vf-module-request-input.",
\r
373 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
375 "x": 2054.000114440918,
\r
376 "y": 485.4136619567871,
\r
377 "z": "2a0755d2.04892a",
\r
381 "id": "582a5dfb.dfaf24",
\r
382 "type": "returnSuccess",
\r
383 "name": "return success",
\r
384 "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
386 "x": 553.0002136230469,
\r
387 "y": 1926.9149341583252,
\r
388 "z": "2a0755d2.04892a",
\r
392 "id": "15a9af4c.a7f031",
\r
394 "name": "call sdwan-get-vf-module-lanport-param",
\r
395 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
\r
398 "x": 2084.4551391601562,
\r
399 "y": 536.4241542816162,
\r
400 "z": "2a0755d2.04892a",
\r
406 "id": "1adddcaf.a133d3",
\r
408 "name": "for vf-modules.vf-module_length",
\r
409 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
412 "x": 891.2540740966797,
\r
413 "y": 541.4176807403564,
\r
414 "z": "2a0755d2.04892a",
\r
422 "id": "cc689d86.6d6b1",
\r
423 "type": "switchNode",
\r
424 "name": "switch this deviceName == vf-input",
\r
425 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == '$prop.lan.deviceName'`\">\n \n",
\r
428 "x": 1164.2543182373047,
\r
429 "y": 627.417786359787,
\r
430 "z": "2a0755d2.04892a",
\r
438 "id": "8d8ac8b6.f23b18",
\r
440 "name": "for vf-module-input-param length",
\r
441 "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
\r
444 "x": 1189.2539901733398,
\r
445 "y": 544.4177227020264,
\r
446 "z": "2a0755d2.04892a",
\r
454 "id": "ec201f5b.98b55",
\r
455 "type": "outcomeTrue",
\r
457 "xml": "<outcome value='true'>\n",
\r
460 "x": 1378.2541313171387,
\r
461 "y": 624.4177711009979,
\r
462 "z": "2a0755d2.04892a",
\r
470 "id": "42b7ec46.f75e94",
\r
472 "name": "for vf-modules.vf-module_length",
\r
473 "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
\r
476 "x": 1767.254322052002,
\r
477 "y": 621.4179258346558,
\r
478 "z": "2a0755d2.04892a",
\r
486 "id": "6fa7e982.f0f398",
\r
487 "type": "switchNode",
\r
488 "name": "switch deviceId == input vf-id",
\r
489 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'deviceId'`\">\n \n\n\n",
\r
492 "x": 2059.2542114257812,
\r
493 "y": 622.4178848266602,
\r
494 "z": "2a0755d2.04892a",
\r
502 "id": "a93d7d08.b19f3",
\r
503 "type": "outcomeTrue",
\r
505 "xml": "<outcome value='true'>\n",
\r
508 "x": 2258.254379272461,
\r
509 "y": 620.4178848266602,
\r
510 "z": "2a0755d2.04892a",
\r
518 "id": "8ce50095.7309f",
\r
520 "name": "set prop.lan.deviceId",
\r
521 "xml": "<set>\n<parameter name='prop.lan.deviceId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
\r
523 "x": 2431.254383087158,
\r
524 "y": 620.4179258346558,
\r
525 "z": "2a0755d2.04892a",
\r
529 "id": "6331828e.70aa2c",
\r
531 "name": "for service-data.vnfs.vnf_length",
\r
532 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
535 "x": 637.2539215087891,
\r
536 "y": 476.4176778793335,
\r
537 "z": "2a0755d2.04892a",
\r
545 "id": "125425fb.ef4bfa",
\r
546 "type": "switchNode",
\r
547 "name": "switch ActivateSDWANSiteInstance",
\r
548 "xml": "<!--switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\"-->\n<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSiteInstance'`\">\n",
\r
551 "x": 1232.0042877197266,
\r
552 "y": 748.417646408081,
\r
553 "z": "2a0755d2.04892a",
\r
561 "id": "38f21693.f6208a",
\r
563 "name": "for vf-modules.vf-module_length",
\r
564 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
567 "x": 765.0041732788086,
\r
568 "y": 819.4176635742188,
\r
569 "z": "2a0755d2.04892a",
\r
577 "id": "58afb0e4.ba7df",
\r
579 "name": "for service-data.vnfs.vnf_length",
\r
580 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
583 "x": 629.0039825439453,
\r
584 "y": 646.4175662994385,
\r
585 "z": "2a0755d2.04892a",
\r
593 "id": "7336ac27.633e24",
\r
594 "type": "outcomeTrue",
\r
596 "xml": "<outcome value='true'>\n",
\r
599 "x": 1454.0042037963867,
\r
600 "y": 748.4177279472351,
\r
601 "z": "2a0755d2.04892a",
\r
609 "id": "6d31748d.e3c9bc",
\r
611 "name": "for vf-modules.vf-module_length",
\r
612 "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
\r
615 "x": 1535.2542114257812,
\r
616 "y": 822.9177293777466,
\r
617 "z": "2a0755d2.04892a",
\r
625 "id": "1008121d.0f833e",
\r
626 "type": "switchNode",
\r
627 "name": "switch siteId",
\r
628 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'siteId'`\">\n \n\n\n",
\r
631 "x": 1918.2545700073242,
\r
632 "y": 829.9178366661072,
\r
633 "z": "2a0755d2.04892a",
\r
641 "id": "7c572003.6098f",
\r
642 "type": "outcomeTrue",
\r
644 "xml": "<outcome value='true'>\n",
\r
647 "x": 2095.2545890808105,
\r
648 "y": 832.9176769256592,
\r
649 "z": "2a0755d2.04892a",
\r
657 "id": "63cd961f.c156c8",
\r
659 "name": "set prop.attach.siteId",
\r
660 "xml": "<set>\n<parameter name='prop.attach.siteId' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
\r
662 "x": 2479.255096435547,
\r
663 "y": 806.9177284240723,
\r
664 "z": "2a0755d2.04892a",
\r
668 "id": "8daf5324.de268",
\r
670 "name": "block : atomic",
\r
671 "xml": "<block atomic=\"true\">",
\r
674 "x": 2254.504779815674,
\r
675 "y": 828.4177169799805,
\r
676 "z": "2a0755d2.04892a",
\r
686 "id": "89ba2ad0.277798",
\r
687 "type": "get-resource",
\r
688 "name": "get-resource esr-thirdparty-sdnc",
\r
689 "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
692 "x": 590.0039291381836,
\r
693 "y": 965.9176549911499,
\r
694 "z": "2a0755d2.04892a",
\r
704 "id": "2d233c53.3f6be4",
\r
707 "xml": "<outcome value='success'>\n",
\r
710 "x": 834.0039901733398,
\r
711 "y": 929.9176549911499,
\r
712 "z": "2a0755d2.04892a",
\r
720 "id": "f1938aaa.240958",
\r
721 "type": "not-found",
\r
722 "name": "not-found",
\r
723 "xml": "<outcome value='not-found'>\n",
\r
726 "x": 836.494873046875,
\r
727 "y": 965.4916915893555,
\r
728 "z": "2a0755d2.04892a",
\r
736 "id": "46bd4734.d48208",
\r
739 "xml": "<outcome value='Other'>\n",
\r
742 "x": 831.827880859375,
\r
743 "y": 1001.8250503540039,
\r
744 "z": "2a0755d2.04892a",
\r
752 "id": "3961a91d.651c56",
\r
753 "type": "returnFailure",
\r
754 "name": "return failure",
\r
755 "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
757 "x": 985.6003723144531,
\r
758 "y": 999.2641372680664,
\r
759 "z": "2a0755d2.04892a",
\r
763 "id": "4af9366b.00d608",
\r
764 "type": "returnFailure",
\r
765 "name": "return failure",
\r
766 "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
768 "x": 982.0662689208984,
\r
769 "y": 963.7773790359497,
\r
770 "z": "2a0755d2.04892a",
\r
774 "id": "157032ce.bbb88d",
\r
776 "name": "set controller data",
\r
777 "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
779 "x": 994.5041007995605,
\r
780 "y": 927.917594909668,
\r
781 "z": "2a0755d2.04892a",
\r
785 "id": "e99d476c.3f3ac8",
\r
787 "name": "execute RestApiCallNode Get token",
\r
788 "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
791 "x": 603.9421615600586,
\r
792 "y": 1069.03874874115,
\r
793 "z": "2a0755d2.04892a",
\r
802 "id": "e801e029.f1d5a",
\r
805 "xml": "<outcome value='success'>\n",
\r
808 "x": 838.9422874450684,
\r
809 "y": 1055.038737297058,
\r
810 "z": "2a0755d2.04892a",
\r
818 "id": "8d93013.82561",
\r
821 "xml": "<outcome value='failure'>\n",
\r
824 "x": 838.1922874450684,
\r
825 "y": 1090.6816444396973,
\r
826 "z": "2a0755d2.04892a",
\r
834 "id": "5e0c2f7e.4b122",
\r
835 "type": "returnFailure",
\r
836 "name": "return failure",
\r
837 "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
839 "x": 986.9422950744629,
\r
840 "y": 1091.4317264556885,
\r
841 "z": "2a0755d2.04892a",
\r
845 "id": "aaae6df9.4c056",
\r
847 "name": "set token-id",
\r
848 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
850 "x": 980.9422950744629,
\r
851 "y": 1054.0387382507324,
\r
852 "z": "2a0755d2.04892a",
\r
856 "id": "e8785c39.cc512",
\r
858 "name": "execute RestApiCallNode device port delete",
\r
859 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/ports/action/batch-delete'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"portResp\"/>\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
862 "x": 630.0312576293945,
\r
863 "y": 1220.4918870925903,
\r
864 "z": "2a0755d2.04892a",
\r
873 "id": "552b4230.a57a2c",
\r
876 "xml": "<outcome value='success'>\n",
\r
879 "x": 879.0313167572021,
\r
880 "y": 1234.4920930862427,
\r
881 "z": "2a0755d2.04892a",
\r
889 "id": "a21ab43e.f1ce68",
\r
892 "xml": "<outcome value='failure'>\n",
\r
895 "x": 879.0313167572021,
\r
896 "y": 1196.491928577423,
\r
897 "z": "2a0755d2.04892a",
\r
905 "id": "54a6d547.da0aec",
\r
906 "type": "returnFailure",
\r
907 "name": "return failure",
\r
908 "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 device port rest api\" />\n",
\r
910 "x": 1023.0316505432129,
\r
911 "y": 1195.491928100586,
\r
912 "z": "2a0755d2.04892a",
\r
916 "id": "d1a4e04e.60501",
\r
918 "name": "block : atomic",
\r
919 "xml": "<block atomic=\"true\">",
\r
923 "x": 1026.031328201294,
\r
924 "y": 1235.4919319152832,
\r
925 "z": "2a0755d2.04892a",
\r
931 "id": "c5c8c91e.ca8b48",
\r
933 "name": "Delete port",
\r
936 "x": 531.6971969604492,
\r
937 "y": 1186.9359111785889,
\r
938 "z": "2a0755d2.04892a",
\r
942 "id": "81163bc0.74e178",
\r
944 "name": "call sdwan-get-tenant-auth",
\r
945 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
\r
948 "x": 578.6971969604492,
\r
949 "y": 1135.6023473739624,
\r
950 "z": "2a0755d2.04892a",
\r
956 "id": "a939bddc.25a0a",
\r
958 "name": "execute RestApiCallNode bridge domain create",
\r
959 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-bridge-domain.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/bridge-domains'`\" />\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=\"bridgeDomainResp\"/>\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
962 "x": 1052.6815071105957,
\r
963 "y": 1315.6025159358978,
\r
964 "z": "2a0755d2.04892a",
\r
973 "id": "991e6562.cad008",
\r
976 "xml": "<outcome value='success'>\n",
\r
979 "x": 1373.6815338134766,
\r
980 "y": 1332.6028363704681,
\r
981 "z": "2a0755d2.04892a",
\r
989 "id": "a675752c.fef5c8",
\r
992 "xml": "<outcome value='failure'>\n",
\r
995 "x": 1376.6815605163574,
\r
996 "y": 1297.6026179790497,
\r
997 "z": "2a0755d2.04892a",
\r
1005 "id": "92f1575b.a1bfb8",
\r
1006 "type": "returnFailure",
\r
1007 "name": "return failure",
\r
1008 "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 bridge domain rest api\" />\n",
\r
1010 "x": 1579.6819496154785,
\r
1011 "y": 1293.6027252674103,
\r
1012 "z": "2a0755d2.04892a",
\r
1016 "id": "fb3cfb9f.764a18",
\r
1018 "name": "block : atomic",
\r
1019 "xml": "<block atomic=\"true\">",
\r
1023 "x": 1580.6815147399902,
\r
1024 "y": 1328.602591753006,
\r
1025 "z": "2a0755d2.04892a",
\r
1031 "id": "d50d1b79.abf9a8",
\r
1032 "type": "comment",
\r
1033 "name": "Create bridge domain",
\r
1036 "x": 996.3474006652832,
\r
1037 "y": 1282.0467417240143,
\r
1038 "z": "2a0755d2.04892a",
\r
1042 "id": "60ca269e.96d878",
\r
1043 "type": "switchNode",
\r
1044 "name": "switch portSwitch",
\r
1045 "xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",
\r
1048 "x": 561.4590759277344,
\r
1049 "y": 1331.2692050933838,
\r
1050 "z": "2a0755d2.04892a",
\r
1058 "id": "13b85938.8b9cd7",
\r
1059 "type": "outcomeTrue",
\r
1061 "xml": "<outcome value='true'>\n",
\r
1064 "x": 749.4590034484863,
\r
1065 "y": 1329.3805322647095,
\r
1066 "z": "2a0755d2.04892a",
\r
1074 "id": "ba5b2145.40753",
\r
1075 "type": "execute",
\r
1076 "name": "execute split ip and mask",
\r
1077 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.lan.ipAddress`'/>\n<parameter name=\"regex\" value=\"/\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"ipandMask\"/>\n",
\r
1080 "x": 577.0039672851562,
\r
1081 "y": 1417.1676979064941,
\r
1082 "z": "2a0755d2.04892a",
\r
1085 "575235a2.fb9bbc",
\r
1091 "id": "3c20212c.49fade",
\r
1092 "type": "failure",
\r
1093 "name": "success",
\r
1094 "xml": "<outcome value='success'>\n",
\r
1097 "x": 778.0039863586426,
\r
1098 "y": 1395.1676893234253,
\r
1099 "z": "2a0755d2.04892a",
\r
1107 "id": "575235a2.fb9bbc",
\r
1108 "type": "failure",
\r
1109 "name": "failure",
\r
1110 "xml": "<outcome value='failure'>\n",
\r
1113 "x": 778.0039901733398,
\r
1114 "y": 1436.1676931381226,
\r
1115 "z": "2a0755d2.04892a",
\r
1123 "id": "bdf015ad.4678f8",
\r
1125 "name": "set ipAddress prefixLength",
\r
1126 "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
\r
1128 "x": 975.0040054321289,
\r
1129 "y": 1393.1676893234253,
\r
1130 "z": "2a0755d2.04892a",
\r
1134 "id": "133c89f4.2a7c76",
\r
1135 "type": "returnFailure",
\r
1136 "name": "return failure",
\r
1137 "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
1139 "x": 933.0039978027344,
\r
1140 "y": 1433.1676921844482,
\r
1141 "z": "2a0755d2.04892a",
\r
1145 "id": "372eb63a.83ff6a",
\r
1146 "type": "comment",
\r
1147 "name": "TODO: split ip/mask",
\r
1150 "x": 974.0136375427246,
\r
1151 "y": 1355.3479614257812,
\r
1152 "z": "2a0755d2.04892a",
\r
1156 "id": "86da8112.f0417",
\r
1157 "type": "execute",
\r
1158 "name": "execute RestApiCallNode IPSubnets delete",
\r
1159 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-ip-subnets-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/ip-subnets/action/batch-delete'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"lanPortResp\"/>\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
1162 "x": 635.7753372192383,
\r
1163 "y": 1493.2885875701904,
\r
1164 "z": "2a0755d2.04892a",
\r
1167 "15bd3770.c63fa9",
\r
1173 "id": "248a192b.d86396",
\r
1174 "type": "failure",
\r
1175 "name": "failure",
\r
1176 "xml": "<outcome value='failure'>\n",
\r
1179 "x": 904.7753677368164,
\r
1180 "y": 1480.2885599136353,
\r
1181 "z": "2a0755d2.04892a",
\r
1189 "id": "15bd3770.c63fa9",
\r
1190 "type": "success",
\r
1191 "name": "success",
\r
1192 "xml": "<outcome value='success'>\n",
\r
1195 "x": 901.7753410339355,
\r
1196 "y": 1515.2887783050537,
\r
1197 "z": "2a0755d2.04892a",
\r
1205 "id": "616ee6f.3d9a718",
\r
1206 "type": "returnFailure",
\r
1207 "name": "return failure",
\r
1208 "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 device port rest api\" />\n",
\r
1210 "x": 1057.775749206543,
\r
1211 "y": 1476.2887859344482,
\r
1212 "z": "2a0755d2.04892a",
\r
1216 "id": "40c5dea7.9b57",
\r
1218 "name": "block : atomic",
\r
1219 "xml": "<block atomic=\"true\">",
\r
1223 "x": 1048.7753219604492,
\r
1224 "y": 1516.2885341644287,
\r
1225 "z": "2a0755d2.04892a",
\r
1233 "id": "339192eb.51711e",
\r
1235 "name": "set prop.lan.lanPortId",
\r
1236 "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",
\r
1238 "x": 1255.6644248962402,
\r
1239 "y": 1518.622000694275,
\r
1240 "z": "2a0755d2.04892a",
\r
1244 "id": "6c0bf23f.5303ac",
\r
1245 "type": "execute",
\r
1246 "name": "execute RestApiCallNode create vpn topology",
\r
1247 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn1Id + '/topology'`\" />\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=\"vpn-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
1250 "x": 652.2857360839844,
\r
1251 "y": 1651.7474851608276,
\r
1252 "z": "2a0755d2.04892a",
\r
1261 "id": "f95d774d.951318",
\r
1262 "type": "success",
\r
1263 "name": "success",
\r
1264 "xml": "<outcome value='success'>\n",
\r
1267 "x": 898.2856712341309,
\r
1268 "y": 1687.7468357086182,
\r
1269 "z": "2a0755d2.04892a",
\r
1277 "id": "1f602715.4e71b9",
\r
1279 "name": "block : atomic",
\r
1280 "xml": "<block atomic=\"true\">",
\r
1284 "x": 1070.2856121063232,
\r
1285 "y": 1701.7468520402908,
\r
1286 "z": "2a0755d2.04892a",
\r
1292 "id": "7c916735.dbf778",
\r
1293 "type": "returnFailure",
\r
1294 "name": "return failure",
\r
1295 "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 topology failed\" />\n",
\r
1297 "x": 1070.2857341766357,
\r
1298 "y": 1657.7468520402908,
\r
1299 "z": "2a0755d2.04892a",
\r
1303 "id": "6503000e.7fe09",
\r
1304 "type": "failure",
\r
1305 "name": "failure",
\r
1306 "xml": "<outcome value='failure'>\n",
\r
1309 "x": 902.2855892181396,
\r
1310 "y": 1645.7468347549438,
\r
1311 "z": "2a0755d2.04892a",
\r
1319 "id": "2b5c8466.72828c",
\r
1320 "type": "execute",
\r
1321 "name": "execute RestApiCallNode create vpn ",
\r
1322 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\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=\"vpn-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
1325 "x": 619.2841186523438,
\r
1326 "y": 1585.246587753296,
\r
1327 "z": "2a0755d2.04892a",
\r
1336 "id": "22423ed9.18f8e2",
\r
1337 "type": "success",
\r
1338 "name": "success",
\r
1339 "xml": "<outcome value='success'>\n",
\r
1342 "x": 844.2840175628662,
\r
1343 "y": 1605.246500134468,
\r
1344 "z": "2a0755d2.04892a",
\r
1352 "id": "b88f4563.6b6768",
\r
1354 "name": "block : atomic",
\r
1355 "xml": "<block atomic=\"true\">",
\r
1359 "x": 1014.28395652771,
\r
1360 "y": 1608.246500134468,
\r
1361 "z": "2a0755d2.04892a",
\r
1367 "id": "a724847c.2c4088",
\r
1368 "type": "returnFailure",
\r
1369 "name": "return failure",
\r
1370 "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 failed\" />\n",
\r
1372 "x": 1014.2840785980225,
\r
1373 "y": 1564.246500134468,
\r
1374 "z": "2a0755d2.04892a",
\r
1378 "id": "593d6e8d.d4036",
\r
1379 "type": "failure",
\r
1380 "name": "failure",
\r
1381 "xml": "<outcome value='failure'>\n",
\r
1384 "x": 847.28395652771,
\r
1385 "y": 1564.246500134468,
\r
1386 "z": "2a0755d2.04892a",
\r
1394 "id": "1f47d1c3.9d407e",
\r
1395 "type": "switchNode",
\r
1396 "name": "switch ActivateSDWANVpnInstance",
\r
1397 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANVpnInstance'`\">\n",
\r
1400 "x": 1210.2859420776367,
\r
1401 "y": 869.7469148635864,
\r
1402 "z": "2a0755d2.04892a",
\r
1410 "id": "e28cdf4a.09f99",
\r
1413 "xml": "<block>\n",
\r
1414 "atomic": "false",
\r
1417 "x": 967.6190452575684,
\r
1418 "y": 798.746994972229,
\r
1419 "z": "2a0755d2.04892a",
\r
1422 "125425fb.ef4bfa",
\r
1423 "1f47d1c3.9d407e",
\r
1429 "id": "6200b940.359218",
\r
1430 "type": "outcomeTrue",
\r
1432 "xml": "<outcome value='true'>\n",
\r
1435 "x": 1305.9524536132812,
\r
1436 "y": 943.7469959259033,
\r
1437 "z": "2a0755d2.04892a",
\r
1445 "id": "309bb160.fe92de",
\r
1447 "name": "for vf-modules.vf-module_length",
\r
1448 "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",
\r
1451 "x": 1520.2023391723633,
\r
1452 "y": 945.2469725608826,
\r
1453 "z": "2a0755d2.04892a",
\r
1461 "id": "1ac88e91.8c9681",
\r
1462 "type": "switchNode",
\r
1463 "name": "switch vpn-id",
\r
1464 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'vpn-id'`\">\n \n\n\n",
\r
1467 "x": 1767.202377319336,
\r
1468 "y": 940.2470555305481,
\r
1469 "z": "2a0755d2.04892a",
\r
1477 "id": "3a5e3420.dfdfbc",
\r
1478 "type": "outcomeTrue",
\r
1480 "xml": "<outcome value='true'>\n",
\r
1483 "x": 1917.9523315429688,
\r
1484 "y": 941.7469711303711,
\r
1485 "z": "2a0755d2.04892a",
\r
1493 "id": "f542060.75c12f8",
\r
1495 "name": "set prop.vpn1Id",
\r
1496 "xml": "<set>\n<parameter name='prop.vpn1Id' value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value`' />\n",
\r
1498 "x": 2091.953079223633,
\r
1499 "y": 941.747029542923,
\r
1500 "z": "2a0755d2.04892a",
\r
1504 "id": "4f58a0f5.56037",
\r
1506 "name": "Add sites to list and update length",
\r
1507 "xml": "<set>\n<parameter name='prop.siteIds[$prop.siteIds_length]' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteIds_length' value='`$prop.siteIds_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
\r
1509 "x": 2522.2864532470703,
\r
1510 "y": 847.747029542923,
\r
1511 "z": "2a0755d2.04892a",
\r
1515 "id": "975b7faf.1862a",
\r
1517 "name": "Add site attachement to list and update length",
\r
1518 "xml": "<set>\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].siteId' value='`$prop.attach.siteId`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles[0]' value='`$prop.role`' />\n<parameter name='prop.siteAttachements[$prop.siteAttachements_length].roles_length' value='1' />\n<parameter name='prop.siteAttachements_length' value='`$prop.siteAttachements_length + 1`' />\n\n\n\n\n\n\n\n\n\n\n\n\n",
\r
1520 "x": 2553.286346435547,
\r
1521 "y": 890.7469959259033,
\r
1522 "z": "2a0755d2.04892a",
\r
1526 "id": "d3ab3217.7d57a",
\r
1528 "name": "set prop.siteAttachement_length=0",
\r
1529 "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
\r
1531 "x": 639.2857208251953,
\r
1532 "y": 595.7469882965088,
\r
1533 "z": "2a0755d2.04892a",
\r
1537 "id": "7cb6a87.6e3f758",
\r
1539 "name": "block atomic",
\r
1540 "xml": "<block atomic=\"true\">\n",
\r
1541 "atomic": "false",
\r
1544 "x": 1752.6193771362305,
\r
1545 "y": 823.7469940185547,
\r
1546 "z": "2a0755d2.04892a",
\r
1549 "1008121d.0f833e",
\r
1550 "38f1f3d9.ea90fc",
\r
1556 "id": "38f1f3d9.ea90fc",
\r
1557 "type": "switchNode",
\r
1558 "name": "switch role",
\r
1559 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'role'`\">\n \n\n\n",
\r
1562 "x": 1914.9523086547852,
\r
1563 "y": 754.7469930648804,
\r
1564 "z": "2a0755d2.04892a",
\r
1572 "id": "e4b2cfb7.2be02",
\r
1573 "type": "outcomeTrue",
\r
1575 "xml": "<outcome value='true'>\n",
\r
1578 "x": 2077.9523124694824,
\r
1579 "y": 749.7469940185547,
\r
1580 "z": "2a0755d2.04892a",
\r
1588 "id": "cbd09e2f.5bc81",
\r
1590 "name": "block : atomic",
\r
1591 "xml": "<block atomic=\"true\">",
\r
1594 "x": 2245.9523544311523,
\r
1595 "y": 743.746992111206,
\r
1596 "z": "2a0755d2.04892a",
\r
1599 "3c601cb.4b2f2e4",
\r
1605 "id": "2d319605.7a6e9a",
\r
1606 "type": "switchNode",
\r
1607 "name": "switch sd-wan-edge",
\r
1608 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].value == 'sd-wan-edge'`\">\n\n",
\r
1611 "x": 2440.9524841308594,
\r
1612 "y": 704.7469835281372,
\r
1613 "z": "2a0755d2.04892a",
\r
1621 "id": "3c601cb.4b2f2e4",
\r
1622 "type": "switchNode",
\r
1623 "name": "switch dsvpn-hub",
\r
1624 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name == 'dsvpn-hub'`\">\n \n\n\n",
\r
1627 "x": 2437.952590942383,
\r
1628 "y": 759.7469990253448,
\r
1629 "z": "2a0755d2.04892a",
\r
1637 "id": "91128780.38fd08",
\r
1639 "name": "set spoke role",
\r
1640 "xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",
\r
1642 "x": 2770.952606201172,
\r
1643 "y": 698.7470293045044,
\r
1644 "z": "2a0755d2.04892a",
\r
1648 "id": "c4199cad.d68d",
\r
1650 "name": "set hub role",
\r
1651 "xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",
\r
1653 "x": 2769.952365875244,
\r
1654 "y": 753.747013092041,
\r
1655 "z": "2a0755d2.04892a",
\r
1659 "id": "bb6dcfdd.128fa",
\r
1660 "type": "outcomeTrue",
\r
1662 "xml": "<outcome value='true'>\n",
\r
1665 "x": 2610.9524536132812,
\r
1666 "y": 700.4136581420898,
\r
1667 "z": "2a0755d2.04892a",
\r
1675 "id": "b131819c.daa97",
\r
1676 "type": "outcomeTrue",
\r
1678 "xml": "<outcome value='true'>\n",
\r
1681 "x": 2614.9524536132812,
\r
1682 "y": 755.4136581420898,
\r
1683 "z": "2a0755d2.04892a",
\r
1691 "id": "16e6f83a.5e7ff8",
\r
1693 "name": "update SDWAN VPN status to AAI",
\r
1694 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n key='sdwan-vpn.sdwan-vpn-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='sdwan-vpn-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='PendingDelete' />\n<parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' />",
\r
1697 "x": 617.3170700073242,
\r
1698 "y": 1867.4452047348022,
\r
1699 "z": "2a0755d2.04892a",
\r
1705 "id": "65c7e0ab.e924d",
\r
1708 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic23.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"param-name\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$pidx].name`'/>\n",
\r
1711 "x": 1910.3169555664062,
\r
1712 "y": 698.9449081420898,
\r
1713 "z": "2a0755d2.04892a",
\r
1719 "id": "712ec051.8d2a6",
\r
1722 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic24.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"request-action\"/>\n<parameter name=\"field3\" value='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action`'/>\n",
\r
1725 "x": 1153.3171730041504,
\r
1726 "y": 699.9450273513794,
\r
1727 "z": "2a0755d2.04892a",
\r
1733 "id": "500d4c8a.78bee4",
\r
1734 "type": "comment",
\r
1735 "name": "**revert the changes",
\r
1738 "x": 1311.316982269287,
\r
1739 "y": 704.4449405670166,
\r
1740 "z": "2a0755d2.04892a",
\r
1744 "id": "137ad5db.05e33a",
\r
1746 "name": "block : atomic",
\r
1747 "xml": "<block atomic=\"true\">",
\r
1750 "x": 1536.3333740234375,
\r
1751 "y": 621.6667051315308,
\r
1752 "z": "2a0755d2.04892a",
\r
1755 "42b7ec46.f75e94",
\r
1761 "id": "5c976c54.43c564",
\r
1763 "name": "set prop.vnf-id",
\r
1764 "xml": "<set>\n<parameter name='prop.vnf-id' value='`$service-data.vnfs.vnf[$vnfidx].vnf-id`' />\n\n",
\r
1766 "x": 1728.0000495910645,
\r
1767 "y": 551.6666831970215,
\r
1768 "z": "2a0755d2.04892a",
\r
1772 "id": "74d2892.3a20c78",
\r
1773 "type": "switchNode",
\r
1774 "name": "switch prop.vnf-id match",
\r
1775 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-id == $prop.vnf-id`\">",
\r
1778 "x": 886.0003509521484,
\r
1779 "y": 673.0000200271606,
\r
1780 "z": "2a0755d2.04892a",
\r
1788 "id": "cfdd9f28.400e6",
\r
1789 "type": "outcomeFalse",
\r
1791 "xml": "<outcome value='false'>\n",
\r
1794 "x": 674.0005035400391,
\r
1795 "y": 748.0000233650208,
\r
1796 "z": "2a0755d2.04892a",
\r
1804 "id": "fef5106c.cc924",
\r
1805 "type": "comment",
\r
1806 "name": "if device-name match with the incomming device-name, sites in this service vnf should not be included",
\r
1809 "x": 749.0000915527344,
\r
1810 "y": 845.0000410079956,
\r
1811 "z": "2a0755d2.04892a",
\r
1815 "id": "2ee3209f.a1bb9",
\r
1817 "name": "copy input data to service data",
\r
1818 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",
\r
1820 "x": 605.0000915527344,
\r
1821 "y": 1719.6667194366455,
\r
1822 "z": "2a0755d2.04892a",
\r
1826 "id": "bfac8597.a517f8",
\r
1828 "name": "set vf-module-id and vf-module-object-path",
\r
1829 "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",
\r
1831 "x": 639.3032913208008,
\r
1832 "y": 1763.4698286056519,
\r
1833 "z": "2a0755d2.04892a",
\r
1837 "id": "b282b047.e838d",
\r
1839 "name": "set vf-module-level-oper-status",
\r
1840 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-rpc-action' value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action' value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",
\r
1842 "x": 606.3033180236816,
\r
1843 "y": 1816.4698705673218,
\r
1844 "z": "2a0755d2.04892a",
\r