[ { "id": "ad9a9168.e57ff", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 956.03125, "y": 159.13152408599854, "z": "46bf2b6e.2c0e64", "wires": [ [ "e7246404.3ab3d8" ] ] }, { "id": "6ad25904.845b18", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 228.7017364501953, "y": 186.96871662139893, "z": "46bf2b6e.2c0e64", "wires": [ [ "f16fce6c.5d5ba" ] ] }, { "id": "f16fce6c.5d5ba", "type": "method", "name": "sdwan-vf-operation-device-create", "xml": "\n", "comments": "", "outputs": 1, "x": 227.7017364501953, "y": 286.9687166213989, "z": "46bf2b6e.2c0e64", "wires": [ [ "c112bcf.84b4e4" ] ] }, { "id": "1a36f303.fc1c1d", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 114.20173835754395, "y": 79.96872520446777, "z": "46bf2b6e.2c0e64", "wires": [ [ "6ad25904.845b18" ] ] }, { "id": "c112bcf.84b4e4", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 386.70172119140625, "y": 402.9687252044678, "z": "46bf2b6e.2c0e64", "wires": [ [ "abed0b7b.e9c438", "724392ca.bd7b5c", "2b72757.931558a", "a49a2243.bbcb2", "c992605b.552a5", "40876e67.4cc8d", "86ee3fd8.45a8b", "414cae1d.205f6", "7ba39512.c516ac", "3a2a0968.648d36", "7024b9ac.3160d8", "fdab20c0.e8295", "d3c28e8a.2aecc", "b7d7095a.45e048" ] ] }, { "id": "abed0b7b.e9c438", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 704.0311584472656, "y": 160.4648609161377, "z": "46bf2b6e.2c0e64", "wires": [ [ "ad9a9168.e57ff" ] ] }, { "id": "4ed9f1d2.fc2b7", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1327.697738647461, "y": 161.13152694702148, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "e7246404.3ab3d8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1174.3645668029785, "y": 161.13150596618652, "z": "46bf2b6e.2c0e64", "wires": [ [ "4ed9f1d2.fc2b7" ] ] }, { "id": "2b72757.931558a", "type": "for", "name": "for loop idx - VF input parameters", "xml": "\n\n", "comments": "", "outputs": 1, "x": 784.9518966674805, "y": 561.6354055404663, "z": "46bf2b6e.2c0e64", "wires": [ [ "1cf539f3.af1b96" ] ] }, { "id": "1cf539f3.af1b96", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 999.7302398681641, "y": 559.1909894943237, "z": "46bf2b6e.2c0e64", "wires": [ [ "1a9f780a.a03398", "dcb3e18.352e72" ] ] }, { "id": "1a9f780a.a03398", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1195.986442565918, "y": 536.9391279220581, "z": "46bf2b6e.2c0e64", "wires": [ [] ] }, { "id": "dcb3e18.352e72", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1165.4308700561523, "y": 573.9392442703247, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "724392ca.bd7b5c", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 718.4517517089844, "y": 115.96872997283936, "z": "46bf2b6e.2c0e64", "wires": [ [ "b66cc394.12346" ] ] }, { "id": "b66cc394.12346", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 905.1184310913086, "y": 115.30202770233154, "z": "46bf2b6e.2c0e64", "wires": [ [ "c5ad3c03.3e718" ] ] }, { "id": "c5ad3c03.3e718", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1086.785057067871, "y": 115.30202770233154, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "40876e67.4cc8d", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 769.5548782348633, "y": 728.4649872779846, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "a49a2243.bbcb2", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n", "comments": "", "x": 775.8880348205566, "y": 624.1229696273804, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "c992605b.552a5", "type": "call", "name": "call sdwan-get-vf-module-device-param", "xml": "\n", "comments": "", "outputs": 1, "x": 801.8884124755859, "y": 680.1232032775879, "z": "46bf2b6e.2c0e64", "wires": [ [] ] }, { "id": "86ee3fd8.45a8b", "type": "set", "name": "set vf-module-object-path", "xml": "\n \n\n\n\n", "comments": "", "x": 764.7017707824707, "y": 778.9688324928284, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "414cae1d.205f6", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n\n", "comments": "", "x": 772.2018737792969, "y": 826.9687967300415, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "c8a9b81e.4dea68", "type": "save", "name": "save sdwan vpn resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1206.701789855957, "y": 852.4687442779541, "z": "46bf2b6e.2c0e64", "wires": [ [] ] }, { "id": "3a2a0968.648d36", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 775.7016677856445, "y": 920.4687957763672, "z": "46bf2b6e.2c0e64", "wires": [ [] ] }, { "id": "7ba39512.c516ac", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 724.4241981506348, "y": 966.6426386833191, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "faa86376.49175", "type": "execute", "name": "execute generate-vf-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1251.8685150146484, "y": 240.30206966400146, "z": "46bf2b6e.2c0e64", "wires": [ [] ] }, { "id": "491e4f90.e2d44", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1004.8680419921875, "y": 254.95347213745117, "z": "46bf2b6e.2c0e64", "wires": [ [ "faa86376.49175", "1889b968.9cafa7", "c8eb51dd.8bc9f" ] ] }, { "id": "74ee118f.3bdb3", "type": "set", "name": "set prop.vf-id", "xml": "\n\n", "comments": "", "x": 1210.3999099731445, "y": 457.985107421875, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "dfbd61c4.ba851", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1004.3995361328125, "y": 410.9848394393921, "z": "46bf2b6e.2c0e64", "wires": [ [ "74ee118f.3bdb3", "1889b968.9cafa7", "f58396e4.0282e8" ] ] }, { "id": "1889b968.9cafa7", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1239.8996353149414, "y": 334.98486328125, "z": "46bf2b6e.2c0e64", "wires": [ [ "ecce0898.ef26d8", "e6c1d3e3.fb47b" ] ] }, { "id": "e28abe4b.99802", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1701.6139278411865, "y": 254.12758922576904, "z": "46bf2b6e.2c0e64", "wires": [ [ "4d6a716f.84ac8" ] ] }, { "id": "4d6a716f.84ac8", "type": "set", "name": "set vf-index=0", "xml": "\n\n", "comments": "", "x": 1849.8995761871338, "y": 251.12764358520508, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "ad9a94b.6789668", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1705.0424251556396, "y": 299.41338062286377, "z": "46bf2b6e.2c0e64", "wires": [ [ "aa7a0bdb.e96638" ] ] }, { "id": "aa7a0bdb.e96638", "type": "set", "name": "set vf-index = vf_length", "xml": "\n\n", "comments": "", "x": 1888.90016746521, "y": 299.6991491317749, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "ecce0898.ef26d8", "type": "set", "name": "set new vF_length", "xml": "\n\n", "comments": "", "x": 1417.8996391296387, "y": 363.984827041626, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "b86e63fd.fc195", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1654.471076965332, "y": 394.1277618408203, "z": "46bf2b6e.2c0e64", "wires": [ [ "5a9cb21d.1f494c" ] ] }, { "id": "5a9cb21d.1f494c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1793.0424346923828, "y": 394.12772274017334, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "2f10259c.95f9fa", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 853.3991165161133, "y": 378.9847173690796, "z": "46bf2b6e.2c0e64", "wires": [ [ "dfbd61c4.ba851" ] ] }, { "id": "c5868d60.4eb9c", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 856.8679389953613, "y": 318.9534797668457, "z": "46bf2b6e.2c0e64", "wires": [ [ "491e4f90.e2d44" ] ] }, { "id": "585f0966.3b4ab8", "type": "comment", "name": "if SO provide vf-id use that else create new", "info": "", "comments": "", "x": 1554.3991317749023, "y": 214.98472118377686, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "fdab20c0.e8295", "type": "switchNode", "name": "switch vf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 715.8679351806641, "y": 343.95348834991455, "z": "46bf2b6e.2c0e64", "wires": [ [ "c5868d60.4eb9c", "2f10259c.95f9fa" ] ] }, { "id": "7024b9ac.3160d8", "type": "switchNode", "name": "switch vnf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 715.7330017089844, "y": 208.99999523162842, "z": "46bf2b6e.2c0e64", "wires": [ [ "a1384c59.cdef8" ] ] }, { "id": "a1384c59.cdef8", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 877.7330474853516, "y": 207.9999942779541, "z": "46bf2b6e.2c0e64", "wires": [ [ "b60890ce.7212a" ] ] }, { "id": "b60890ce.7212a", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1026.983139038086, "y": 205.7778720855713, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "e6c1d3e3.fb47b", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1479.7329788208008, "y": 280.0000104904175, "z": "46bf2b6e.2c0e64", "wires": [ [ "e28abe4b.99802", "ad9a94b.6789668" ] ] }, { "id": "62be0465.8c201c", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1471.7329788208008, "y": 402.49998474121094, "z": "46bf2b6e.2c0e64", "wires": [ [ "b86e63fd.fc195" ] ] }, { "id": "f58396e4.0282e8", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1235.7329788208008, "y": 406.49998474121094, "z": "46bf2b6e.2c0e64", "wires": [ [ "62be0465.8c201c" ] ] }, { "id": "d3c28e8a.2aecc", "type": "set", "name": "set prop.sdncCreate=false", "xml": "\n\n", "comments": "", "x": 746.2329788208008, "y": 71.99999809265137, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "c8eb51dd.8bc9f", "type": "set", "name": "set prop.sdncCreate=true", "xml": "\n\n", "comments": "", "x": 1265.2329864501953, "y": 202.99999713897705, "z": "46bf2b6e.2c0e64", "wires": [] }, { "id": "b7d7095a.45e048", "type": "switchNode", "name": "switch prop.sdncCreate", "xml": "\n", "comments": "", "outputs": 1, "x": 754.2330436706543, "y": 876.0000257492065, "z": "46bf2b6e.2c0e64", "wires": [ [ "bb597028.866e9", "18aecad0.0cad25" ] ] }, { "id": "18aecad0.0cad25", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 969.2330417633057, "y": 887.0000257492065, "z": "46bf2b6e.2c0e64", "wires": [ [ "8ea3c05b.19b31" ] ] }, { "id": "bb597028.866e9", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 972.2330417633057, "y": 848.9999942779541, "z": "46bf2b6e.2c0e64", "wires": [ [ "c8a9b81e.4dea68" ] ] }, { "id": "8ea3c05b.19b31", "type": "save", "name": "update sdwan vpn resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1203.2329864501953, "y": 892.999997138977, "z": "46bf2b6e.2c0e64", "wires": [ [] ] } ]