[ { "id": "fd0440a.ecd51c", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 196, "y": 82.23810958862305, "z": "842fbc05.cce04", "wires": [ [ "127bb9c5.150526" ] ] }, { "id": "e5b0a995.906238", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 116.71429443359375, "y": 20, "z": "842fbc05.cce04", "wires": [ [ "fd0440a.ecd51c" ] ] }, { "id": "23553cdf.889914", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 197.3809585571289, "y": 343.66666984558105, "z": "842fbc05.cce04", "wires": [ [ "bf0f7a26.a11068", "f71d7490.89bd28", "ed1f7a5f.52aa38", "20a30a30.b04286", "1a809147.c1ebef", "53d08385.3ed46c", "d658c8ee.f13848", "8e20e633.b9b588", "61dc4d5e.3ba864", "43e73a53.fc83c4", "ff98826e.6bc6d", "60a78e84.5e55" ] ] }, { "id": "f71d7490.89bd28", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 578.0479011535645, "y": 965.3337297439575, "z": "842fbc05.cce04", "wires": [] }, { "id": "bf0f7a26.a11068", "type": "set", "name": "set vnf-level-oper-status to Created", "xml": "\n\n\n\n", "comments": "", "x": 667.5279121398926, "y": 697.6708345413208, "z": "842fbc05.cce04", "wires": [] }, { "id": "20a30a30.b04286", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n", "comments": "", "x": 645.381103515625, "y": 753.667010307312, "z": "842fbc05.cce04", "wires": [] }, { "id": "ef25e38.ee9742", "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": 1123.7149963378906, "y": 770.5563173294067, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "127bb9c5.150526", "type": "method", "name": "method sdwan-vnf-topology-operation-device-create", "xml": "\n", "comments": "", "outputs": 1, "x": 207.71429443359375, "y": 176.58634185791016, "z": "842fbc05.cce04", "wires": [ [ "23553cdf.889914" ] ] }, { "id": "ed1f7a5f.52aa38", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "\n\n", "comments": "", "x": 648.7145538330078, "y": 646.5866470336914, "z": "842fbc05.cce04", "wires": [] }, { "id": "abbdb9a7.a00168", "type": "set", "name": "set deviceId to service data", "xml": "\n\n", "comments": "", "x": 654.7147064208984, "y": 598.5868940353394, "z": "842fbc05.cce04", "wires": [] }, { "id": "c106be0b.38899", "type": "comment", "name": "AAI resource need to update", "info": "", "comments": "", "x": 969.714599609375, "y": 724.5867567062378, "z": "842fbc05.cce04", "wires": [] }, { "id": "63a58c6c.370174", "type": "execute", "name": "execute generate-vnf-id", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1153.7149810791016, "y": 111.58645248413086, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "60a78e84.5e55", "type": "save", "name": "save service relationship in AAI", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 635.7148551940918, "y": 920.3336315155029, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "1a809147.c1ebef", "type": "switchNode", "name": "switch vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 617.7144012451172, "y": 215.23787117004395, "z": "842fbc05.cce04", "wires": [ [ "ecde6b48.bbfc48", "1019aeef.5808d1" ] ] }, { "id": "ecde6b48.bbfc48", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 758.7144050598145, "y": 190.2378625869751, "z": "842fbc05.cce04", "wires": [ [ "81003234.70dcc" ] ] }, { "id": "81003234.70dcc", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 906.7145080566406, "y": 126.23785495758057, "z": "842fbc05.cce04", "wires": [ [ "63a58c6c.370174", "69aa8a5d.0ac9a4", "6eb09a3f.09bc74" ] ] }, { "id": "1019aeef.5808d1", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 755.2455825805664, "y": 250.26910018920898, "z": "842fbc05.cce04", "wires": [ [ "b2303be.abcc1c8" ] ] }, { "id": "fe4dccde.57bcf", "type": "set", "name": "set prop.vnf-id", "xml": "\n\n", "comments": "", "x": 1094.246337890625, "y": 329.2694733142853, "z": "842fbc05.cce04", "wires": [] }, { "id": "b2303be.abcc1c8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 906.2460021972656, "y": 282.2692222595215, "z": "842fbc05.cce04", "wires": [ [ "fe4dccde.57bcf", "6eb09a3f.09bc74", "d5a722bf.9d266" ] ] }, { "id": "53d08385.3ed46c", "type": "set", "name": "set prop.sdncCreate=false", "xml": "\n\n", "comments": "", "x": 692.2456512451172, "y": 106.26909446716309, "z": "842fbc05.cce04", "wires": [] }, { "id": "d658c8ee.f13848", "type": "switchNode", "name": "switch prop.sdncCreate", "xml": "\n", "comments": "", "outputs": 1, "x": 614.7459869384766, "y": 800.2695140838623, "z": "842fbc05.cce04", "wires": [ [ "be0155ce.278c18", "f63d8c0c.a2846" ] ] }, { "id": "be0155ce.278c18", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 860.7457580566406, "y": 770.769250869751, "z": "842fbc05.cce04", "wires": [ [ "ef25e38.ee9742" ] ] }, { "id": "f63d8c0c.a2846", "type": "outcomeTrue", "name": "false", "xml": "\n", "comments": "", "outputs": 1, "x": 862.2457427978516, "y": 825.7692651748657, "z": "842fbc05.cce04", "wires": [ [ "2097a67.fbc2c5a" ] ] }, { "id": "69aa8a5d.0ac9a4", "type": "set", "name": "set prop.updateAAIsdncCreate", "xml": "\n\n", "comments": "", "x": 1171.2460708618164, "y": 71.26917839050293, "z": "842fbc05.cce04", "wires": [] }, { "id": "8e20e633.b9b588", "type": "for", "name": "for loop idx - VNF input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 680.2457275390625, "y": 400.2691287994385, "z": "842fbc05.cce04", "wires": [ [ "6a3b248.f431cdc" ] ] }, { "id": "6a3b248.f431cdc", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 895.0240707397461, "y": 397.8247127532959, "z": "842fbc05.cce04", "wires": [ [ "c1af467b.da6408", "b9f2cae.04bc638" ] ] }, { "id": "b9f2cae.04bc638", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", "x": 1060.7247009277344, "y": 412.5729675292969, "z": "842fbc05.cce04", "wires": [] }, { "id": "c1af467b.da6408", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, "x": 1091.2802734375, "y": 375.5728511810303, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "61dc4d5e.3ba864", "type": "set", "name": "set vnf-request-input.", "xml": "\n\n", "comments": "", "x": 642.2453460693359, "y": 474.593843460083, "z": "842fbc05.cce04", "wires": [] }, { "id": "43e73a53.fc83c4", "type": "call", "name": "call sdwan-get-device-param", "xml": "\n", "comments": "", "outputs": 1, "x": 667.2457275390625, "y": 506.59400367736816, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "98f6587a.b563b8", "type": "comment", "name": "if SO provide vnf-id use that else create new", "info": "", "comments": "", "x": 709.2455749511719, "y": 160.26910400390625, "z": "842fbc05.cce04", "wires": [] }, { "id": "6eb09a3f.09bc74", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1114.746078491211, "y": 208.26919746398926, "z": "842fbc05.cce04", "wires": [ [ "10311b8f.214a74", "d0785948.131e88" ] ] }, { "id": "10311b8f.214a74", "type": "switchNode", "name": "switch service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 1358.7459678649902, "y": 165.26919078826904, "z": "842fbc05.cce04", "wires": [ [ "e8ee65b6.e0bb98", "8e4d05a7.18d778" ] ] }, { "id": "e8ee65b6.e0bb98", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1572.460350036621, "y": 148.41196155548096, "z": "842fbc05.cce04", "wires": [ [ "2bb1c8ad.9ae4c8" ] ] }, { "id": "2bb1c8ad.9ae4c8", "type": "set", "name": "set vnf-index=0", "xml": "\n\n", "comments": "", "x": 1720.7459983825684, "y": 145.412015914917, "z": "842fbc05.cce04", "wires": [] }, { "id": "8e4d05a7.18d778", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1575.8888473510742, "y": 193.69775295257568, "z": "842fbc05.cce04", "wires": [ [ "20358c1.fc83f74" ] ] }, { "id": "20358c1.fc83f74", "type": "set", "name": "set vnf-index = vnf_length", "xml": "\n\n", "comments": "", "x": 1759.7465896606445, "y": 193.98352146148682, "z": "842fbc05.cce04", "wires": [] }, { "id": "d0785948.131e88", "type": "set", "name": "set new vnf_length", "xml": "\n\n", "comments": "", "x": 1305.746109008789, "y": 213.26918148994446, "z": "842fbc05.cce04", "wires": [] }, { "id": "2097a67.fbc2c5a", "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": 1115.7455749511719, "y": 828.269118309021, "z": "842fbc05.cce04", "wires": [ [] ] }, { "id": "d5a722bf.9d266", "type": "for", "name": "for each existing VNF", "xml": "\n", "comments": "", "outputs": 1, "x": 1121.7456130981445, "y": 280.2691307067871, "z": "842fbc05.cce04", "wires": [ [ "aceae556.187d88" ] ] }, { "id": "7b2ea8f.f293e58", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1658.3174228668213, "y": 328.4120855331421, "z": "842fbc05.cce04", "wires": [ [ "6db207f2.3f0a88" ] ] }, { "id": "6db207f2.3f0a88", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1796.888780593872, "y": 328.4120464324951, "z": "842fbc05.cce04", "wires": [] }, { "id": "f8ea0727.32b188", "type": "comment", "name": "make sure this vnf-id doesn't exist already", "info": "", "comments": "", "x": 1752.1738967895508, "y": 457.41196870803833, "z": "842fbc05.cce04", "wires": [] }, { "id": "aceae556.187d88", "type": "switchNode", "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 1460.745620727539, "y": 281.26913356781006, "z": "842fbc05.cce04", "wires": [ [ "7b2ea8f.f293e58" ] ] }, { "id": "ff98826e.6bc6d", "type": "set", "name": "set sdncCreate to service data", "xml": "\n\n\n\n", "comments": "", "x": 628.745662689209, "y": 861.269121170044, "z": "842fbc05.cce04", "wires": [] } ]