[ { "id": "2de211e6.98e23e", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 468, "y": 381.0000009536743, "z": "f1f197ca.402af8", "wires": [ [ "6436367.bae22c8", "1f79f37c.52109d", "86c4e83c.6dd4c8", "e7ab9a67.b605f8", "1d935a3c.53bb66", "9465c248.bcdbd", "944e3f22.30053", "240305a4.5a5a9a", "5d2253aa.4bfbec", "b6ddeb01.d7f708", "83d0d62b.725028", "8a6622c.9c3e9e", "d3e9377a.b7b628", "166cfcae.a53de3", "4cde94b6.d8700c" ] ] }, { "id": "489fcd29.cfaa34", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 310.00001525878906, "y": 164.99999237060547, "z": "f1f197ca.402af8", "wires": [ [ "105708eb.457607" ] ] }, { "id": "105708eb.457607", "type": "method", "name": "sdwan-vf-operation-vpn-create", "xml": "\n", "comments": "", "outputs": 1, "x": 309.00001525878906, "y": 264.99999237060547, "z": "f1f197ca.402af8", "wires": [ [ "2de211e6.98e23e" ] ] }, { "id": "a574a3fb.d3201", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 139.50001525878906, "y": 76, "z": "f1f197ca.402af8", "wires": [ [ "489fcd29.cfaa34" ] ] }, { "id": "6436367.bae22c8", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 768.3294219970703, "y": 272.49612522125244, "z": "f1f197ca.402af8", "wires": [ [ "a118e404.bdd118" ] ] }, { "id": "a118e404.bdd118", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 1020.3295135498047, "y": 271.1627883911133, "z": "f1f197ca.402af8", "wires": [ [ "40e93eeb.bac38" ] ] }, { "id": "948c1668.1af8e8", "type": "set", "name": "set vnf-index", "xml": "\n\n\n", "comments": "", "x": 1391.9960021972656, "y": 273.16279125213623, "z": "f1f197ca.402af8", "wires": [] }, { "id": "40e93eeb.bac38", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1238.6628303527832, "y": 273.16277027130127, "z": "f1f197ca.402af8", "wires": [ [ "948c1668.1af8e8" ] ] }, { "id": "e7ab9a67.b605f8", "type": "for", "name": "for loop idx - VF input parameters", "xml": "\n\n", "comments": "", "outputs": 1, "x": 842.2502059936523, "y": 494.66665840148926, "z": "f1f197ca.402af8", "wires": [ [ "62290f8b.75c82" ] ] }, { "id": "62290f8b.75c82", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1057.028549194336, "y": 492.2222423553467, "z": "f1f197ca.402af8", "wires": [ [ "59b05bb9.0b68b4", "72944c92.a776a4" ] ] }, { "id": "59b05bb9.0b68b4", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1253.2847518920898, "y": 469.97038078308105, "z": "f1f197ca.402af8", "wires": [ [] ] }, { "id": "72944c92.a776a4", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1222.7291793823242, "y": 506.97049713134766, "z": "f1f197ca.402af8", "wires": [] }, { "id": "d0552bf7.11fd78", "type": "comment", "name": "Take the parameter names by removing prefix", "info": "", "comments": "", "x": 1226.2504081726074, "y": 429.33332681655884, "z": "f1f197ca.402af8", "wires": [] }, { "id": "1f79f37c.52109d", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 782.7500152587891, "y": 227.9999942779541, "z": "f1f197ca.402af8", "wires": [ [ "f848aa6e.cfe238" ] ] }, { "id": "f848aa6e.cfe238", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 969.4166946411133, "y": 227.3332920074463, "z": "f1f197ca.402af8", "wires": [ [ "63764309.2b5d2c" ] ] }, { "id": "63764309.2b5d2c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1151.0833206176758, "y": 227.3332920074463, "z": "f1f197ca.402af8", "wires": [] }, { "id": "86c4e83c.6dd4c8", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 824.0000047683716, "y": 347.9999952316284, "z": "f1f197ca.402af8", "wires": [ [ "47ea1345.69aafc", "1d47e1b9.b5ac9e" ] ] }, { "id": "47ea1345.69aafc", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1055.000015258789, "y": 323.99999237060547, "z": "f1f197ca.402af8", "wires": [ [ "4b7cf824.56d218" ] ] }, { "id": "1d47e1b9.b5ac9e", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1055.000015258789, "y": 363.99999237060547, "z": "f1f197ca.402af8", "wires": [ [ "ff6c5552.af6328" ] ] }, { "id": "4b7cf824.56d218", "type": "set", "name": "set vf-index", "xml": "\n\n", "comments": "", "x": 1197.500015258789, "y": 323.99999237060547, "z": "f1f197ca.402af8", "wires": [] }, { "id": "ff6c5552.af6328", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1199.3570594787598, "y": 363.9365043640137, "z": "f1f197ca.402af8", "wires": [ [ "34f94cf0.e3aea4", "b3996c0f.5f9d2" ] ] }, { "id": "b3996c0f.5f9d2", "type": "set", "name": "set vf-index", "xml": "\n\n\n\n", "comments": "", "x": 1352.055534362793, "y": 333.5556030566804, "z": "f1f197ca.402af8", "wires": [] }, { "id": "34f94cf0.e3aea4", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1408.4840393066406, "y": 386.7777328491211, "z": "f1f197ca.402af8", "wires": [ [ "441d1901.20ad48" ] ] }, { "id": "f0d652ef.7b8d", "type": "comment", "name": "make sure this network doesn't exist already", "info": "", "comments": "", "x": 1632.1347694396973, "y": 345.03179025650024, "z": "f1f197ca.402af8", "wires": [] }, { "id": "441d1901.20ad48", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1683.769760131836, "y": 386.34923553466797, "z": "f1f197ca.402af8", "wires": [ [ "d51340c3.db8f7" ] ] }, { "id": "d51340c3.db8f7", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1584.49995803833, "y": 444.9206666946411, "z": "f1f197ca.402af8", "wires": [ [ "20af1164.21510e" ] ] }, { "id": "20af1164.21510e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1732.2500610351562, "y": 444.7778587634675, "z": "f1f197ca.402af8", "wires": [] }, { "id": "240305a4.5a5a9a", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 837.8531951904297, "y": 797.4962463378906, "z": "f1f197ca.402af8", "wires": [] }, { "id": "944e3f22.30053", "type": "execute", "name": "execute generate-vf-module-index", "xml": "\n\n", "comments": "", "outputs": 1, "x": 849.186767578125, "y": 750.1629486083984, "z": "f1f197ca.402af8", "wires": [ [] ] }, { "id": "9465c248.bcdbd", "type": "set", "name": "set new vf-module_length", "xml": "\n", "comments": "", "x": 821.1868286132812, "y": 701.1629486083984, "z": "f1f197ca.402af8", "wires": [] }, { "id": "1d935a3c.53bb66", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n", "comments": "", "x": 821.1863555908203, "y": 647.1542367935181, "z": "f1f197ca.402af8", "wires": [] }, { "id": "5d2253aa.4bfbec", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 831.5001831054688, "y": 895.0000674128532, "z": "f1f197ca.402af8", "wires": [] }, { "id": "166cfcae.a53de3", "type": "save", "name": "save sdwan vpn resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 838.0000438690186, "y": 940.5000152587891, "z": "f1f197ca.402af8", "wires": [ [] ] }, { "id": "b6ddeb01.d7f708", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 785.7225170135498, "y": 1033.6739058494568, "z": "f1f197ca.402af8", "wires": [] }, { "id": "83d0d62b.725028", "type": "for", "name": "for loop i - Network input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 849.2539215087891, "y": 583.50390625, "z": "f1f197ca.402af8", "wires": [ [ "4fef64f6.74978c" ] ] }, { "id": "4fef64f6.74978c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1136.4767990112305, "y": 583.7262201309204, "z": "f1f197ca.402af8", "wires": [ [ "70539f79.6843b", "69460cae.8c8bb4" ] ] }, { "id": "70539f79.6843b", "type": "switchNode", "name": "switch name", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1324.698642730713, "y": 566.0595242977142, "z": "f1f197ca.402af8", "wires": [ [ "63c5ecf6.3d2174" ] ] }, { "id": "69460cae.8c8bb4", "type": "switchNode", "name": "switch topology", "xml": "", "comments": "", "outputs": 1, "x": 1335.5383033752441, "y": 606.0595223903656, "z": "f1f197ca.402af8", "wires": [ [ "c6e54399.0667f" ] ] }, { "id": "63c5ecf6.3d2174", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1511.698642730713, "y": 562.0595242977142, "z": "f1f197ca.402af8", "wires": [ [ "7b7eb3bd.411e2c" ] ] }, { "id": "c6e54399.0667f", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1505.5383033752441, "y": 602.0595223903656, "z": "f1f197ca.402af8", "wires": [ [ "660aadb7.bbfbd4" ] ] }, { "id": "7b7eb3bd.411e2c", "type": "set", "name": "set name", "xml": "\n\n\n", "comments": "", "x": 1661.69877243042, "y": 560.659530878067, "z": "f1f197ca.402af8", "wires": [] }, { "id": "660aadb7.bbfbd4", "type": "set", "name": "set topology", "xml": "\n\n", "comments": "", "x": 1692.8717441558838, "y": 600.5206792354584, "z": "f1f197ca.402af8", "wires": [] }, { "id": "8a6622c.9c3e9e", "type": "call", "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 950.5039215087891, "y": 173.00390625, "z": "f1f197ca.402af8", "wires": [ [] ] }, { "id": "d3e9377a.b7b628", "type": "set", "name": "set vf-module-object-path", "xml": "\n\n\n\n\n", "comments": "", "x": 823.5000610351562, "y": 846.0312868952751, "z": "f1f197ca.402af8", "wires": [] }, { "id": "4cde94b6.d8700c", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 838.0001220703125, "y": 988.0001564025879, "z": "f1f197ca.402af8", "wires": [ [] ] } ]