[ { "id": "3bf0dc2d.c14a24", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 162.50001525878906, "y": 72.41365623474121, "z": "8bfceefc.af82b", "wires": [ [ "b55ba40.7ee5d6" ] ] }, { "id": "b55ba40.7ee5d6", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 276.7857208251953, "y": 112.65176773071289, "z": "8bfceefc.af82b", "wires": [ [ "7d6aee59.8eda9" ] ] }, { "id": "7d6aee59.8eda9", "type": "method", "name": "method vnf-topology-operation-unassign", "xml": "\n", "comments": "", "outputs": 1, "x": 258.9286422729492, "y": 152.4136562347412, "z": "8bfceefc.af82b", "wires": [ [ "4d74d1bc.2ae89" ] ] }, { "id": "6fec93f5.86db2c", "type": "comment", "name": "vnf-topology-operation-unassign", "info": "", "comments": "", "x": 556.8448715209961, "y": 20, "z": "8bfceefc.af82b", "wires": [] }, { "id": "9aaca2e2.beb78", "type": "switchNode", "name": "switch request-action", "xml": "\n", "comments": "", "outputs": 1, "x": 509.77383041381836, "y": 240.02079010009766, "z": "8bfceefc.af82b", "wires": [ [ "abd8c261.c46b3", "d2221c3e.90c3f" ] ] }, { "id": "abd8c261.c46b3", "type": "outcome", "name": "DeleteVnfInstance", "xml": "\n", "comments": "", "outputs": 1, "x": 730.1547660827637, "y": 215.49699878692627, "z": "8bfceefc.af82b", "wires": [ [ "a6409d9.036606" ] ] }, { "id": "d2221c3e.90c3f", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 692.1547317504883, "y": 261.2113265991211, "z": "8bfceefc.af82b", "wires": [ [ "306935db.f49bda" ] ] }, { "id": "a6409d9.036606", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 915.0118942260742, "y": 215.49702835083008, "z": "8bfceefc.af82b", "wires": [ [] ] }, { "id": "306935db.f49bda", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 932.1547393798828, "y": 261.2112846374512, "z": "8bfceefc.af82b", "wires": [] }, { "id": "4d74d1bc.2ae89", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 269.58336639404297, "y": 303.2470169067383, "z": "8bfceefc.af82b", "wires": [ [ "9aaca2e2.beb78", "4345ea8f.58f384" ] ] }, { "id": "4345ea8f.58f384", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 498.3333206176758, "y": 359.49701499938965, "z": "8bfceefc.af82b", "wires": [ [ "728fa904.537908", "23bd57ed.5c2f68" ] ] }, { "id": "728fa904.537908", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 682.9166831970215, "y": 308.83031368255615, "z": "8bfceefc.af82b", "wires": [ [ "f32a75d4.e72c28" ] ] }, { "id": "ea2e0eca.99875", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 1021.2500038146973, "y": 388.49698543548584, "z": "8bfceefc.af82b", "wires": [ [ "ff75cb52.105748" ] ] }, { "id": "ff75cb52.105748", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1276.2500915527344, "y": 388.16365337371826, "z": "8bfceefc.af82b", "wires": [ [ "49e6f7a3.488758" ] ] }, { "id": "49e6f7a3.488758", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1514.5833778381348, "y": 387.163631439209, "z": "8bfceefc.af82b", "wires": [ [ "d7731519.ea37c8" ] ] }, { "id": "d7731519.ea37c8", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1682.9165725708008, "y": 387.16365337371826, "z": "8bfceefc.af82b", "wires": [] }, { "id": "59efadd9.34ff64", "type": "switchNode", "name": "switch vnf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1031.2500114440918, "y": 456.16367626190186, "z": "8bfceefc.af82b", "wires": [ [ "4275fe83.7bd96", "d296558f.79c2f8" ] ] }, { "id": "4275fe83.7bd96", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1214.5832862854004, "y": 435.49698543548584, "z": "8bfceefc.af82b", "wires": [ [ "c8299496.706828" ] ] }, { "id": "e72eb007.b4761", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 2001.8175811767578, "y": 1314.9729461669922, "z": "8bfceefc.af82b", "wires": [] }, { "id": "ea9f2a97.ca1f08", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 2601.8189582824707, "y": 898.5644903182983, "z": "8bfceefc.af82b", "wires": [ [ "168141b9.a5a37e" ] ] }, { "id": "f463cdaa.41559", "type": "comment", "name": "Remove VNF from service data", "info": "", "comments": "", "x": 1943.6204223632812, "y": 862.3146209716797, "z": "8bfceefc.af82b", "wires": [] }, { "id": "97d940c.f7414c", "type": "set", "name": "move vnf to remove one", "xml": "\n\n\t\n", "comments": "", "x": 2932.0769996643066, "y": 935.9216842651367, "z": "8bfceefc.af82b", "wires": [] }, { "id": "9db43d1a.80b5b", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 2030.5766677856445, "y": 903.8940572738647, "z": "8bfceefc.af82b", "wires": [ [ "9205be14.b6c51", "a23b009d.a038" ] ] }, { "id": "9205be14.b6c51", "type": "outcome", "name": "1", "xml": "\n", "comments": "", "outputs": 1, "x": 2207.5767097473145, "y": 864.5606441497803, "z": "8bfceefc.af82b", "wires": [ [ "80c57b23.9a7b78" ] ] }, { "id": "80c57b23.9a7b78", "type": "set", "name": "Remove vnfs", "xml": "\n\t\n\n", "comments": "", "x": 2371.24320602417, "y": 864.5607433319092, "z": "8bfceefc.af82b", "wires": [] }, { "id": "a23b009d.a038", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 2209.100601196289, "y": 945.0367832183838, "z": "8bfceefc.af82b", "wires": [ [ "9a322bdb.0d3758" ] ] }, { "id": "632aab75.bfd5f4", "type": "set", "name": "set new vnf length", "xml": "\n\t\n\n\t\n", "comments": "", "x": 2621.373092651367, "y": 1037.4774322509766, "z": "8bfceefc.af82b", "wires": [] }, { "id": "cc9aa5c.d39c258", "type": "set", "name": "Remove the last vnf in the list", "xml": "\n\t\n\n", "comments": "", "x": 2657.076747894287, "y": 992.5884532928467, "z": "8bfceefc.af82b", "wires": [] }, { "id": "9a322bdb.0d3758", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2374.909942626953, "y": 948.5605640411377, "z": "8bfceefc.af82b", "wires": [ [ "ea9f2a97.ca1f08", "cc9aa5c.d39c258", "632aab75.bfd5f4" ] ] }, { "id": "422a0307.b6e26c", "type": "switchNode", "name": "switch current vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1405.4999160766602, "y": 677.8303089141846, "z": "8bfceefc.af82b", "wires": [ [ "cb71008a.a8f54", "281b69c0.91b136", "b3e6a6da.0a0b88" ] ] }, { "id": "cb71008a.a8f54", "type": "outcome", "name": "0", "xml": "\n", "comments": "", "outputs": 1, "x": 1634.1665573120117, "y": 634.4969501495361, "z": "8bfceefc.af82b", "wires": [ [ "c599e4d6.59a018" ] ] }, { "id": "281b69c0.91b136", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 1632.7379684448242, "y": 675.9256076812744, "z": "8bfceefc.af82b", "wires": [ [ "c599e4d6.59a018" ] ] }, { "id": "c599e4d6.59a018", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1781.309482574463, "y": 655.9256086349487, "z": "8bfceefc.af82b", "wires": [ [] ] }, { "id": "b3e6a6da.0a0b88", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1632.7380180358887, "y": 717.3541955947876, "z": "8bfceefc.af82b", "wires": [ [ "46457f5b.3ef86" ] ] }, { "id": "46457f5b.3ef86", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1799.8809127807617, "y": 716.9255838394165, "z": "8bfceefc.af82b", "wires": [] }, { "id": "1b063d0f.a0a6e3", "type": "call", "name": "call GENERIC-RESOURCE-API:naming-policy-generate-name", "xml": "\n", "comments": "", "outputs": 1, "x": 2149.9602127075195, "y": 1258.7499952316284, "z": "8bfceefc.af82b", "wires": [ [] ] }, { "id": "85b7a9d.afa5c58", "type": "set", "name": "set variables for deleting name", "xml": "\n\n\n\n", "comments": "", "x": 2051.388832092285, "y": 1211.60706615448, "z": "8bfceefc.af82b", "wires": [] }, { "id": "f601bfcd.e4487", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1765.6427841186523, "y": 1094.7024116516113, "z": "8bfceefc.af82b", "wires": [ [ "9db43d1a.80b5b", "85b7a9d.afa5c58", "1b063d0f.a0a6e3", "e72eb007.b4761" ] ] }, { "id": "9f240acf.f10968", "type": "call", "name": "call self-serve-vnf-forking-logic", "xml": "\n", "comments": "", "outputs": 1, "x": 1389.7857284545898, "y": 904.7023048400879, "z": "8bfceefc.af82b", "wires": [ [] ] }, { "id": "c939b04c.c627d", "type": "switchNode", "name": "switch ss.self-serve-flag", "xml": "\n", "comments": "", "outputs": 1, "x": 1372.4999465942383, "y": 1094.5594997406006, "z": "8bfceefc.af82b", "wires": [ [ "7a49c72e.1fe9c8", "ecc5218b.461db" ] ] }, { "id": "7a49c72e.1fe9c8", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 1588.4999465942383, "y": 1094.9880847930908, "z": "8bfceefc.af82b", "wires": [ [ "f601bfcd.e4487" ] ] }, { "id": "4db0d0cc.fcf23", "type": "call", "name": "call self-serve-vnf-unassign", "xml": "\n", "comments": "", "outputs": 1, "x": 1804.214210510254, "y": 1410.4166460037231, "z": "8bfceefc.af82b", "wires": [ [ "a8b8d4da.ba5e58", "1a3f330c.4838ed" ] ] }, { "id": "a8b8d4da.ba5e58", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 2011.9641952514648, "y": 1410.6666345596313, "z": "8bfceefc.af82b", "wires": [ [ "58a86c05.a04eb4" ] ] }, { "id": "58a86c05.a04eb4", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 2177.5356216430664, "y": 1410.3095293045044, "z": "8bfceefc.af82b", "wires": [] }, { "id": "1a3f330c.4838ed", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 2016.5713691711426, "y": 1461.2221689224243, "z": "8bfceefc.af82b", "wires": [ [ "9db43d1a.80b5b" ] ] }, { "id": "ecc5218b.461db", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1589.7856254577637, "y": 1410.8452253341675, "z": "8bfceefc.af82b", "wires": [ [ "4db0d0cc.fcf23" ] ] }, { "id": "46619b61.b2e6d4", "type": "get-resource", "name": "get-resource VF_MODEL", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1376.7856369018555, "y": 800.4166660308838, "z": "8bfceefc.af82b", "wires": [ [ "db921505.1ecab8", "2ad253ad.07e3dc" ] ] }, { "id": "db921505.1ecab8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1601.5713348388672, "y": 780.7975034713745, "z": "8bfceefc.af82b", "wires": [ [ "b4171d9d.62fd" ] ] }, { "id": "2ad253ad.07e3dc", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1610.142765045166, "y": 825.0832166671753, "z": "8bfceefc.af82b", "wires": [ [ "6896f0e8.60f06" ] ] }, { "id": "c42726a5.5f0838", "type": "comment", "name": "Query is needed by forking logic", "info": "", "comments": "", "x": 1353.9285202026367, "y": 761.8452005386353, "z": "8bfceefc.af82b", "wires": [] }, { "id": "c8299496.706828", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n", "comments": "", "x": 1371.2499885559082, "y": 434.49694538116455, "z": "8bfceefc.af82b", "wires": [] }, { "id": "f32a75d4.e72c28", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n", "comments": "", "x": 836.2499809265137, "y": 307.83032417297363, "z": "8bfceefc.af82b", "wires": [] }, { "id": "23bd57ed.5c2f68", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 679.5834007263184, "y": 417.83028984069824, "z": "8bfceefc.af82b", "wires": [ [ "c5c57fb4.bffa4" ] ] }, { "id": "c5c57fb4.bffa4", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 837.9166374206543, "y": 417.8302993774414, "z": "8bfceefc.af82b", "wires": [ [ "ea2e0eca.99875", "59efadd9.34ff64" ] ] }, { "id": "5d1e4a8b.33a764", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1060.4166412353516, "y": 843.2469615936279, "z": "8bfceefc.af82b", "wires": [ [ "422a0307.b6e26c", "46619b61.b2e6d4", "9f240acf.f10968", "c939b04c.c627d" ] ] }, { "id": "d296558f.79c2f8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1211.2500839233398, "y": 481.16366958618164, "z": "8bfceefc.af82b", "wires": [ [ "5d1e4a8b.33a764" ] ] }, { "id": "168141b9.a5a37e", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 2738.6907691955566, "y": 897.5328073501587, "z": "8bfceefc.af82b", "wires": [ [ "5253081e.499f08", "97d940c.f7414c", "4cab7b3.6b48784" ] ] }, { "id": "5253081e.499f08", "type": "set", "name": "set tmpidx", "xml": "\n\n", "comments": "", "x": 2888.6904487609863, "y": 854.1993503570557, "z": "8bfceefc.af82b", "wires": [] }, { "id": "4cab7b3.6b48784", "type": "set", "name": "erase entry at tmpidx", "xml": "\n\n\t\n", "comments": "", "x": 2923.6903648376465, "y": 895.8660793304443, "z": "8bfceefc.af82b", "wires": [] }, { "id": "6896f0e8.60f06", "type": "record", "name": "record ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1758.4999923706055, "y": 825.7500009536743, "z": "8bfceefc.af82b", "wires": [ [] ] }, { "id": "b4171d9d.62fd", "type": "record", "name": "record ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1741.4999923706055, "y": 780.7500009536743, "z": "8bfceefc.af82b", "wires": [ [] ] } ]