3 "id": "cea6a9f1.279478",
\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
9 "x": 570.7143020629883,
\r
10 "y": 337.99999046325684,
\r
11 "z": "2f0cf160.dc107e",
\r
21 "id": "1833f3f4.1b830c",
\r
25 "x": 107.71429824829102,
\r
27 "z": "2f0cf160.dc107e",
\r
35 "id": "181dc2fc.e539bd",
\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
44 "y": 92.23810958862305,
\r
45 "z": "2f0cf160.dc107e",
\r
53 "id": "25791551.06845a",
\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": 188.71429443359375,
\r
60 "y": 186.58634185791016,
\r
61 "z": "2f0cf160.dc107e",
\r
69 "id": "419d7afa.b1ca54",
\r
71 "name": "block : atomic",
\r
72 "xml": "<block atomic=\"true\">",
\r
75 "x": 189.38096618652344,
\r
76 "y": 442.666708946228,
\r
77 "z": "2f0cf160.dc107e",
\r
107 "id": "f62e0d25.9e73c",
\r
109 "name": "for each vnf",
\r
110 "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
113 "x": 520.7456588745117,
\r
114 "y": 266.2691411972046,
\r
115 "z": "2f0cf160.dc107e",
\r
123 "id": "f5110085.4f487",
\r
124 "type": "switchNode",
\r
125 "name": "switch vnf_length",
\r
126 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
129 "x": 525.7143135070801,
\r
130 "y": 205.00001049041748,
\r
131 "z": "2f0cf160.dc107e",
\r
139 "id": "61a8d0c5.ce10b",
\r
142 "xml": "<outcome value=''>\n",
\r
145 "x": 705.7142944335938,
\r
147 "z": "2f0cf160.dc107e",
\r
155 "id": "3e167156.21c02e",
\r
156 "type": "returnFailure",
\r
157 "name": "return failure",
\r
158 "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
160 "x": 855.1430206298828,
\r
161 "y": 205.14291763305664,
\r
162 "z": "2f0cf160.dc107e",
\r
166 "id": "b7bf67d0.4c13b8",
\r
167 "type": "switchNode",
\r
168 "name": "switch this vnf-id == input vnf-id",
\r
169 "xml": "<switch test=\"`$service-data.vnfs.vnf[$idx].vnf-id == $vf-module-topology-operation-input.vnf-information.vnf-id`\"> \n",
\r
172 "x": 743.7143096923828,
\r
173 "y": 267.00000619888306,
\r
174 "z": "2f0cf160.dc107e",
\r
182 "id": "29696342.56f90c",
\r
183 "type": "outcomeTrue",
\r
185 "xml": "<outcome value='true'>\n",
\r
188 "x": 958.7142944335938,
\r
190 "z": "2f0cf160.dc107e",
\r
198 "id": "1ba7830b.c7ea6d",
\r
200 "name": "set vnf-index",
\r
201 "xml": "<set>\n<parameter name='vnf-index' value='`$idx`' />\n",
\r
203 "x": 1122.7142944335938,
\r
205 "z": "2f0cf160.dc107e",
\r
209 "id": "2a09fa32.63fc36",
\r
212 "xml": "<outcome value=''>\n",
\r
215 "x": 792.7142944335938,
\r
217 "z": "2f0cf160.dc107e",
\r
225 "id": "4a89ecf7.049034",
\r
228 "xml": "<outcome value='0'>\n",
\r
231 "x": 797.7142906188965,
\r
232 "y": 318.9999990463257,
\r
233 "z": "2f0cf160.dc107e",
\r
241 "id": "4ead305d.0b806",
\r
242 "type": "returnFailure",
\r
243 "name": "return failure",
\r
244 "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
246 "x": 955.7142944335938,
\r
248 "z": "2f0cf160.dc107e",
\r
252 "id": "c2f1098d.e8bd38",
\r
255 "xml": "<outcome value='Other'>\n",
\r
258 "x": 792.7142944335938,
\r
260 "z": "2f0cf160.dc107e",
\r
268 "id": "ead36ccd.33529",
\r
270 "name": "set vf-module_length",
\r
271 "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
273 "x": 1146.7143096923828,
\r
274 "y": 431.0000139474869,
\r
275 "z": "2f0cf160.dc107e",
\r
279 "id": "2458c219.d10e1e",
\r
281 "name": "block : atomic",
\r
282 "xml": "<block atomic=\"true\">",
\r
285 "x": 953.7143402099609,
\r
286 "y": 429.99999141693115,
\r
287 "z": "2f0cf160.dc107e",
\r
296 "id": "386f97ee.904d48",
\r
298 "name": "for each existing vf-index",
\r
299 "xml": "<for index='idx' start='0' end='`$vf-module-length`' >\n",
\r
302 "x": 1165.7142791748047,
\r
303 "y": 483.99999046325684,
\r
304 "z": "2f0cf160.dc107e",
\r
312 "id": "593c39.dc7673c8",
\r
313 "type": "switchNode",
\r
314 "name": "switch vf-module-id found",
\r
315 "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
318 "x": 1408.7142944335938,
\r
320 "z": "2f0cf160.dc107e",
\r
328 "id": "1efda74.b0eb959",
\r
329 "type": "outcomeTrue",
\r
331 "xml": "<outcome value='true'>\n",
\r
334 "x": 1606.7143230438232,
\r
335 "y": 466.0000066757202,
\r
336 "z": "2f0cf160.dc107e",
\r
344 "id": "d0b5f3a2.35747",
\r
346 "name": "block : atomic",
\r
347 "xml": "<block atomic=\"true\">",
\r
350 "x": 1758.7142944335938,
\r
352 "z": "2f0cf160.dc107e",
\r
362 "id": "1fc6559e.18634a",
\r
364 "name": "set tmp.vidx and ctx.vnf-data",
\r
365 "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
367 "x": 1986.7144088745117,
\r
368 "y": 410.00000381469727,
\r
369 "z": "2f0cf160.dc107e",
\r
373 "id": "802dea9f.3c2848",
\r
375 "name": "set vf-module-request-input.",
\r
376 "xml": "<set>\n<parameter name='vf-module-request-input.' value='`$ctx.vf-module-data.vf-module-request-input.`' />\n\n",
\r
378 "x": 1990.7144088745117,
\r
379 "y": 464.00000381469727,
\r
380 "z": "2f0cf160.dc107e",
\r
384 "id": "76df47d2.f28eb8",
\r
385 "type": "returnSuccess",
\r
386 "name": "return success",
\r
387 "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
389 "x": 504.714412689209,
\r
390 "y": 2079.501151561737,
\r
391 "z": "2f0cf160.dc107e",
\r
395 "id": "9329a8cc.23d418",
\r
397 "name": "call sdwan-get-vf-module-lanport-param",
\r
398 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-vf-module-lanport-param' mode='sync' >\n",
\r
401 "x": 2021.16943359375,
\r
402 "y": 515.0104961395264,
\r
403 "z": "2f0cf160.dc107e",
\r
409 "id": "b2d390ae.97474",
\r
411 "name": "for vf-modules.vf-module_length",
\r
412 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
415 "x": 827.9683685302734,
\r
416 "y": 520.0040225982666,
\r
417 "z": "2f0cf160.dc107e",
\r
425 "id": "3f6c843d.edec8c",
\r
426 "type": "switchNode",
\r
427 "name": "switch this deviceName == vf-input",
\r
428 "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
431 "x": 1100.9686126708984,
\r
432 "y": 606.0041282176971,
\r
433 "z": "2f0cf160.dc107e",
\r
441 "id": "7dff73e1.0243cc",
\r
443 "name": "for vf-module-input-param length",
\r
444 "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
447 "x": 1125.9682846069336,
\r
448 "y": 523.0040645599365,
\r
449 "z": "2f0cf160.dc107e",
\r
457 "id": "cb455713.e1bdd8",
\r
458 "type": "outcomeTrue",
\r
460 "xml": "<outcome value='true'>\n",
\r
463 "x": 1314.9684257507324,
\r
464 "y": 603.0041129589081,
\r
465 "z": "2f0cf160.dc107e",
\r
473 "id": "8c1ad275.b541",
\r
475 "name": "for vf-modules.vf-module_length",
\r
476 "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
479 "x": 1528.9684677124023,
\r
480 "y": 599.0040664672852,
\r
481 "z": "2f0cf160.dc107e",
\r
489 "id": "6aaf6a5c.76e9f4",
\r
490 "type": "switchNode",
\r
491 "name": "switch deviceId == input vf-id",
\r
492 "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
495 "x": 1843.9685440063477,
\r
496 "y": 598.0040471553802,
\r
497 "z": "2f0cf160.dc107e",
\r
505 "id": "85841cc6.de2b3",
\r
506 "type": "outcomeTrue",
\r
508 "xml": "<outcome value='true'>\n",
\r
511 "x": 2045.9686737060547,
\r
512 "y": 596.0040481090546,
\r
513 "z": "2f0cf160.dc107e",
\r
521 "id": "1722d3f0.fc82dc",
\r
523 "name": "set prop.lan.deviceId",
\r
524 "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
526 "x": 2220.9685668945312,
\r
527 "y": 596.004228591919,
\r
528 "z": "2f0cf160.dc107e",
\r
532 "id": "3a550152.acb95e",
\r
534 "name": "for service-data.vnfs.vnf_length",
\r
535 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
538 "x": 573.9682159423828,
\r
539 "y": 455.00401973724365,
\r
540 "z": "2f0cf160.dc107e",
\r
548 "id": "566234f6.d57f8c",
\r
549 "type": "switchNode",
\r
550 "name": "switch ActivateSDWANSiteInstance",
\r
551 "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
554 "x": 1168.7185821533203,
\r
555 "y": 727.0039882659912,
\r
556 "z": "2f0cf160.dc107e",
\r
564 "id": "4a6e0872.754c78",
\r
566 "name": "for vf-modules.vf-module_length",
\r
567 "xml": "<for index='vfidx' start='0' end='`$service-data.vnfs.vnf[$vnfidx].vnf-data.vf-modules.vf-module_length`' >\n",
\r
570 "x": 814.7184219360352,
\r
571 "y": 694.0040283203125,
\r
572 "z": "2f0cf160.dc107e",
\r
580 "id": "83adcbda.9cab18",
\r
582 "name": "for service-data.vnfs.vnf_length",
\r
583 "xml": "<for index='vnfidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
586 "x": 565.7182769775391,
\r
587 "y": 625.0039081573486,
\r
588 "z": "2f0cf160.dc107e",
\r
596 "id": "d08758a.8a9d4a8",
\r
597 "type": "outcomeTrue",
\r
599 "xml": "<outcome value='true'>\n",
\r
602 "x": 1390.7184982299805,
\r
603 "y": 727.0040698051453,
\r
604 "z": "2f0cf160.dc107e",
\r
612 "id": "5c9349a5.10cdf8",
\r
614 "name": "for vf-modules.vf-module_length",
\r
615 "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
618 "x": 1471.968505859375,
\r
619 "y": 801.5040712356567,
\r
620 "z": "2f0cf160.dc107e",
\r
628 "id": "78502254.1e1d1c",
\r
629 "type": "switchNode",
\r
630 "name": "switch siteId",
\r
631 "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
634 "x": 1854.968864440918,
\r
635 "y": 808.5041785240173,
\r
636 "z": "2f0cf160.dc107e",
\r
644 "id": "cef8d9d4.a847d8",
\r
645 "type": "outcomeTrue",
\r
647 "xml": "<outcome value='true'>\n",
\r
650 "x": 2031.9688835144043,
\r
651 "y": 811.5040187835693,
\r
652 "z": "2f0cf160.dc107e",
\r
660 "id": "26765522.97752a",
\r
662 "name": "set prop.attach.siteId",
\r
663 "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
665 "x": 2415.9693908691406,
\r
666 "y": 785.5040702819824,
\r
667 "z": "2f0cf160.dc107e",
\r
671 "id": "57774070.165c4",
\r
673 "name": "block : atomic",
\r
674 "xml": "<block atomic=\"true\">",
\r
677 "x": 2191.2190742492676,
\r
678 "y": 807.0040588378906,
\r
679 "z": "2f0cf160.dc107e",
\r
690 "id": "41a8aff.133475",
\r
691 "type": "get-resource",
\r
692 "name": "get-resource esr-thirdparty-sdnc",
\r
693 "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
696 "x": 526.7182235717773,
\r
697 "y": 944.5039968490601,
\r
698 "z": "2f0cf160.dc107e",
\r
708 "id": "9e1e759b.490ef8",
\r
711 "xml": "<outcome value='success'>\n",
\r
714 "x": 770.7182846069336,
\r
715 "y": 908.5039968490601,
\r
716 "z": "2f0cf160.dc107e",
\r
724 "id": "587c1d85.98e364",
\r
725 "type": "not-found",
\r
726 "name": "not-found",
\r
727 "xml": "<outcome value='not-found'>\n",
\r
730 "x": 773.2091674804688,
\r
731 "y": 944.0780334472656,
\r
732 "z": "2f0cf160.dc107e",
\r
740 "id": "1fecffb3.fdfc1",
\r
743 "xml": "<outcome value='Other'>\n",
\r
746 "x": 768.5421752929688,
\r
747 "y": 980.4113922119141,
\r
748 "z": "2f0cf160.dc107e",
\r
756 "id": "e9937b5c.1de1c8",
\r
757 "type": "returnFailure",
\r
758 "name": "return failure",
\r
759 "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
761 "x": 922.3146667480469,
\r
762 "y": 977.8504791259766,
\r
763 "z": "2f0cf160.dc107e",
\r
767 "id": "f1f9240f.1bbe98",
\r
768 "type": "returnFailure",
\r
769 "name": "return failure",
\r
770 "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
772 "x": 918.7805633544922,
\r
773 "y": 942.3637208938599,
\r
774 "z": "2f0cf160.dc107e",
\r
778 "id": "1eeec00d.ea37e",
\r
780 "name": "set controller data",
\r
781 "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
783 "x": 931.2183952331543,
\r
784 "y": 906.5039367675781,
\r
785 "z": "2f0cf160.dc107e",
\r
789 "id": "bf4ca0a0.f719b",
\r
791 "name": "execute RestApiCallNode Get token",
\r
792 "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
795 "x": 540.6564559936523,
\r
796 "y": 1047.62509059906,
\r
797 "z": "2f0cf160.dc107e",
\r
806 "id": "d05110e4.15f05",
\r
809 "xml": "<outcome value='success'>\n",
\r
812 "x": 775.6565818786621,
\r
813 "y": 1033.6250791549683,
\r
814 "z": "2f0cf160.dc107e",
\r
822 "id": "623a881a.ebe538",
\r
825 "xml": "<outcome value='failure'>\n",
\r
828 "x": 774.9065818786621,
\r
829 "y": 1069.2679862976074,
\r
830 "z": "2f0cf160.dc107e",
\r
838 "id": "e8c30ab5.68d3b8",
\r
839 "type": "returnFailure",
\r
840 "name": "return failure",
\r
841 "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
843 "x": 923.6565895080566,
\r
844 "y": 1070.0180683135986,
\r
845 "z": "2f0cf160.dc107e",
\r
849 "id": "adf2584e.694ce8",
\r
851 "name": "set token-id",
\r
852 "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
\r
854 "x": 917.6565895080566,
\r
855 "y": 1032.6250801086426,
\r
856 "z": "2f0cf160.dc107e",
\r
860 "id": "96f47da7.f3275",
\r
862 "name": "execute RestApiCallNode device port create",
\r
863 "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
866 "x": 566.7455520629883,
\r
867 "y": 1199.0782289505005,
\r
868 "z": "2f0cf160.dc107e",
\r
877 "id": "50af67d.1491698",
\r
880 "xml": "<outcome value='success'>\n",
\r
883 "x": 815.7456111907959,
\r
884 "y": 1213.0784349441528,
\r
885 "z": "2f0cf160.dc107e",
\r
893 "id": "bef4965a.55b458",
\r
896 "xml": "<outcome value='failure'>\n",
\r
899 "x": 815.7456111907959,
\r
900 "y": 1175.0782704353333,
\r
901 "z": "2f0cf160.dc107e",
\r
909 "id": "d695c8db.015488",
\r
910 "type": "returnFailure",
\r
911 "name": "return failure",
\r
912 "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
914 "x": 959.7459449768066,
\r
915 "y": 1174.078269958496,
\r
916 "z": "2f0cf160.dc107e",
\r
920 "id": "b4a513b9.d44d6",
\r
922 "name": "block : atomic",
\r
923 "xml": "<block atomic=\"true\">",
\r
927 "x": 962.7456226348877,
\r
928 "y": 1214.0782737731934,
\r
929 "z": "2f0cf160.dc107e",
\r
935 "id": "bad651b2.12a17",
\r
937 "name": "set prop.lan.devicePortId",
\r
938 "xml": "<set>\n<parameter name='prop.lan.devicePortId' value='`$portResp.success[0].id`' />\n",
\r
940 "x": 509.4028129577637,
\r
941 "y": 1252.1794338226318,
\r
942 "z": "2f0cf160.dc107e",
\r
946 "id": "1d5fca27.3bbea6",
\r
948 "name": "Create port",
\r
951 "x": 468.41149139404297,
\r
952 "y": 1165.522253036499,
\r
953 "z": "2f0cf160.dc107e",
\r
957 "id": "14cdbea6.6ff3c1",
\r
959 "name": "call sdwan-get-tenant-auth",
\r
960 "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
\r
963 "x": 515.411491394043,
\r
964 "y": 1114.1886892318726,
\r
965 "z": "2f0cf160.dc107e",
\r
971 "id": "f52cabac.abeb68",
\r
973 "name": "execute RestApiCallNode bridge domain create",
\r
974 "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
977 "x": 989.3958015441895,
\r
978 "y": 1294.188857793808,
\r
979 "z": "2f0cf160.dc107e",
\r
988 "id": "441eed4c.baf224",
\r
991 "xml": "<outcome value='success'>\n",
\r
994 "x": 1310.3958282470703,
\r
995 "y": 1311.1891782283783,
\r
996 "z": "2f0cf160.dc107e",
\r
1004 "id": "fa3f1c96.1fc6d",
\r
1005 "type": "failure",
\r
1006 "name": "failure",
\r
1007 "xml": "<outcome value='failure'>\n",
\r
1010 "x": 1313.3958549499512,
\r
1011 "y": 1276.1889598369598,
\r
1012 "z": "2f0cf160.dc107e",
\r
1020 "id": "421c7bf9.398d94",
\r
1021 "type": "returnFailure",
\r
1022 "name": "return failure",
\r
1023 "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
1025 "x": 1516.3962440490723,
\r
1026 "y": 1272.1890671253204,
\r
1027 "z": "2f0cf160.dc107e",
\r
1031 "id": "a63cb83c.98c9e8",
\r
1033 "name": "block : atomic",
\r
1034 "xml": "<block atomic=\"true\">",
\r
1038 "x": 1517.395809173584,
\r
1039 "y": 1307.1889336109161,
\r
1040 "z": "2f0cf160.dc107e",
\r
1046 "id": "7044fc7.42f8204",
\r
1047 "type": "comment",
\r
1048 "name": "Create bridge domain",
\r
1051 "x": 933.061695098877,
\r
1052 "y": 1260.6330835819244,
\r
1053 "z": "2f0cf160.dc107e",
\r
1057 "id": "a66a0a0e.fef0c8",
\r
1058 "type": "switchNode",
\r
1059 "name": "switch portSwitch",
\r
1060 "xml": "<switch test=\"`$prop.lan.portSwitch == 'layer2-port'`\">\n\n",
\r
1063 "x": 489.17326736450195,
\r
1064 "y": 1295.855489730835,
\r
1065 "z": "2f0cf160.dc107e",
\r
1073 "id": "cc6612da.43a9",
\r
1074 "type": "outcomeTrue",
\r
1076 "xml": "<outcome value='true'>\n",
\r
1079 "x": 668.1732978820801,
\r
1080 "y": 1295.966812133789,
\r
1081 "z": "2f0cf160.dc107e",
\r
1089 "id": "f2a2fd31.6afea",
\r
1090 "type": "execute",
\r
1091 "name": "execute split ip and mask",
\r
1092 "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
1095 "x": 513.71826171875,
\r
1096 "y": 1395.7540397644043,
\r
1097 "z": "2f0cf160.dc107e",
\r
1106 "id": "aaf35528.c457d8",
\r
1107 "type": "failure",
\r
1108 "name": "success",
\r
1109 "xml": "<outcome value='success'>\n",
\r
1112 "x": 714.7182807922363,
\r
1113 "y": 1373.7540311813354,
\r
1114 "z": "2f0cf160.dc107e",
\r
1122 "id": "c87ddd20.90349",
\r
1123 "type": "failure",
\r
1124 "name": "failure",
\r
1125 "xml": "<outcome value='failure'>\n",
\r
1128 "x": 714.7182846069336,
\r
1129 "y": 1414.7540349960327,
\r
1130 "z": "2f0cf160.dc107e",
\r
1138 "id": "f3c46122.a1ec5",
\r
1140 "name": "set ipAddress prefixLength",
\r
1141 "xml": "<set>\n<parameter name='prop.lan.ip-address' value='`$ipandMask[0]`' />\n<parameter name='prop.lan.prefixLength' value='`$ipandMask[1]`' />",
\r
1143 "x": 911.7182998657227,
\r
1144 "y": 1371.7540311813354,
\r
1145 "z": "2f0cf160.dc107e",
\r
1149 "id": "3701541a.3aea9c",
\r
1150 "type": "returnFailure",
\r
1151 "name": "return failure",
\r
1152 "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
1154 "x": 869.7182922363281,
\r
1155 "y": 1411.7540340423584,
\r
1156 "z": "2f0cf160.dc107e",
\r
1160 "id": "6cdf4550.c744bc",
\r
1161 "type": "comment",
\r
1162 "name": "Create wan port",
\r
1165 "x": 486.7281379699707,
\r
1166 "y": 1348.7640895843506,
\r
1167 "z": "2f0cf160.dc107e",
\r
1171 "id": "2701cb4.59cff34",
\r
1172 "type": "comment",
\r
1173 "name": "TODO: split ip/mask",
\r
1176 "x": 910.7279319763184,
\r
1177 "y": 1333.9343032836914,
\r
1178 "z": "2f0cf160.dc107e",
\r
1182 "id": "7299f238.fa9f1c",
\r
1183 "type": "execute",
\r
1184 "name": "execute RestApiCallNode IPSubnets create",
\r
1185 "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
1188 "x": 572.489631652832,
\r
1189 "y": 1471.8749294281006,
\r
1190 "z": "2f0cf160.dc107e",
\r
1193 "fe753b01.7a4008",
\r
1199 "id": "c50acfa.66a383",
\r
1200 "type": "failure",
\r
1201 "name": "failure",
\r
1202 "xml": "<outcome value='failure'>\n",
\r
1205 "x": 841.4896621704102,
\r
1206 "y": 1458.8749017715454,
\r
1207 "z": "2f0cf160.dc107e",
\r
1215 "id": "fe753b01.7a4008",
\r
1216 "type": "success",
\r
1217 "name": "success",
\r
1218 "xml": "<outcome value='success'>\n",
\r
1221 "x": 838.4896354675293,
\r
1222 "y": 1493.8751201629639,
\r
1223 "z": "2f0cf160.dc107e",
\r
1231 "id": "da685c50.c0fca",
\r
1232 "type": "returnFailure",
\r
1233 "name": "return failure",
\r
1234 "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
1236 "x": 994.4900436401367,
\r
1237 "y": 1454.8751277923584,
\r
1238 "z": "2f0cf160.dc107e",
\r
1242 "id": "7c874cb1.b7ec64",
\r
1244 "name": "block : atomic",
\r
1245 "xml": "<block atomic=\"true\">",
\r
1249 "x": 985.489616394043,
\r
1250 "y": 1494.8748760223389,
\r
1251 "z": "2f0cf160.dc107e",
\r
1259 "id": "220d830a.a3737c",
\r
1261 "name": "set prop.lan.lanPortId",
\r
1262 "xml": "<set>\n<parameter name='prop.lan.lanPortId' value='`lanPortResp.success[0].id`' />\n",
\r
1264 "x": 1192.378719329834,
\r
1265 "y": 1497.208342552185,
\r
1266 "z": "2f0cf160.dc107e",
\r
1270 "id": "1e3434c6.db511b",
\r
1271 "type": "execute",
\r
1272 "name": "execute RestApiCallNode create vpn topology",
\r
1273 "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
1276 "x": 598.0000534057617,
\r
1277 "y": 1630.333706855774,
\r
1278 "z": "2f0cf160.dc107e",
\r
1281 "dad634fb.8374a8",
\r
1287 "id": "222fdfc3.31cbd",
\r
1288 "type": "success",
\r
1289 "name": "success",
\r
1290 "xml": "<outcome value='success'>\n",
\r
1293 "x": 836.9999675750732,
\r
1294 "y": 1677.333193898201,
\r
1295 "z": "2f0cf160.dc107e",
\r
1303 "id": "a113b13a.6f74c",
\r
1305 "name": "block : atomic",
\r
1306 "xml": "<block atomic=\"true\">",
\r
1310 "x": 1006.999906539917,
\r
1311 "y": 1680.333193898201,
\r
1312 "z": "2f0cf160.dc107e",
\r
1318 "id": "66af30b.a74d8d",
\r
1319 "type": "returnFailure",
\r
1320 "name": "return failure",
\r
1321 "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
1323 "x": 1007.0000286102295,
\r
1324 "y": 1636.333193898201,
\r
1325 "z": "2f0cf160.dc107e",
\r
1329 "id": "dad634fb.8374a8",
\r
1330 "type": "failure",
\r
1331 "name": "failure",
\r
1332 "xml": "<outcome value='failure'>\n",
\r
1335 "x": 839.999906539917,
\r
1336 "y": 1636.333193898201,
\r
1337 "z": "2f0cf160.dc107e",
\r
1345 "id": "e4f03070.b443a",
\r
1346 "type": "execute",
\r
1347 "name": "execute RestApiCallNode create vpn ",
\r
1348 "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
1351 "x": 559.9984092712402,
\r
1352 "y": 1561.8328762054443,
\r
1353 "z": "2f0cf160.dc107e",
\r
1356 "93f9856d.ae6458",
\r
1362 "id": "98bd094d.9d68c8",
\r
1363 "type": "success",
\r
1364 "name": "success",
\r
1365 "xml": "<outcome value='success'>\n",
\r
1368 "x": 780.99831199646,
\r
1369 "y": 1583.8328419923782,
\r
1370 "z": "2f0cf160.dc107e",
\r
1378 "id": "54c36251.c8076c",
\r
1380 "name": "block : atomic",
\r
1381 "xml": "<block atomic=\"true\">",
\r
1385 "x": 950.9982509613037,
\r
1386 "y": 1586.8328419923782,
\r
1387 "z": "2f0cf160.dc107e",
\r
1393 "id": "719bdb7c.5a10b4",
\r
1394 "type": "returnFailure",
\r
1395 "name": "return failure",
\r
1396 "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
1398 "x": 950.9983730316162,
\r
1399 "y": 1542.8328419923782,
\r
1400 "z": "2f0cf160.dc107e",
\r
1404 "id": "93f9856d.ae6458",
\r
1405 "type": "failure",
\r
1406 "name": "failure",
\r
1407 "xml": "<outcome value='failure'>\n",
\r
1410 "x": 783.9982509613037,
\r
1411 "y": 1542.8328419923782,
\r
1412 "z": "2f0cf160.dc107e",
\r
1420 "id": "cdd2e071.957e3",
\r
1421 "type": "switchNode",
\r
1422 "name": "switch ActivateSDWANVpnInstance",
\r
1423 "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
1426 "x": 1147.0002365112305,
\r
1427 "y": 848.3332567214966,
\r
1428 "z": "2f0cf160.dc107e",
\r
1436 "id": "2141a4d0.4ed0ac",
\r
1439 "xml": "<block>\n",
\r
1440 "atomic": "false",
\r
1443 "x": 904.3333396911621,
\r
1444 "y": 777.3333368301392,
\r
1445 "z": "2f0cf160.dc107e",
\r
1448 "566234f6.d57f8c",
\r
1455 "id": "f5335833.4ba238",
\r
1456 "type": "outcomeTrue",
\r
1458 "xml": "<outcome value='true'>\n",
\r
1461 "x": 1242.666748046875,
\r
1462 "y": 922.3333377838135,
\r
1463 "z": "2f0cf160.dc107e",
\r
1471 "id": "deda6015.73137",
\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": 1456.916633605957,
\r
1478 "y": 923.8333144187927,
\r
1479 "z": "2f0cf160.dc107e",
\r
1487 "id": "6ef0c48a.c4e20c",
\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": 1703.9166717529297,
\r
1494 "y": 918.8333973884583,
\r
1495 "z": "2f0cf160.dc107e",
\r
1503 "id": "45631feb.4e63d",
\r
1504 "type": "outcomeTrue",
\r
1506 "xml": "<outcome value='true'>\n",
\r
1509 "x": 1854.6666259765625,
\r
1510 "y": 920.3333129882812,
\r
1511 "z": "2f0cf160.dc107e",
\r
1519 "id": "4fe0c915.7019d8",
\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": 2028.6673736572266,
\r
1525 "y": 920.3333714008331,
\r
1526 "z": "2f0cf160.dc107e",
\r
1530 "id": "18aa70c2.f51f1f",
\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": 2459.000747680664,
\r
1536 "y": 826.3333714008331,
\r
1537 "z": "2f0cf160.dc107e",
\r
1541 "id": "95fdece9.83f56",
\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": 2490.0006408691406,
\r
1547 "y": 869.3333377838135,
\r
1548 "z": "2f0cf160.dc107e",
\r
1552 "id": "11a6133a.d1ed1d",
\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": 576.0000152587891,
\r
1558 "y": 574.333330154419,
\r
1559 "z": "2f0cf160.dc107e",
\r
1563 "id": "78c531f9.c452d",
\r
1565 "name": "block atomic",
\r
1566 "xml": "<block atomic=\"true\">\n",
\r
1567 "atomic": "false",
\r
1570 "x": 1689.3336715698242,
\r
1571 "y": 802.3333358764648,
\r
1572 "z": "2f0cf160.dc107e",
\r
1575 "78502254.1e1d1c",
\r
1582 "id": "63d66e16.071a8",
\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": 1851.666603088379,
\r
1589 "y": 733.3333349227905,
\r
1590 "z": "2f0cf160.dc107e",
\r
1598 "id": "5896f487.b2b6fc",
\r
1599 "type": "outcomeTrue",
\r
1601 "xml": "<outcome value='true'>\n",
\r
1604 "x": 2014.6666069030762,
\r
1605 "y": 728.3333358764648,
\r
1606 "z": "2f0cf160.dc107e",
\r
1614 "id": "21c68e35.ea4b92",
\r
1616 "name": "block : atomic",
\r
1617 "xml": "<block atomic=\"true\">",
\r
1620 "x": 2182.666648864746,
\r
1621 "y": 722.3333339691162,
\r
1622 "z": "2f0cf160.dc107e",
\r
1626 "2c113cab.56e434",
\r
1632 "id": "2c113cab.56e434",
\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": 2377.666778564453,
\r
1639 "y": 683.3333253860474,
\r
1640 "z": "2f0cf160.dc107e",
\r
1648 "id": "c62b7f98.336c5",
\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": 2374.6668853759766,
\r
1655 "y": 738.333340883255,
\r
1656 "z": "2f0cf160.dc107e",
\r
1664 "id": "8ed96cca.37dc4",
\r
1666 "name": "set spoke role",
\r
1667 "xml": "<set>\n<parameter name='prop.role' value=\"spoke\" />\n",
\r
1669 "x": 2707.6669006347656,
\r
1670 "y": 677.3333711624146,
\r
1671 "z": "2f0cf160.dc107e",
\r
1675 "id": "4cf4d59c.e1707c",
\r
1677 "name": "set hub role",
\r
1678 "xml": "<set>\n<parameter name='prop.role' value=\"hub\" />\n",
\r
1680 "x": 2706.666660308838,
\r
1681 "y": 732.3333549499512,
\r
1682 "z": "2f0cf160.dc107e",
\r
1686 "id": "ba2b297.cd792d8",
\r
1687 "type": "outcomeTrue",
\r
1689 "xml": "<outcome value='true'>\n",
\r
1692 "x": 2547.666748046875,
\r
1694 "z": "2f0cf160.dc107e",
\r
1702 "id": "f4f54567.510e38",
\r
1703 "type": "outcomeTrue",
\r
1705 "xml": "<outcome value='true'>\n",
\r
1708 "x": 2551.666748046875,
\r
1710 "z": "2f0cf160.dc107e",
\r
1718 "id": "56401cb0.1f0164",
\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='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='Active' />\n<parameter name='lan-port-config-id' value='`$prop.lan-port-config-id`' />",
\r
1724 "x": 560.0312843322754,
\r
1725 "y": 1998.031280040741,
\r
1726 "z": "2f0cf160.dc107e",
\r
1732 "id": "ec89c38e.b0db3",
\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": 556.6663017272949,
\r
1738 "y": 1941.1261107651517,
\r
1739 "z": "2f0cf160.dc107e",
\r
1743 "id": "233d7734.c6ad18",
\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": 590.6663017272949,
\r
1749 "y": 1892.6261098114774,
\r
1750 "z": "2f0cf160.dc107e",
\r
1754 "id": "6bb3e148.a2b06",
\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": 554.6662559509277,
\r
1760 "y": 1844.876064300537,
\r
1761 "z": "2f0cf160.dc107e",
\r
1765 "id": "307480f2.c3f12",
\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": 561.031322479248,
\r
1771 "y": 1738.0314636230469,
\r
1772 "z": "2f0cf160.dc107e",
\r
1776 "id": "cfe4c928.772628",
\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": 547.0312461853027,
\r
1782 "y": 1792.0312767028809,
\r
1783 "z": "2f0cf160.dc107e",
\r
1787 "id": "13d1a87e.cc7dd8",
\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": 2384.0313873291016,
\r
1794 "y": 914.5312805175781,
\r
1795 "z": "2f0cf160.dc107e",
\r
1801 "id": "c2240666.9ee948",
\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": 2353.0313987731934,
\r
1808 "y": 645.531247138977,
\r
1809 "z": "2f0cf160.dc107e",
\r
1815 "id": "5671530f.b2ba5c",
\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
1823 "z": "2f0cf160.dc107e",
\r
1829 "id": "785db3d8.98fb5c",
\r
1832 "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
1837 "z": "2f0cf160.dc107e",
\r
1843 "id": "bacdcf2a.07a41",
\r
1844 "type": "comment",
\r
1845 "name": "**revert the changes",
\r
1848 "x": 1248.0312767028809,
\r
1849 "y": 683.0312824249268,
\r
1850 "z": "2f0cf160.dc107e",
\r