[ { "id": "9cb483d7.ff8df", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 183.78570556640625, "y": 145.0002658367157, "z": "f234e69c.c27828", "wires": [ [ "82081d1c.b4352" ] ] }, { "id": "a3a5e35d.08a8b", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 104.5, "y": 82.76215624809265, "z": "f234e69c.c27828", "wires": [ [ "9cb483d7.ff8df" ] ] }, { "id": "194cf25c.9d64be", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 185.16666412353516, "y": 406.4288260936737, "z": "f234e69c.c27828", "wires": [ [ "12b7db37.f7ff25", "94ec7644.8f3208", "d463d74.bf70428", "ade80aa2.c72f18", "d76d180.81a43e8", "d4716c92.1b3cb", "1202a9f6.764af6", "50fb4440.68b56c", "35434662.4bcfda", "b21ec7e.52c2938", "93472449.69d418", "9bf97976.fa1928" ] ] }, { "id": "94ec7644.8f3208", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 565.8336067199707, "y": 1028.0958859920502, "z": "f234e69c.c27828", "wires": [] }, { "id": "12b7db37.f7ff25", "type": "set", "name": "set vnf-level-oper-status to Created", "xml": "\n\n\n\n", "comments": "", "x": 655.3136177062988, "y": 760.4329907894135, "z": "f234e69c.c27828", "wires": [] }, { "id": "ade80aa2.c72f18", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 633.1668090820312, "y": 816.4291665554047, "z": "f234e69c.c27828", "wires": [] }, { "id": "bf289ee9.17eee", "type": "save", "name": "save deviceInstance configuration in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1111.5007019042969, "y": 833.3184735774994, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "82081d1c.b4352", "type": "method", "name": "method sdwan-vnf-topology-operation-device-create", "xml": "\n", "comments": "", "outputs": 1, "x": 195.5, "y": 239.3484981060028, "z": "f234e69c.c27828", "wires": [ [ "194cf25c.9d64be" ] ] }, { "id": "d463d74.bf70428", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "\n\n", "comments": "", "x": 636.5002593994141, "y": 709.3488032817841, "z": "f234e69c.c27828", "wires": [] }, { "id": "b128ad93.6f9ac", "type": "set", "name": "set deviceId to service data", "xml": "\n\n", "comments": "", "x": 642.5004119873047, "y": 661.349050283432, "z": "f234e69c.c27828", "wires": [] }, { "id": "de11064d.94a5d8", "type": "comment", "name": "AAI resource need to update", "info": "", "comments": "", "x": 957.5003051757812, "y": 787.3489129543304, "z": "f234e69c.c27828", "wires": [] }, { "id": "4f128f3f.350cf", "type": "execute", "name": "execute generate-vnf-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1141.5006866455078, "y": 174.3486087322235, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "9bf97976.fa1928", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 623.500560760498, "y": 983.0957877635956, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "d76d180.81a43e8", "type": "switchNode", "name": "switch vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 605.5001068115234, "y": 278.0000274181366, "z": "f234e69c.c27828", "wires": [ [ "621f97e2.b689f8", "786ad46d.cda56c" ] ] }, { "id": "621f97e2.b689f8", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 746.5001106262207, "y": 253.00001883506775, "z": "f234e69c.c27828", "wires": [ [ "ef09f155.972b9" ] ] }, { "id": "ef09f155.972b9", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 894.5002136230469, "y": 189.00001120567322, "z": "f234e69c.c27828", "wires": [ [ "4f128f3f.350cf", "e345eb47.17b7c8", "82623d50.b5d47" ] ] }, { "id": "786ad46d.cda56c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 743.0312881469727, "y": 313.03125643730164, "z": "f234e69c.c27828", "wires": [ [ "b8aff249.035f2" ] ] }, { "id": "8bf27ffe.7192e", "type": "set", "name": "set prop.vnf-id", "xml": "\n\n", "comments": "", "x": 1082.0320434570312, "y": 392.03162956237793, "z": "f234e69c.c27828", "wires": [] }, { "id": "b8aff249.035f2", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 894.0317077636719, "y": 345.03137850761414, "z": "f234e69c.c27828", "wires": [ [ "8bf27ffe.7192e", "82623d50.b5d47", "ac207b07.0b4de8" ] ] }, { "id": "d4716c92.1b3cb", "type": "set", "name": "set prop.sdncCreate=false", "xml": "\n\n", "comments": "", "x": 680.0313568115234, "y": 169.03125071525574, "z": "f234e69c.c27828", "wires": [] }, { "id": "1202a9f6.764af6", "type": "switchNode", "name": "switch prop.sdncCreate", "xml": "\n", "comments": "", "outputs": 1, "x": 602.5316925048828, "y": 863.031670331955, "z": "f234e69c.c27828", "wires": [ [ "a65c4106.c8fe7", "b49509b2.10c3c8" ] ] }, { "id": "a65c4106.c8fe7", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 848.5314636230469, "y": 833.5314071178436, "z": "f234e69c.c27828", "wires": [ [ "bf289ee9.17eee" ] ] }, { "id": "b49509b2.10c3c8", "type": "outcomeTrue", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 850.0314483642578, "y": 888.5314214229584, "z": "f234e69c.c27828", "wires": [ [ "593b4cfd.497904" ] ] }, { "id": "e345eb47.17b7c8", "type": "set", "name": "set prop.updateAAIsdncCreate", "xml": "\n\n", "comments": "", "x": 1159.0317764282227, "y": 134.03133463859558, "z": "f234e69c.c27828", "wires": [] }, { "id": "50fb4440.68b56c", "type": "for", "name": "for loop idx - VNF input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 668.0314331054688, "y": 463.0312850475311, "z": "f234e69c.c27828", "wires": [ [ "d8830e39.7254c" ] ] }, { "id": "d8830e39.7254c", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 882.8097763061523, "y": 460.58686900138855, "z": "f234e69c.c27828", "wires": [ [ "6cb4a749.692908", "24244ebf.8f5572" ] ] }, { "id": "24244ebf.8f5572", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1048.5104064941406, "y": 475.3351237773895, "z": "f234e69c.c27828", "wires": [] }, { "id": "6cb4a749.692908", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1079.0659790039062, "y": 438.3350074291229, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "35434662.4bcfda", "type": "set", "name": "set vnf-request-input.", "xml": "\n\n", "comments": "", "x": 630.0310516357422, "y": 537.3559997081757, "z": "f234e69c.c27828", "wires": [] }, { "id": "b21ec7e.52c2938", "type": "call", "name": "call sdwan-get-device-param", "xml": "\n", "comments": "", "outputs": 1, "x": 655.0314331054688, "y": 569.3561599254608, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "bcf057ee.ac0fd8", "type": "comment", "name": "if SO provide vnf-id use that else create new", "info": "", "comments": "", "x": 697.0312805175781, "y": 223.0312602519989, "z": "f234e69c.c27828", "wires": [] }, { "id": "82623d50.b5d47", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1102.5317840576172, "y": 271.0313537120819, "z": "f234e69c.c27828", "wires": [ [ "d5e68c18.6d168", "2bfd5f0a.c7681" ] ] }, { "id": "d5e68c18.6d168", "type": "switchNode", "name": "switch service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1346.5316734313965, "y": 228.0313470363617, "z": "f234e69c.c27828", "wires": [ [ "f59d1f3f.83f78", "475c8f31.8dce6" ] ] }, { "id": "f59d1f3f.83f78", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1560.2460556030273, "y": 211.1741178035736, "z": "f234e69c.c27828", "wires": [ [ "b1cc315c.65ade" ] ] }, { "id": "b1cc315c.65ade", "type": "set", "name": "set vnf-index=0", "xml": "\n\n", "comments": "", "x": 1708.5317039489746, "y": 208.17417216300964, "z": "f234e69c.c27828", "wires": [] }, { "id": "475c8f31.8dce6", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1563.6745529174805, "y": 256.45990920066833, "z": "f234e69c.c27828", "wires": [ [ "f950bc3f.5973b" ] ] }, { "id": "f950bc3f.5973b", "type": "set", "name": "set vnf-index = vnf_length", "xml": "\n\n", "comments": "", "x": 1747.5322952270508, "y": 256.74567770957947, "z": "f234e69c.c27828", "wires": [] }, { "id": "2bfd5f0a.c7681", "type": "set", "name": "set new vnf_length", "xml": "\n\n", "comments": "", "x": 1293.5318145751953, "y": 276.0313377380371, "z": "f234e69c.c27828", "wires": [] }, { "id": "593b4cfd.497904", "type": "save", "name": "update deviceInstance configuration in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1103.5312805175781, "y": 891.0312745571136, "z": "f234e69c.c27828", "wires": [ [] ] }, { "id": "ac207b07.0b4de8", "type": "for", "name": "for each existing VNF", "xml": "\n", "comments": "", "outputs": 1, "x": 1109.5313186645508, "y": 343.03128695487976, "z": "f234e69c.c27828", "wires": [ [ "d4f21952.f2dd68" ] ] }, { "id": "4fb64c02.89a0b4", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1646.1031284332275, "y": 391.17424178123474, "z": "f234e69c.c27828", "wires": [ [ "1752f719.1e90a9" ] ] }, { "id": "1752f719.1e90a9", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1784.6744861602783, "y": 391.17420268058777, "z": "f234e69c.c27828", "wires": [] }, { "id": "1b529b77.5e22e5", "type": "comment", "name": "make sure this vnf-id doesn't exist already", "info": "", "comments": "", "x": 1739.959602355957, "y": 520.174124956131, "z": "f234e69c.c27828", "wires": [] }, { "id": "d4f21952.f2dd68", "type": "switchNode", "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1448.5313262939453, "y": 344.0312898159027, "z": "f234e69c.c27828", "wires": [ [ "4fb64c02.89a0b4" ] ] }, { "id": "93472449.69d418", "type": "set", "name": "set sdncCreate to service data", "xml": "\n\n\n\n", "comments": "", "x": 616.5313682556152, "y": 924.0312774181366, "z": "f234e69c.c27828", "wires": [] } ]