3 "id": "449f76b2.35ecd8",
\r
4 "type": "switchNode",
\r
5 "name": "switch vf-modules.vf-module_length",
\r
6 "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
\r
10 "y": 351.99999046325684,
\r
11 "z": "a60b8cc5.55e8f",
\r
21 "id": "3ae00491.8f60fc",
\r
25 "x": 188.00390243530273,
\r
27 "z": "a60b8cc5.55e8f",
\r
35 "id": "cd3d997.ba35068",
\r
36 "type": "service-logic",
\r
37 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
38 "module": "GENERIC-RESOURCE-API",
\r
39 "version": "${project.version}",
\r
41 "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
43 "x": 257.2896041870117,
\r
44 "y": 106.23810958862305,
\r
45 "z": "a60b8cc5.55e8f",
\r
53 "id": "42625ee9.60cf8",
\r
55 "name": "method sdwan-vf-operation-lanport-activate",
\r
56 "xml": "<method rpc='sdwan-vf-operation-lanport-activate' mode='sync'>\n",
\r
59 "x": 269.00389862060547,
\r
60 "y": 200.58634185791016,
\r
61 "z": "a60b8cc5.55e8f",
\r
69 "id": "3ec2bae1.a772e6",
\r
71 "name": "block : atomic",
\r
72 "xml": "<block atomic=\"true\">",
\r
75 "x": 269.67057037353516,
\r
76 "y": 456.666708946228,
\r
77 "z": "a60b8cc5.55e8f",
\r
108 "id": "1b2b5acf.fbd5d5",
\r
110 "name": "for each vnf",
\r
111 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
114 "x": 616.0352668762207,
\r
115 "y": 222.26914596557617,
\r
116 "z": "a60b8cc5.55e8f",
\r
124 "id": "788af4bb.4d81cc",
\r
125 "type": "switchNode",
\r
126 "name": "switch vnf_length",
\r
127 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
130 "x": 621.0039215087891,
\r
131 "y": 161.00001525878906,
\r
132 "z": "a60b8cc5.55e8f",
\r
140 "id": "eddbe91d.071158",
\r
143 "xml": "<outcome value=''>\n",
\r
146 "x": 801.0039024353027,
\r
147 "y": 160.00000476837158,
\r
148 "z": "a60b8cc5.55e8f",
\r
156 "id": "43ffd7ae.190158",
\r
157 "type": "returnFailure",
\r
158 "name": "return failure",
\r
159 "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
161 "x": 950.4326286315918,
\r
162 "y": 161.14292240142822,
\r
163 "z": "a60b8cc5.55e8f",
\r
167 "id": "7ea5c9a1.849a58",
\r
168 "type": "switchNode",
\r
169 "name": "switch this vnf-id == input vnf-id",
\r
170 "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
\r
173 "x": 839.0039176940918,
\r
174 "y": 223.00001096725464,
\r
175 "z": "a60b8cc5.55e8f",
\r
183 "id": "63b5b6be.7bb648",
\r
184 "type": "outcomeTrue",
\r
186 "xml": "<outcome value='true'>\n",
\r
189 "x": 1054.0039024353027,
\r
190 "y": 221.00000476837158,
\r
191 "z": "a60b8cc5.55e8f",
\r
199 "id": "395d7249.60aa0e",
\r
201 "name": "set vnf-index",
\r
202 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
204 "x": 1218.0039024353027,
\r
205 "y": 216.00000476837158,
\r
206 "z": "a60b8cc5.55e8f",
\r
210 "id": "b6d1d1d8.bb9ed",
\r
213 "xml": "<outcome value=''>\n",
\r
216 "x": 873.0038986206055,
\r
218 "z": "a60b8cc5.55e8f",
\r
226 "id": "398bb19.252604e",
\r
229 "xml": "<outcome value='0'>\n",
\r
232 "x": 878.0038948059082,
\r
233 "y": 332.9999990463257,
\r
234 "z": "a60b8cc5.55e8f",
\r
242 "id": "284a993a.df0816",
\r
243 "type": "returnFailure",
\r
244 "name": "return failure",
\r
245 "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
247 "x": 1036.0038986206055,
\r
249 "z": "a60b8cc5.55e8f",
\r
253 "id": "62a6e293.8703bc",
\r
256 "xml": "<outcome value='Other'>\n",
\r
259 "x": 873.0038986206055,
\r
261 "z": "a60b8cc5.55e8f",
\r
269 "id": "cb04cf04.061eb",
\r
271 "name": "set vf-module_length",
\r
272 "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
274 "x": 1227.0039138793945,
\r
275 "y": 445.0000139474869,
\r
276 "z": "a60b8cc5.55e8f",
\r
280 "id": "f366b8b5.961cc8",
\r
282 "name": "block : atomic",
\r
283 "xml": "<block atomic=\"true\">",
\r
286 "x": 1034.0039443969727,
\r
287 "y": 443.99999141693115,
\r
288 "z": "a60b8cc5.55e8f",
\r
297 "id": "19000243.abd3ee",
\r
299 "name": "for each existing vf-index",
\r
300 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
303 "x": 1246.0038833618164,
\r
304 "y": 497.99999046325684,
\r
305 "z": "a60b8cc5.55e8f",
\r
313 "id": "7d37972f.257a38",
\r
314 "type": "switchNode",
\r
315 "name": "switch vf-module-id found",
\r
316 "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
319 "x": 1489.0038986206055,
\r
321 "z": "a60b8cc5.55e8f",
\r
329 "id": "377bfea7.613792",
\r
330 "type": "outcomeTrue",
\r
332 "xml": "<outcome value='true'>\n",
\r
335 "x": 1687.003927230835,
\r
336 "y": 480.0000066757202,
\r
337 "z": "a60b8cc5.55e8f",
\r
345 "id": "18c55aa5.f966a5",
\r
347 "name": "block : atomic",
\r
348 "xml": "<block atomic=\"true\">",
\r
351 "x": 1839.0038986206055,
\r
353 "z": "a60b8cc5.55e8f",
\r
363 "id": "d08221fe.a8a22",
\r
365 "name": "set tmp.vidx and ctx.vnf-data",
\r
366 "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
368 "x": 2067.0040130615234,
\r
369 "y": 424.00000381469727,
\r
370 "z": "a60b8cc5.55e8f",
\r
374 "id": "f8638c60.50c2c",
\r
376 "name": "set vf-module-request-input.",
\r
377 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
379 "x": 2071.0040130615234,
\r
380 "y": 478.00000381469727,
\r
381 "z": "a60b8cc5.55e8f",
\r
385 "id": "9c153d6a.4cf43",
\r
386 "type": "returnSuccess",
\r
387 "name": "return success",
\r
388 "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
390 "x": 585.0040168762207,
\r
391 "y": 2093.501151561737,
\r
392 "z": "a60b8cc5.55e8f",
\r
396 "id": "4e4f3655.251b48",
\r
398 "name": "call sdwan-get-vf-module-lanport-param",
\r
399 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
\r
402 "x": 2101.4590377807617,
\r
403 "y": 529.0104961395264,
\r
404 "z": "a60b8cc5.55e8f",
\r
410 "id": "2dd1b5ff.e9de3a",
\r
412 "name": "for vf-modules.vf-module_length",
\r
413 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
416 "x": 1358.2580871582031,
\r
417 "y": 557.0040807723999,
\r
418 "z": "a60b8cc5.55e8f",
\r
426 "id": "bc24bdbf.b7fae",
\r
427 "type": "switchNode",
\r
428 "name": "switch this deviceName == vf-input",
\r
429 "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",
\r
432 "x": 1429.25830078125,
\r
433 "y": 630.0042104721069,
\r
434 "z": "a60b8cc5.55e8f",
\r
442 "id": "afb4aa7c.d42128",
\r
444 "name": "for vf-module-input-param length",
\r
445 "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
448 "x": 1644.2579345703125,
\r
449 "y": 559.0041646957397,
\r
450 "z": "a60b8cc5.55e8f",
\r
458 "id": "3a56a654.531a3a",
\r
459 "type": "outcomeTrue",
\r
461 "xml": "<outcome value='true'>\n",
\r
464 "x": 1649.2580242156982,
\r
465 "y": 631.0042181015015,
\r
466 "z": "a60b8cc5.55e8f",
\r
474 "id": "c2e2f4ae.3e81f8",
\r
476 "name": "for vf-modules.vf-module_length",
\r
477 "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
480 "x": 1894.2581024169922,
\r
481 "y": 631.0041356086731,
\r
482 "z": "a60b8cc5.55e8f",
\r
490 "id": "1b295fc8.1fb94",
\r
491 "type": "switchNode",
\r
492 "name": "switch deviceId == input vf-id",
\r
493 "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
496 "x": 2202.2583770751953,
\r
497 "y": 614.0041036605835,
\r
498 "z": "a60b8cc5.55e8f",
\r
506 "id": "35a3cdd9.9a70d2",
\r
507 "type": "outcomeTrue",
\r
509 "xml": "<outcome value='true'>\n",
\r
512 "x": 2411.258415222168,
\r
513 "y": 616.004096031189,
\r
514 "z": "a60b8cc5.55e8f",
\r
522 "id": "219f921f.088efe",
\r
524 "name": "set prop.lan.deviceId",
\r
525 "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
527 "x": 2588.2583808898926,
\r
528 "y": 612.0042867660522,
\r
529 "z": "a60b8cc5.55e8f",
\r
533 "id": "46f7cea6.503f1",
\r
535 "name": "for service-data.vnfs.vnf_length",
\r
536 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
540 "y": 424.00404262542725,
\r
541 "z": "a60b8cc5.55e8f",
\r
549 "id": "daa35d7b.bbc16",
\r
550 "type": "switchNode",
\r
551 "name": "switch ActivateSDWANSiteInstance",
\r
552 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module[$vfidx].vf-module-data.request-information.request-action == 'ActivateSDWANSiteInstance'`\">\n",
\r
555 "x": 1249.008186340332,
\r
556 "y": 741.0039882659912,
\r
557 "z": "a60b8cc5.55e8f",
\r
565 "id": "7a222fcd.73c1e",
\r
567 "name": "for vf-modules.vf-module_length",
\r
568 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
571 "x": 895.0080261230469,
\r
572 "y": 708.0040283203125,
\r
573 "z": "a60b8cc5.55e8f",
\r
581 "id": "3174dd24.ba8ab2",
\r
583 "name": "for service-data.vnfs.vnf_length",
\r
584 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
587 "x": 646.0078811645508,
\r
588 "y": 639.0039081573486,
\r
589 "z": "a60b8cc5.55e8f",
\r
597 "id": "d9309324.f3584",
\r
598 "type": "outcomeTrue",
\r
600 "xml": "<outcome value='true'>\n",
\r
603 "x": 1471.0081024169922,
\r
604 "y": 741.0040698051453,
\r
605 "z": "a60b8cc5.55e8f",
\r
613 "id": "6e42570c.9e97d8",
\r
615 "name": "for vf-modules.vf-module_length",
\r
616 "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
619 "x": 1552.2581100463867,
\r
620 "y": 815.5040712356567,
\r
621 "z": "a60b8cc5.55e8f",
\r
629 "id": "f89ede9f.dfe34",
\r
630 "type": "switchNode",
\r
631 "name": "switch siteId",
\r
632 "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
635 "x": 1935.2584686279297,
\r
636 "y": 822.5041785240173,
\r
637 "z": "a60b8cc5.55e8f",
\r
645 "id": "69e745ff.0d272c",
\r
646 "type": "outcomeTrue",
\r
648 "xml": "<outcome value='true'>\n",
\r
651 "x": 2112.258487701416,
\r
652 "y": 825.5040187835693,
\r
653 "z": "a60b8cc5.55e8f",
\r
661 "id": "dee78c9f.5dd72",
\r
663 "name": "set prop.attach.siteId",
\r
664 "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
666 "x": 2496.2589950561523,
\r
667 "y": 799.5040702819824,
\r
668 "z": "a60b8cc5.55e8f",
\r
672 "id": "f03a8e8e.83fe2",
\r
674 "name": "block : atomic",
\r
675 "xml": "<block atomic=\"true\">",
\r
678 "x": 2271.5086784362793,
\r
679 "y": 821.0040588378906,
\r
680 "z": "a60b8cc5.55e8f",
\r
691 "id": "9e2a9762.50d9a8",
\r
692 "type": "get-resource",
\r
693 "name": "get-resource esr-thirdparty-sdnc",
\r
694 "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
697 "x": 1930.0078430175781,
\r
698 "y": 1338.5039596557617,
\r
699 "z": "a60b8cc5.55e8f",
\r
709 "id": "45a4d258.24544c",
\r
712 "xml": "<outcome value='success'>\n",
\r
715 "x": 2174.0079040527344,
\r
716 "y": 1302.5039596557617,
\r
717 "z": "a60b8cc5.55e8f",
\r
725 "id": "cb543421.e8e548",
\r
726 "type": "not-found",
\r
727 "name": "not-found",
\r
728 "xml": "<outcome value='not-found'>\n",
\r
731 "x": 2176.4987869262695,
\r
732 "y": 1338.0779962539673,
\r
733 "z": "a60b8cc5.55e8f",
\r
741 "id": "f2ddc8f8.67f5b8",
\r
744 "xml": "<outcome value='Other'>\n",
\r
747 "x": 2171.8317947387695,
\r
748 "y": 1374.4113550186157,
\r
749 "z": "a60b8cc5.55e8f",
\r
757 "id": "114f2452.7c39bc",
\r
758 "type": "returnFailure",
\r
759 "name": "return failure",
\r
760 "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
762 "x": 2325.6042861938477,
\r
763 "y": 1371.8504419326782,
\r
764 "z": "a60b8cc5.55e8f",
\r
768 "id": "57b80d68.fd6804",
\r
769 "type": "returnFailure",
\r
770 "name": "return failure",
\r
771 "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
773 "x": 2322.070182800293,
\r
774 "y": 1336.3636837005615,
\r
775 "z": "a60b8cc5.55e8f",
\r
779 "id": "73860a6b.6e7a64",
\r
781 "name": "set controller data",
\r
782 "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
784 "x": 2334.508014678955,
\r
785 "y": 1300.5038995742798,
\r
786 "z": "a60b8cc5.55e8f",
\r
790 "id": "315d042b.94c54c",
\r
792 "name": "execute RestApiCallNode Get token",
\r
793 "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
796 "x": 1943.9460754394531,
\r
797 "y": 1441.6250534057617,
\r
798 "z": "a60b8cc5.55e8f",
\r
807 "id": "277e96cc.23f53a",
\r
810 "xml": "<outcome value='success'>\n",
\r
813 "x": 2178.946201324463,
\r
814 "y": 1427.62504196167,
\r
815 "z": "a60b8cc5.55e8f",
\r
823 "id": "d503dd86.6b851",
\r
826 "xml": "<outcome value='failure'>\n",
\r
829 "x": 2178.196201324463,
\r
830 "y": 1463.267949104309,
\r
831 "z": "a60b8cc5.55e8f",
\r
839 "id": "198d65d8.c721ba",
\r
840 "type": "returnFailure",
\r
841 "name": "return failure",
\r
842 "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
844 "x": 2326.9462089538574,
\r
845 "y": 1464.0180311203003,
\r
846 "z": "a60b8cc5.55e8f",
\r
850 "id": "7b5e2570.2698cc",
\r
852 "name": "set token-id",
\r
853 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
855 "x": 2320.9462089538574,
\r
856 "y": 1426.6250429153442,
\r
857 "z": "a60b8cc5.55e8f",
\r
861 "id": "41672a48.274fe4",
\r
863 "name": "execute RestApiCallNode device port create",
\r
864 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-port.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/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=\"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
868 "y": 1213.0782289505005,
\r
869 "z": "a60b8cc5.55e8f",
\r
878 "id": "74d5de9e.64c39",
\r
881 "xml": "<outcome value='success'>\n",
\r
884 "x": 896.0352153778076,
\r
885 "y": 1227.0784349441528,
\r
886 "z": "a60b8cc5.55e8f",
\r
894 "id": "95bf4540.859768",
\r
897 "xml": "<outcome value='failure'>\n",
\r
900 "x": 896.0352153778076,
\r
901 "y": 1189.0782704353333,
\r
902 "z": "a60b8cc5.55e8f",
\r
910 "id": "5b043775.82b438",
\r
911 "type": "returnFailure",
\r
912 "name": "return failure",
\r
913 "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
915 "x": 1040.0355491638184,
\r
916 "y": 1188.078269958496,
\r
917 "z": "a60b8cc5.55e8f",
\r
921 "id": "446d7b16.686f54",
\r
923 "name": "block : atomic",
\r
924 "xml": "<block atomic=\"true\">",
\r
928 "x": 1043.0352268218994,
\r
929 "y": 1228.0782737731934,
\r
930 "z": "a60b8cc5.55e8f",
\r
936 "id": "fcbf2fc7.b018d",
\r
938 "name": "set prop.lan.devicePortId",
\r
939 "xml": "<set>\n<parameter name='prop.lan.devicePortId' value='`$portResp.success[0].id`' />\n",
\r
941 "x": 589.6924171447754,
\r
942 "y": 1266.1794338226318,
\r
943 "z": "a60b8cc5.55e8f",
\r
947 "id": "b76fce1f.c41d6",
\r
949 "name": "Create port",
\r
952 "x": 548.7010955810547,
\r
953 "y": 1179.522253036499,
\r
954 "z": "a60b8cc5.55e8f",
\r
958 "id": "455e901d.d7497",
\r
960 "name": "call sdwan-get-tenant-auth",
\r
961 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
\r
964 "x": 595.7010955810547,
\r
965 "y": 1128.1886892318726,
\r
966 "z": "a60b8cc5.55e8f",
\r
972 "id": "4fc0e57c.93c3fc",
\r
974 "name": "execute RestApiCallNode bridge domain create",
\r
975 "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
978 "x": 1069.6854057312012,
\r
979 "y": 1308.188857793808,
\r
980 "z": "a60b8cc5.55e8f",
\r
989 "id": "fe4c3471.1ff888",
\r
992 "xml": "<outcome value='success'>\n",
\r
995 "x": 1390.685432434082,
\r
996 "y": 1325.1891782283783,
\r
997 "z": "a60b8cc5.55e8f",
\r
1005 "id": "5d7f5544.360c1c",
\r
1006 "type": "failure",
\r
1007 "name": "failure",
\r
1008 "xml": "<outcome value='failure'>\n",
\r
1011 "x": 1393.685459136963,
\r
1012 "y": 1290.1889598369598,
\r
1013 "z": "a60b8cc5.55e8f",
\r
1021 "id": "cee492db.e0603",
\r
1022 "type": "returnFailure",
\r
1023 "name": "return failure",
\r
1024 "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
1026 "x": 1596.685848236084,
\r
1027 "y": 1286.1890671253204,
\r
1028 "z": "a60b8cc5.55e8f",
\r
1032 "id": "ab1e6271.60b9c",
\r
1034 "name": "block : atomic",
\r
1035 "xml": "<block atomic=\"true\">",
\r
1039 "x": 1597.6854133605957,
\r
1040 "y": 1321.1889336109161,
\r
1041 "z": "a60b8cc5.55e8f",
\r
1047 "id": "e47a1f03.1d40d",
\r
1048 "type": "comment",
\r
1049 "name": "Create bridge domain",
\r
1052 "x": 1013.3512992858887,
\r
1053 "y": 1274.6330835819244,
\r
1054 "z": "a60b8cc5.55e8f",
\r
1058 "id": "505ed63f.24baa8",
\r
1059 "type": "switchNode",
\r
1060 "name": "switch portSwitch",
\r
1061 "xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",
\r
1064 "x": 569.4628715515137,
\r
1065 "y": 1309.855489730835,
\r
1066 "z": "a60b8cc5.55e8f",
\r
1074 "id": "f3a0568f.15eb08",
\r
1075 "type": "outcomeTrue",
\r
1077 "xml": "<outcome value='true'>\n",
\r
1080 "x": 748.4629020690918,
\r
1081 "y": 1309.966812133789,
\r
1082 "z": "a60b8cc5.55e8f",
\r
1090 "id": "94404e6f.e8fde",
\r
1091 "type": "execute",
\r
1092 "name": "execute split ip and mask",
\r
1093 "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
1096 "x": 594.0078659057617,
\r
1097 "y": 1409.7540397644043,
\r
1098 "z": "a60b8cc5.55e8f",
\r
1101 "8f41cbf5.215278",
\r
1107 "id": "e159f50d.926278",
\r
1108 "type": "failure",
\r
1109 "name": "success",
\r
1110 "xml": "<outcome value='success'>\n",
\r
1113 "x": 795.007884979248,
\r
1114 "y": 1387.7540311813354,
\r
1115 "z": "a60b8cc5.55e8f",
\r
1123 "id": "8f41cbf5.215278",
\r
1124 "type": "failure",
\r
1125 "name": "failure",
\r
1126 "xml": "<outcome value='failure'>\n",
\r
1129 "x": 795.0078887939453,
\r
1130 "y": 1428.7540349960327,
\r
1131 "z": "a60b8cc5.55e8f",
\r
1139 "id": "f5bbd137.51f5f",
\r
1141 "name": "set ipAddress prefixLength",
\r
1142 "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
\r
1144 "x": 992.0079040527344,
\r
1145 "y": 1385.7540311813354,
\r
1146 "z": "a60b8cc5.55e8f",
\r
1150 "id": "b8b52f84.e55ad",
\r
1151 "type": "returnFailure",
\r
1152 "name": "return failure",
\r
1153 "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
1155 "x": 950.0078964233398,
\r
1156 "y": 1425.7540340423584,
\r
1157 "z": "a60b8cc5.55e8f",
\r
1161 "id": "9835abaa.deb1b8",
\r
1162 "type": "comment",
\r
1163 "name": "Create wan port",
\r
1166 "x": 567.0177421569824,
\r
1167 "y": 1362.7640895843506,
\r
1168 "z": "a60b8cc5.55e8f",
\r
1172 "id": "707a08a2.84bfc8",
\r
1173 "type": "comment",
\r
1174 "name": "TODO: split ip/mask",
\r
1177 "x": 991.0175361633301,
\r
1178 "y": 1347.9343032836914,
\r
1179 "z": "a60b8cc5.55e8f",
\r
1183 "id": "58693560.f55b6c",
\r
1184 "type": "execute",
\r
1185 "name": "execute RestApiCallNode IPSubnets create",
\r
1186 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdlan-ip-subnets.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/ip-subnets'`\" />\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
1189 "x": 652.7792358398438,
\r
1190 "y": 1485.8749294281006,
\r
1191 "z": "a60b8cc5.55e8f",
\r
1194 "e01d8566.26a208",
\r
1200 "id": "b77c647.be67698",
\r
1201 "type": "failure",
\r
1202 "name": "failure",
\r
1203 "xml": "<outcome value='failure'>\n",
\r
1206 "x": 921.7792663574219,
\r
1207 "y": 1472.8749017715454,
\r
1208 "z": "a60b8cc5.55e8f",
\r
1216 "id": "e01d8566.26a208",
\r
1217 "type": "success",
\r
1218 "name": "success",
\r
1219 "xml": "<outcome value='success'>\n",
\r
1222 "x": 918.779239654541,
\r
1223 "y": 1507.8751201629639,
\r
1224 "z": "a60b8cc5.55e8f",
\r
1232 "id": "7b6fdd20.906734",
\r
1233 "type": "returnFailure",
\r
1234 "name": "return failure",
\r
1235 "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
1237 "x": 1074.7796478271484,
\r
1238 "y": 1468.8751277923584,
\r
1239 "z": "a60b8cc5.55e8f",
\r
1243 "id": "a2642272.8a0b",
\r
1245 "name": "block : atomic",
\r
1246 "xml": "<block atomic=\"true\">",
\r
1250 "x": 1065.7792205810547,
\r
1251 "y": 1508.8748760223389,
\r
1252 "z": "a60b8cc5.55e8f",
\r
1260 "id": "e06f7472.e95f98",
\r
1262 "name": "set prop.lan.lanPortId",
\r
1263 "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",
\r
1265 "x": 1272.6683235168457,
\r
1266 "y": 1511.208342552185,
\r
1267 "z": "a60b8cc5.55e8f",
\r
1271 "id": "3c1e06fc.eec57a",
\r
1272 "type": "execute",
\r
1273 "name": "execute RestApiCallNode create vpn topology",
\r
1274 "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
1277 "x": 669.2896881103516,
\r
1278 "y": 1665.3338165283203,
\r
1279 "z": "a60b8cc5.55e8f",
\r
1282 "5e387a3e.4fd8a4",
\r
1288 "id": "e4302470.9e4168",
\r
1289 "type": "success",
\r
1290 "name": "success",
\r
1291 "xml": "<outcome value='success'>\n",
\r
1294 "x": 917.289571762085,
\r
1295 "y": 1691.333193898201,
\r
1296 "z": "a60b8cc5.55e8f",
\r
1304 "id": "1a5d2b85.cc6d14",
\r
1306 "name": "block : atomic",
\r
1307 "xml": "<block atomic=\"true\">",
\r
1311 "x": 1087.2895107269287,
\r
1312 "y": 1694.333193898201,
\r
1313 "z": "a60b8cc5.55e8f",
\r
1319 "id": "5ab2794a.636098",
\r
1320 "type": "returnFailure",
\r
1321 "name": "return failure",
\r
1322 "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
1324 "x": 1087.2896327972412,
\r
1325 "y": 1650.333193898201,
\r
1326 "z": "a60b8cc5.55e8f",
\r
1330 "id": "5e387a3e.4fd8a4",
\r
1331 "type": "failure",
\r
1332 "name": "failure",
\r
1333 "xml": "<outcome value='failure'>\n",
\r
1336 "x": 920.2895107269287,
\r
1337 "y": 1650.333193898201,
\r
1338 "z": "a60b8cc5.55e8f",
\r
1346 "id": "69c506db.344ae8",
\r
1347 "type": "execute",
\r
1348 "name": "execute RestApiCallNode create vpn ",
\r
1349 "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
1352 "x": 640.288013458252,
\r
1353 "y": 1575.8328762054443,
\r
1354 "z": "a60b8cc5.55e8f",
\r
1357 "e0d8f775.adb548",
\r
1363 "id": "1307c84a.e256c8",
\r
1364 "type": "success",
\r
1365 "name": "success",
\r
1366 "xml": "<outcome value='success'>\n",
\r
1369 "x": 861.2879161834717,
\r
1370 "y": 1597.8328419923782,
\r
1371 "z": "a60b8cc5.55e8f",
\r
1379 "id": "845c9ffd.b87b7",
\r
1381 "name": "block : atomic",
\r
1382 "xml": "<block atomic=\"true\">",
\r
1386 "x": 1031.2878551483154,
\r
1387 "y": 1600.8328419923782,
\r
1388 "z": "a60b8cc5.55e8f",
\r
1394 "id": "de430292.51fa5",
\r
1395 "type": "returnFailure",
\r
1396 "name": "return failure",
\r
1397 "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
1399 "x": 1031.287977218628,
\r
1400 "y": 1556.8328419923782,
\r
1401 "z": "a60b8cc5.55e8f",
\r
1405 "id": "e0d8f775.adb548",
\r
1406 "type": "failure",
\r
1407 "name": "failure",
\r
1408 "xml": "<outcome value='failure'>\n",
\r
1411 "x": 864.2878551483154,
\r
1412 "y": 1556.8328419923782,
\r
1413 "z": "a60b8cc5.55e8f",
\r
1421 "id": "8b10096b.8cb7e8",
\r
1422 "type": "switchNode",
\r
1423 "name": "switch ActivateSDWANVpnInstance",
\r
1424 "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
1427 "x": 1227.2898406982422,
\r
1428 "y": 862.3332567214966,
\r
1429 "z": "a60b8cc5.55e8f",
\r
1437 "id": "7ba15821.578698",
\r
1440 "xml": "<block>\n",
\r
1441 "atomic": "false",
\r
1444 "x": 984.6229438781738,
\r
1445 "y": 791.3333368301392,
\r
1446 "z": "a60b8cc5.55e8f",
\r
1455 "id": "43a6f166.ec09e",
\r
1456 "type": "outcomeTrue",
\r
1458 "xml": "<outcome value='true'>\n",
\r
1461 "x": 1322.9563522338867,
\r
1462 "y": 936.3333377838135,
\r
1463 "z": "a60b8cc5.55e8f",
\r
1471 "id": "f4ccb599.a134d8",
\r
1473 "name": "for vf-modules.vf-module_length",
\r
1474 "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
1477 "x": 1537.2062377929688,
\r
1478 "y": 937.8333144187927,
\r
1479 "z": "a60b8cc5.55e8f",
\r
1487 "id": "f6720c82.39b5d",
\r
1488 "type": "switchNode",
\r
1489 "name": "switch vpn-id",
\r
1490 "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
1493 "x": 1784.2062759399414,
\r
1494 "y": 932.8333973884583,
\r
1495 "z": "a60b8cc5.55e8f",
\r
1503 "id": "460bb48a.240e2c",
\r
1504 "type": "outcomeTrue",
\r
1506 "xml": "<outcome value='true'>\n",
\r
1509 "x": 1934.9562301635742,
\r
1510 "y": 934.3333129882812,
\r
1511 "z": "a60b8cc5.55e8f",
\r
1519 "id": "ac3fc038.e0007",
\r
1521 "name": "set prop.vpn1Id",
\r
1522 "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
1524 "x": 2108.9569778442383,
\r
1525 "y": 934.3333714008331,
\r
1526 "z": "a60b8cc5.55e8f",
\r
1530 "id": "43b17553.c7382c",
\r
1532 "name": "Add sites to list and update length",
\r
1533 "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
1535 "x": 2539.290351867676,
\r
1536 "y": 840.3333714008331,
\r
1537 "z": "a60b8cc5.55e8f",
\r
1541 "id": "36d57da.c3bd682",
\r
1543 "name": "Add site attachement to list and update length",
\r
1544 "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
1546 "x": 2570.2902450561523,
\r
1547 "y": 883.3333377838135,
\r
1548 "z": "a60b8cc5.55e8f",
\r
1552 "id": "16a0b0ad.e2c3df",
\r
1554 "name": "set prop.siteAttachement_length=0",
\r
1555 "xml": "<set>\n<parameter name='prop.siteAttachements_length' value='0' />\n<parameter name='prop.siteIds_length' value='0' />\n\n\n\n",
\r
1557 "x": 656.2896194458008,
\r
1558 "y": 588.333330154419,
\r
1559 "z": "a60b8cc5.55e8f",
\r
1563 "id": "8eb63937.68f308",
\r
1565 "name": "block atomic",
\r
1566 "xml": "<block atomic=\"true\">\n",
\r
1567 "atomic": "false",
\r
1570 "x": 1769.623275756836,
\r
1571 "y": 816.3333358764648,
\r
1572 "z": "a60b8cc5.55e8f",
\r
1576 "fe16c8cc.020428",
\r
1582 "id": "fe16c8cc.020428",
\r
1583 "type": "switchNode",
\r
1584 "name": "switch role",
\r
1585 "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
1588 "x": 1931.9562072753906,
\r
1589 "y": 747.3333349227905,
\r
1590 "z": "a60b8cc5.55e8f",
\r
1598 "id": "7b19ac17.f7b154",
\r
1599 "type": "outcomeTrue",
\r
1601 "xml": "<outcome value='true'>\n",
\r
1604 "x": 2094.956211090088,
\r
1605 "y": 742.3333358764648,
\r
1606 "z": "a60b8cc5.55e8f",
\r
1614 "id": "5fca6bb6.2ad174",
\r
1616 "name": "block : atomic",
\r
1617 "xml": "<block atomic=\"true\">",
\r
1620 "x": 2262.956253051758,
\r
1621 "y": 736.3333339691162,
\r
1622 "z": "a60b8cc5.55e8f",
\r
1626 "d71b47e7.ba0928",
\r
1632 "id": "d71b47e7.ba0928",
\r
1633 "type": "switchNode",
\r
1634 "name": "switch sd-wan-edge",
\r
1635 "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
1638 "x": 2457.956382751465,
\r
1639 "y": 697.3333253860474,
\r
1640 "z": "a60b8cc5.55e8f",
\r
1648 "id": "fa5fdce5.2309f",
\r
1649 "type": "switchNode",
\r
1650 "name": "switch dsvpn-hub",
\r
1651 "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
1654 "x": 2454.9564895629883,
\r
1655 "y": 752.333340883255,
\r
1656 "z": "a60b8cc5.55e8f",
\r
1664 "id": "8f17f745.17ddb8",
\r
1666 "name": "set spoke role",
\r
1667 "xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",
\r
1669 "x": 2787.9565048217773,
\r
1670 "y": 691.3333711624146,
\r
1671 "z": "a60b8cc5.55e8f",
\r
1675 "id": "44a0a864.8cd1d8",
\r
1677 "name": "set hub role",
\r
1678 "xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",
\r
1680 "x": 2786.9562644958496,
\r
1681 "y": 746.3333549499512,
\r
1682 "z": "a60b8cc5.55e8f",
\r
1686 "id": "4c9e170f.05bda8",
\r
1687 "type": "outcomeTrue",
\r
1689 "xml": "<outcome value='true'>\n",
\r
1692 "x": 2627.9563522338867,
\r
1694 "z": "a60b8cc5.55e8f",
\r
1702 "id": "a41f3558.9efd38",
\r
1703 "type": "outcomeTrue",
\r
1705 "xml": "<outcome value='true'>\n",
\r
1708 "x": 2631.9563522338867,
\r
1710 "z": "a60b8cc5.55e8f",
\r
1718 "id": "b87c5ca2.4198d",
\r
1720 "name": "update SDWAN VPN status to AAI",
\r
1721 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='lan-port-config' \n key='lan-port-config.lan-port-config-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='lan-port-config-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<!--parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' /-->\n",
\r
1724 "x": 640.3208885192871,
\r
1725 "y": 2012.031280040741,
\r
1726 "z": "a60b8cc5.55e8f",
\r
1732 "id": "b4355150.f8381",
\r
1734 "name": "set vf-module-level-oper-status",
\r
1735 "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='Active' />\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
1737 "x": 634.9559097290039,
\r
1738 "y": 1957.126205444336,
\r
1739 "z": "a60b8cc5.55e8f",
\r
1743 "id": "ea89a3cd.96c6c",
\r
1745 "name": "set vf-module-id and vf-module-object-path",
\r
1746 "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
1748 "x": 670.9559097290039,
\r
1749 "y": 1910.6261444091797,
\r
1750 "z": "a60b8cc5.55e8f",
\r
1754 "id": "e352097b.fa56f8",
\r
1756 "name": "copy input data in service-data",
\r
1757 "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
1759 "x": 634.9558601379395,
\r
1760 "y": 1858.876064300537,
\r
1761 "z": "a60b8cc5.55e8f",
\r
1765 "id": "9f914b2c.f63948",
\r
1767 "name": "set device PortId to service data",
\r
1768 "xml": "<set>\n<parameter name='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[$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].name' value='devicePortId' />\n<parameter name='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[$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].value' value='`$prop.lan.devicePortId`' />\n",
\r
1770 "x": 641.3209266662598,
\r
1771 "y": 1752.0314636230469,
\r
1772 "z": "a60b8cc5.55e8f",
\r
1776 "id": "23f60fe.f5fa6f",
\r
1778 "name": "set lan PortId to service data",
\r
1779 "xml": "<set>\n<parameter name='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[$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].name' value='lanPortId' />\n<parameter name='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[$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].value' value='`$prop.lan.lanPortId`' />\n",
\r
1781 "x": 627.3208503723145,
\r
1782 "y": 1806.0312767028809,
\r
1783 "z": "a60b8cc5.55e8f",
\r
1787 "id": "1a9cf10f.4a8b1f",
\r
1790 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic21.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"prop.attach.siteId\"/>\n<parameter name=\"field3\" value='`$prop.attach.siteId`'/>\n",
\r
1793 "x": 2464.3209915161133,
\r
1794 "y": 928.5312805175781,
\r
1795 "z": "a60b8cc5.55e8f",
\r
1801 "id": "368fa25d.21f04e",
\r
1804 "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic22.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"set spoke role\"/>\n",
\r
1807 "x": 2433.321002960205,
\r
1808 "y": 659.531247138977,
\r
1809 "z": "a60b8cc5.55e8f",
\r
1815 "id": "9d46cf63.0dcd9",
\r
1818 "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
1821 "x": 1927.3208541870117,
\r
1823 "z": "a60b8cc5.55e8f",
\r
1829 "id": "62b5eb93.96f0e4",
\r
1830 "type": "comment",
\r
1831 "name": "**revert the changes",
\r
1834 "x": 1328.3208808898926,
\r
1835 "y": 697.0312824249268,
\r
1836 "z": "a60b8cc5.55e8f",
\r
1840 "id": "4995fb6d.83aaf4",
\r
1841 "type": "switchNode",
\r
1842 "name": "switch vf-modules.vf-module_length",
\r
1843 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length >= '0'`\">\n\n<!--switch test=\"`$service-data.vnfs.vnf[$i].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\"-->\n",
\r
1846 "x": 871.5038909912109,
\r
1847 "y": 511.25390625,
\r
1848 "z": "a60b8cc5.55e8f",
\r
1856 "id": "208d9618.3a993a",
\r
1857 "type": "outcomeTrue",
\r
1859 "xml": "<outcome value='true'>\n",
\r
1862 "x": 977.50390625,
\r
1863 "y": 562.25390625,
\r
1864 "z": "a60b8cc5.55e8f",
\r
1872 "id": "8fd527ce.0b2738",
\r
1874 "name": "block : atomic",
\r
1875 "xml": "<block atomic=\"true\">",
\r
1878 "x": 671.7539138793945,
\r
1879 "y": 472.0039048194885,
\r
1880 "z": "a60b8cc5.55e8f",
\r
1888 "id": "fd503aa4.1469a8",
\r
1890 "name": "block : atomic",
\r
1891 "xml": "<block atomic=\"true\">",
\r
1894 "x": 1129.753890991211,
\r
1895 "y": 559.0039281845093,
\r
1896 "z": "a60b8cc5.55e8f",
\r
1904 "id": "258487d9.bf18e8",
\r
1906 "name": "block : atomic",
\r
1907 "xml": "<block atomic=\"true\">",
\r
1910 "x": 1873.5039710998535,
\r
1911 "y": 557.0039119720459,
\r
1912 "z": "a60b8cc5.55e8f",
\r
1920 "id": "63f09f8.86bc26",
\r
1921 "type": "success",
\r
1922 "name": "success",
\r
1923 "xml": "<outcome value='success'>\n",
\r
1926 "x": 878.2539176940918,
\r
1927 "y": 910.7539704740047,
\r
1928 "z": "a60b8cc5.55e8f",
\r
1936 "id": "b3737121.de6a3",
\r
1937 "type": "not-found",
\r
1938 "name": "not-found",
\r
1939 "xml": "<outcome value='not-found'>\n",
\r
1942 "x": 881.7448844909668,
\r
1943 "y": 958.328006118536,
\r
1944 "z": "a60b8cc5.55e8f",
\r
1952 "id": "b40d4802.cec768",
\r
1955 "xml": "<outcome value='Other'>\n",
\r
1958 "x": 877.0778923034668,
\r
1959 "y": 999.6613191068172,
\r
1960 "z": "a60b8cc5.55e8f",
\r
1968 "id": "b8053b7f.3dfe58",
\r
1969 "type": "returnFailure",
\r
1970 "name": "return failure",
\r
1971 "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
1973 "x": 1058.3162956237793,
\r
1974 "y": 946.6137422025204,
\r
1975 "z": "a60b8cc5.55e8f",
\r
1979 "id": "11f26c3c.e24064",
\r
1980 "type": "returnFailure",
\r
1981 "name": "return failure",
\r
1982 "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
1984 "x": 1064.8504486083984,
\r
1985 "y": 995.1005118787289,
\r
1986 "z": "a60b8cc5.55e8f",
\r
1990 "id": "b9f93820.627df8",
\r
1991 "type": "success",
\r
1992 "name": "success",
\r
1993 "xml": "<outcome value='success'>\n",
\r
1996 "x": 880.2539901733398,
\r
1997 "y": 1053.7540006637573,
\r
1998 "z": "a60b8cc5.55e8f",
\r
2006 "id": "4b6f89c7.7da458",
\r
2007 "type": "failure",
\r
2008 "name": "failure",
\r
2009 "xml": "<outcome value='failure'>\n",
\r
2012 "x": 872.5039901733398,
\r
2013 "y": 1107.3968839645386,
\r
2014 "z": "a60b8cc5.55e8f",
\r
2022 "id": "ea0a2431.4fcee8",
\r
2024 "name": "set token-id",
\r
2025 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
2027 "x": 1030.2539176940918,
\r
2028 "y": 1054.7539691925049,
\r
2029 "z": "a60b8cc5.55e8f",
\r
2033 "id": "10698363.0892ad",
\r
2034 "type": "returnFailure",
\r
2035 "name": "return failure",
\r
2036 "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
2038 "x": 1025.2539901733398,
\r
2039 "y": 1107.1469449996948,
\r
2040 "z": "a60b8cc5.55e8f",
\r
2044 "id": "6c04212d.63f27",
\r
2046 "name": "set controller data",
\r
2047 "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
2049 "x": 1073.7539978027344,
\r
2050 "y": 905.7539749145508,
\r
2051 "z": "a60b8cc5.55e8f",
\r
2055 "id": "97edc5d7.68c598",
\r
2056 "type": "execute",
\r
2057 "name": "execute RestApiCallNode Get token",
\r
2058 "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
2061 "x": 631.2539672851562,
\r
2062 "y": 1076.754077911377,
\r
2063 "z": "a60b8cc5.55e8f",
\r
2066 "b9f93820.627df8",
\r
2072 "id": "13f149d1.1db0a6",
\r
2073 "type": "get-resource",
\r
2074 "name": "get-resource esr-thirdparty-sdnc",
\r
2075 "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
2078 "x": 616.254035949707,
\r
2079 "y": 957.7539901733398,
\r
2080 "z": "a60b8cc5.55e8f",
\r
2090 "id": "deaed14.de5b43",
\r
2091 "type": "execute",
\r
2092 "name": "execute Properties",
\r
2093 "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
2096 "x": 631.00390625,
\r
2097 "y": 291.50390625,
\r
2098 "z": "a60b8cc5.55e8f",
\r