[ { "id": "aee5dac3.29d8f8", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 259.0104064941406, "y": 136.99999237060547, "z": "3e6f238d.8b432c", "wires": [ [ "92f80405.527238" ] ] }, { "id": "92f80405.527238", "type": "method", "name": "sdwan-vf-operation-wanport-create", "xml": "\n", "comments": "", "outputs": 1, "x": 258.0104064941406, "y": 236.99999237060547, "z": "3e6f238d.8b432c", "wires": [ [ "8357a961.bd7368" ] ] }, { "id": "a10fd13a.8313d", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 115.51040267944336, "y": 46, "z": "3e6f238d.8b432c", "wires": [ [ "aee5dac3.29d8f8" ] ] }, { "id": "8357a961.bd7368", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 417.01039123535156, "y": 353.0000009536743, "z": "3e6f238d.8b432c", "wires": [ [ "c20a7dc0.e21ea", "b9fc1e5f.5b376", "1b6a0c2c.530674", "dfd3a664.1be748", "f3dc4ebd.df298", "cae5d4a0.b09a38", "67d04e5d.908a3", "fd081780.8915a8", "4fc9e2ee.90febc", "cdfc7ae4.0514d8", "2814f80b.cacb28", "da49c07c.27b0f", "3699b36a.223adc", "1bf42dc2.073fb2" ] ] }, { "id": "c20a7dc0.e21ea", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 717.3398132324219, "y": 244.49612522125244, "z": "3e6f238d.8b432c", "wires": [ [ "fc97057b.994b78" ] ] }, { "id": "fc97057b.994b78", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 969.3399047851562, "y": 243.16278839111328, "z": "3e6f238d.8b432c", "wires": [ [ "df301c25.93aef" ] ] }, { "id": "311e101f.d5d19", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1341.0063934326172, "y": 245.16279125213623, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "df301c25.93aef", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1187.6732215881348, "y": 245.16277027130127, "z": "3e6f238d.8b432c", "wires": [ [ "311e101f.d5d19" ] ] }, { "id": "dfd3a664.1be748", "type": "for", "name": "for loop idx - VF input parameters", "xml": "\n\n", "comments": "", "outputs": 1, "x": 791.2605972290039, "y": 466.66665840148926, "z": "3e6f238d.8b432c", "wires": [ [ "aad3c15.925ee4" ] ] }, { "id": "aad3c15.925ee4", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1006.0389404296875, "y": 464.2222423553467, "z": "3e6f238d.8b432c", "wires": [ [ "917fbe88.711cc", "c43ea4c0.149928" ] ] }, { "id": "917fbe88.711cc", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1202.2951431274414, "y": 441.97038078308105, "z": "3e6f238d.8b432c", "wires": [ [] ] }, { "id": "c43ea4c0.149928", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1171.7395706176758, "y": 478.97049713134766, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "5248680e.c068e8", "type": "comment", "name": "Take the parameter names by removing prefix", "info": "", "comments": "", "x": 1175.260799407959, "y": 401.33332681655884, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "b9fc1e5f.5b376", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 731.7604064941406, "y": 199.9999942779541, "z": "3e6f238d.8b432c", "wires": [ [ "c77be859.d85c08" ] ] }, { "id": "c77be859.d85c08", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 918.4270858764648, "y": 199.3332920074463, "z": "3e6f238d.8b432c", "wires": [ [ "c9a6db6e.787d58" ] ] }, { "id": "c9a6db6e.787d58", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1100.0937118530273, "y": 199.3332920074463, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "1b6a0c2c.530674", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 773.0103960037231, "y": 319.9999952316284, "z": "3e6f238d.8b432c", "wires": [ [ "9acf5c90.6cf6", "ffb3f2fc.2e117" ] ] }, { "id": "9acf5c90.6cf6", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1004.0104064941406, "y": 295.99999237060547, "z": "3e6f238d.8b432c", "wires": [ [ "8e0399d7.7006d8" ] ] }, { "id": "ffb3f2fc.2e117", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1004.0104064941406, "y": 335.99999237060547, "z": "3e6f238d.8b432c", "wires": [ [ "ef3e733d.2d036" ] ] }, { "id": "8e0399d7.7006d8", "type": "set", "name": "set vf-index", "xml": "\n\n", "comments": "", "x": 1146.5104064941406, "y": 295.99999237060547, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "ef3e733d.2d036", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1148.3674507141113, "y": 335.9365043640137, "z": "3e6f238d.8b432c", "wires": [ [ "1d25ad68.e6ab83", "461a624f.09559c" ] ] }, { "id": "461a624f.09559c", "type": "set", "name": "set vf-index", "xml": "\n\n\n\n", "comments": "", "x": 1301.0659255981445, "y": 305.5556030566804, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "1d25ad68.e6ab83", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1357.4944305419922, "y": 358.7777328491211, "z": "3e6f238d.8b432c", "wires": [ [ "620a6b7.d8fa094" ] ] }, { "id": "406aa837.6a2a68", "type": "comment", "name": "make sure this network doesn't exist already", "info": "", "comments": "", "x": 1581.1451606750488, "y": 317.03179025650024, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "620a6b7.d8fa094", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1632.7801513671875, "y": 358.34923553466797, "z": "3e6f238d.8b432c", "wires": [ [ "89ef579f.c10518" ] ] }, { "id": "89ef579f.c10518", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1533.5103492736816, "y": 416.9206666946411, "z": "3e6f238d.8b432c", "wires": [ [ "b4a45077.2328e" ] ] }, { "id": "b4a45077.2328e", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1681.2604522705078, "y": 416.7778587634675, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "fd081780.8915a8", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 788.8636169433594, "y": 740.4961795806885, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "67d04e5d.908a3", "type": "execute", "name": "execute generate-vf-module-index", "xml": "\n\n", "comments": "", "outputs": 1, "x": 798.1971206665039, "y": 692.1629104614258, "z": "3e6f238d.8b432c", "wires": [ [] ] }, { "id": "cae5d4a0.b09a38", "type": "set", "name": "set new vf-module_length", "xml": "\n", "comments": "", "x": 770.1970672607422, "y": 639.1628475189209, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "f3dc4ebd.df298", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n", "comments": "", "x": 782.1967353820801, "y": 529.1542224884033, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "4fc9e2ee.90febc", "type": "set", "name": "set vf-module-object-path", "xml": "\n\n\n\n\n", "comments": "", "x": 774.0104808807373, "y": 798.0000371932983, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "cdfc7ae4.0514d8", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n", "comments": "", "x": 788.5105400085449, "y": 847.9999303817749, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "3699b36a.223adc", "type": "save", "name": "save sdwan vpn resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 792.0104484558105, "y": 891.4999761581421, "z": "3e6f238d.8b432c", "wires": [ [] ] }, { "id": "1bf42dc2.073fb2", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 789.0103759765625, "y": 937.5000076293945, "z": "3e6f238d.8b432c", "wires": [ [] ] }, { "id": "2814f80b.cacb28", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 739.7329216003418, "y": 984.6738667488098, "z": "3e6f238d.8b432c", "wires": [] }, { "id": "da49c07c.27b0f", "type": "call", "name": "call sdwan-get-wan-param", "xml": "\n", "comments": "", "outputs": 1, "x": 781.8992767333984, "y": 591.8888759613037, "z": "3e6f238d.8b432c", "wires": [ [] ] } ]