[ { "id": "e9f5d8f7.e285a8", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 83.47266006469727, "y": 26, "z": "8abb02c9.ea909", "wires": [ [ "f361420f.d2dd5" ] ] }, { "id": "f361420f.d2dd5", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 214.75835037231445, "y": 75.23810863494873, "z": "8abb02c9.ea909", "wires": [ [ "83b54aea.5a2e08" ] ] }, { "id": "83b54aea.5a2e08", "type": "method", "name": "method sotn-vf-operation-uni-create", "xml": "\n", "comments": "", "outputs": 1, "x": 217.9012794494629, "y": 160.00003242492676, "z": "8abb02c9.ea909", "wires": [ [ "d23ea373.2facb" ] ] }, { "id": "129ae0d2.67909f", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 592, "y": 45, "z": "8abb02c9.ea909", "wires": [ [ "4518c55e.2af6cc" ] ] }, { "id": "4518c55e.2af6cc", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 778.6666793823242, "y": 44.33329772949219, "z": "8abb02c9.ea909", "wires": [ [ "49f6673c.896c38" ] ] }, { "id": "49f6673c.896c38", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 960.3333053588867, "y": 44.33329772949219, "z": "8abb02c9.ea909", "wires": [] }, { "id": "344a6d66.006ae2", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 581.5794200897217, "y": 99.50003504753113, "z": "8abb02c9.ea909", "wires": [ [ "b740b835.934dd8" ] ] }, { "id": "b740b835.934dd8", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, "x": 832.5795154571533, "y": 95.16665554046631, "z": "8abb02c9.ea909", "wires": [ [ "7d8c54e9.05fcdc" ] ] }, { "id": "7d8c54e9.05fcdc", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1050.9128322601318, "y": 97.1666374206543, "z": "8abb02c9.ea909", "wires": [ [ "4090d448.987d9c" ] ] }, { "id": "4090d448.987d9c", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", "x": 1204.2460041046143, "y": 97.16665840148926, "z": "8abb02c9.ea909", "wires": [] }, { "id": "d6f734d6.542738", "type": "switchNode", "name": "switch vnf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 595.579439163208, "y": 160.5000331401825, "z": "8abb02c9.ea909", "wires": [ [ "cc5e7b73.313338" ] ] }, { "id": "cc5e7b73.313338", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 757.5794849395752, "y": 159.50003218650818, "z": "8abb02c9.ea909", "wires": [ [ "d5e799c5.aa66e8" ] ] }, { "id": "d5e799c5.aa66e8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 906.8295764923096, "y": 157.27790999412537, "z": "8abb02c9.ea909", "wires": [] }, { "id": "2e3b155c.1acdba", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, "x": 630.2500219345093, "y": 221.99999403953552, "z": "8abb02c9.ea909", "wires": [ [ "d6b8c302.00cb5", "74fd2b9a.39bbc4" ] ] }, { "id": "d6b8c302.00cb5", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, "x": 861.2500324249268, "y": 197.99999117851257, "z": "8abb02c9.ea909", "wires": [ [ "b130c62a.6d5b28" ] ] }, { "id": "74fd2b9a.39bbc4", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 861.2500324249268, "y": 237.99999117851257, "z": "8abb02c9.ea909", "wires": [ [ "aa20e5dd.34f068" ] ] }, { "id": "b130c62a.6d5b28", "type": "set", "name": "set vf-index", "xml": "\n\n", "comments": "", "x": 1003.7500324249268, "y": 197.99999117851257, "z": "8abb02c9.ea909", "wires": [] }, { "id": "aa20e5dd.34f068", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1005.6070766448975, "y": 237.93650317192078, "z": "8abb02c9.ea909", "wires": [ [ "290ec3b5.b78dec", "ba0b306b.1384c" ] ] }, { "id": "ba0b306b.1384c", "type": "set", "name": "set vf-index", "xml": "\n\n\n\n", "comments": "", "x": 1158.3055515289307, "y": 207.55560186458752, "z": "8abb02c9.ea909", "wires": [] }, { "id": "290ec3b5.b78dec", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, "x": 1214.7340564727783, "y": 260.7777316570282, "z": "8abb02c9.ea909", "wires": [ [ "f5468be4.2d7768" ] ] }, { "id": "55b24f6b.1c68", "type": "comment", "name": "make sure this network doesn't exist already", "info": "", "comments": "", "x": 1438.384786605835, "y": 219.03178906440735, "z": "8abb02c9.ea909", "wires": [] }, { "id": "f5468be4.2d7768", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, "x": 1490.0197772979736, "y": 260.3492343425751, "z": "8abb02c9.ea909", "wires": [ [ "416b188c.9635e8" ] ] }, { "id": "416b188c.9635e8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1390.7499752044678, "y": 318.9206655025482, "z": "8abb02c9.ea909", "wires": [ [ "5ff9d421.bc0c2c" ] ] }, { "id": "5ff9d421.bc0c2c", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1538.500078201294, "y": 318.7778575713746, "z": "8abb02c9.ea909", "wires": [] }, { "id": "a3005c7c.22f1c", "type": "comment", "name": "Take the parameter names by removing prefix", "info": "", "comments": "", "x": 674.8297939300537, "y": 294.8294517993927, "z": "8abb02c9.ea909", "wires": [] }, { "id": "c2f9b109.0e45", "type": "for", "name": "for loop idx - VF input parameters", "xml": "\n\n", "comments": "", "outputs": 1, "x": 636.8295917510986, "y": 338.16278433799744, "z": "8abb02c9.ea909", "wires": [ [ "c2930fc2.e5909" ] ] }, { "id": "c2930fc2.e5909", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 851.6079349517822, "y": 335.71836829185486, "z": "8abb02c9.ea909", "wires": [ [ "d1ed645d.aa3a78", "6dcf8b92.c77424" ] ] }, { "id": "d1ed645d.aa3a78", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1047.8641376495361, "y": 313.46650671958923, "z": "8abb02c9.ea909", "wires": [ [] ] }, { "id": "6dcf8b92.c77424", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1017.3085651397705, "y": 350.46662306785583, "z": "8abb02c9.ea909", "wires": [] }, { "id": "d23ea373.2facb", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 290.5794315338135, "y": 355.4961154460907, "z": "8abb02c9.ea909", "wires": [ [ "c2f9b109.0e45", "129ae0d2.67909f", "2e3b155c.1acdba", "a11f77d.859bf88", "7c53c20f.68b9dc", "42215efb.1d8e4", "91211121.8f53", "d001c737.a47218", "b74ff3ee.b1d98", "344a6d66.006ae2", "d6f734d6.542738", "3cca5aeb.576896", "6ba0a91d.74fdb8", "c0fe8566.aad758", "3368b1eb.e464fe", "29fa2ed2.416422" ] ] }, { "id": "d001c737.a47218", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 577.8019104003906, "y": 893.00732421875, "z": "8abb02c9.ea909", "wires": [] }, { "id": "91211121.8f53", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, "x": 633.0794067382812, "y": 851.83349609375, "z": "8abb02c9.ea909", "wires": [ [] ] }, { "id": "42215efb.1d8e4", "type": "save", "name": "save uni resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 615.0794677734375, "y": 747.83349609375, "z": "8abb02c9.ea909", "wires": [ [] ] }, { "id": "b74ff3ee.b1d98", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n\n", "comments": "", "x": 632.579439163208, "y": 698.5000331401825, "z": "8abb02c9.ea909", "wires": [] }, { "id": "7c53c20f.68b9dc", "type": "set", "name": "set vf-module-object-path", "xml": "\n \n\n\n\n", "comments": "", "x": 616.079475402832, "y": 656.3335154056549, "z": "8abb02c9.ea909", "wires": [] }, { "id": "a11f77d.859bf88", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 627.9325504302979, "y": 604.8296692371368, "z": "8abb02c9.ea909", "wires": [] }, { "id": "c0fe8566.aad758", "type": "set", "name": "set new vf-module_length", "xml": "\n", "comments": "", "x": 608, "y": 497, "z": "8abb02c9.ea909", "wires": [] }, { "id": "3cca5aeb.576896", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n", "comments": "", "x": 614.9995880126953, "y": 391.9912657737732, "z": "8abb02c9.ea909", "wires": [] }, { "id": "6ba0a91d.74fdb8", "type": "call", "name": "call sotn-get-vf-module-uni-param", "xml": "\n", "comments": "", "outputs": 1, "x": 653.8132629394531, "y": 444.83709144592285, "z": "8abb02c9.ea909", "wires": [ [] ] }, { "id": "3368b1eb.e464fe", "type": "execute", "name": "execute generate-vf-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 606.8132781982422, "y": 553.3409690856934, "z": "8abb02c9.ea909", "wires": [ [] ] }, { "id": "29fa2ed2.416422", "type": "get-resource", "name": "get-resource generic-vnf", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 605, "y": 803, "z": "8abb02c9.ea909", "wires": [ [ "5c744e64.d3743" ] ] }, { "id": "5c744e64.d3743", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 808, "y": 798, "z": "8abb02c9.ea909", "wires": [ [ "79532ac9.38abe4" ] ] }, { "id": "79532ac9.38abe4", "type": "set", "name": "set tmp.relationship_length", "xml": "\n\n", "comments": "", "x": 991, "y": 795, "z": "8abb02c9.ea909", "wires": [] } ]