X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=sdnc-a1-controller%2Foam%2Fplatform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsdwan%2FGENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json;fp=sdnc-a1-controller%2Foam%2Fplatform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsdwan%2FGENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json;h=413069e0b5426f6260e7761ce1b2b62595998983;hb=b6fe5a1bbad372357f6b441e1657dd8bbe48dc1a;hp=0000000000000000000000000000000000000000;hpb=4e0c72d8a2570e256911eab7cc34f770a1aa327a;p=nonrtric.git diff --git a/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json new file mode 100644 index 00000000..413069e0 --- /dev/null +++ b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-device-create.json @@ -0,0 +1,745 @@ +[ + { + "id": "a55c86e0.b5aa88", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 969.829511642456, + "y": 145.13152599334717, + "z": "13a3e634.05943a", + "wires": [ + [ + "89879683.435e28" + ] + ] + }, + { + "id": "654795a8.0c14ac", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 242.49999809265137, + "y": 172.96871852874756, + "z": "13a3e634.05943a", + "wires": [ + [ + "9d67b8bb.5c3018" + ] + ] + }, + { + "id": "9d67b8bb.5c3018", + "type": "method", + "name": "sdwan-vf-operation-device-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 241.49999809265137, + "y": 272.96871852874756, + "z": "13a3e634.05943a", + "wires": [ + [ + "b03e92e3.4a48b" + ] + ] + }, + { + "id": "5c240948.ac8cb8", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 128, + "y": 65.9687271118164, + "z": "13a3e634.05943a", + "wires": [ + [ + "654795a8.0c14ac" + ] + ] + }, + { + "id": "b03e92e3.4a48b", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 400.4999828338623, + "y": 388.9687271118164, + "z": "13a3e634.05943a", + "wires": [ + [ + "949786f1.863f68", + "ea17361a.fd7708", + "efdf1074.6df6a", + "398e0031.2e059", + "cb5e3f0e.d096d", + "759de3b6.0709dc", + "115eabc8.0c7c94", + "a28188f1.6060e8", + "97ec72bd.6232e", + "e24672d6.3f64f", + "56ec94bf.93da3c", + "9d805d88.8f8ee", + "64fa5b44.3987c4", + "8956e9de.67f788" + ] + ] + }, + { + "id": "949786f1.863f68", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 717.8294200897217, + "y": 146.46486282348633, + "z": "13a3e634.05943a", + "wires": [ + [ + "a55c86e0.b5aa88" + ] + ] + }, + { + "id": "5c7606f2.618b18", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1341.496000289917, + "y": 147.13152885437012, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "89879683.435e28", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1188.1628284454346, + "y": 147.13150787353516, + "z": "13a3e634.05943a", + "wires": [ + [ + "5c7606f2.618b18" + ] + ] + }, + { + "id": "efdf1074.6df6a", + "type": "for", + "name": "for loop idx - VF input parameters", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 798.7501583099365, + "y": 547.6354074478149, + "z": "13a3e634.05943a", + "wires": [ + [ + "aa19f798.d86af8" + ] + ] + }, + { + "id": "aa19f798.d86af8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1013.5285015106201, + "y": 545.1909914016724, + "z": "13a3e634.05943a", + "wires": [ + [ + "5ba25a3d.6d9bd4", + "bcc6d89b.3d5508" + ] + ] + }, + { + "id": "5ba25a3d.6d9bd4", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1209.784704208374, + "y": 522.9391298294067, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + }, + { + "id": "bcc6d89b.3d5508", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1179.2291316986084, + "y": 559.9392461776733, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "ea17361a.fd7708", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 732.2500133514404, + "y": 101.96873188018799, + "z": "13a3e634.05943a", + "wires": [ + [ + "fb03dd5b.a92d3" + ] + ] + }, + { + "id": "fb03dd5b.a92d3", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 918.9166927337646, + "y": 101.30202960968018, + "z": "13a3e634.05943a", + "wires": [ + [ + "54203a8b.1592b4" + ] + ] + }, + { + "id": "54203a8b.1592b4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1100.5833187103271, + "y": 101.30202960968018, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "759de3b6.0709dc", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 783.3531398773193, + "y": 714.4649891853333, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "398e0031.2e059", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n", + "comments": "", + "x": 789.6862964630127, + "y": 610.122971534729, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "cb5e3f0e.d096d", + "type": "call", + "name": "call sdwan-get-vf-module-device-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 815.686674118042, + "y": 666.1232051849365, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + }, + { + "id": "115eabc8.0c7c94", + "type": "set", + "name": "set vf-module-object-path", + "xml": "\n \n\n\n\n", + "comments": "", + "x": 778.5000324249268, + "y": 764.968834400177, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "a28188f1.6060e8", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n\n", + "comments": "", + "x": 786.0001354217529, + "y": 812.9687986373901, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "2bd76b30.e44c14", + "type": "save", + "name": "save 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": 1220.500051498413, + "y": 838.4687461853027, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + }, + { + "id": "e24672d6.3f64f", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 789.4999294281006, + "y": 906.4687976837158, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + }, + { + "id": "97ec72bd.6232e", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 738.2224597930908, + "y": 952.6426405906677, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "5aff085f.4f6678", + "type": "execute", + "name": "execute generate-vf-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1265.6667766571045, + "y": 226.3020715713501, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + }, + { + "id": "6d401f41.38c65", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1018.6663036346436, + "y": 240.9534740447998, + "z": "13a3e634.05943a", + "wires": [ + [ + "5aff085f.4f6678", + "5b632a30.5bb984", + "3542675.5ce1998" + ] + ] + }, + { + "id": "931487e.1357f78", + "type": "set", + "name": "set prop.vf-id", + "xml": "\n\n", + "comments": "", + "x": 1224.1981716156006, + "y": 443.98510932922363, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "4589ca44.abd4b4", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1018.1977977752686, + "y": 396.9848413467407, + "z": "13a3e634.05943a", + "wires": [ + [ + "931487e.1357f78", + "5b632a30.5bb984", + "5d9e7b7e.ca4bf4" + ] + ] + }, + { + "id": "5b632a30.5bb984", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1253.6978969573975, + "y": 320.98486518859863, + "z": "13a3e634.05943a", + "wires": [ + [ + "66c1c6a1.0380b8", + "7a26fc83.04adb4" + ] + ] + }, + { + "id": "4aab28a9.38e418", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1715.4121894836426, + "y": 240.12759113311768, + "z": "13a3e634.05943a", + "wires": [ + [ + "6d61baf9.e5ff54" + ] + ] + }, + { + "id": "6d61baf9.e5ff54", + "type": "set", + "name": "set vf-index=0", + "xml": "\n\n", + "comments": "", + "x": 1863.6978378295898, + "y": 237.1276454925537, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "31602a2e.23f6d6", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1718.8406867980957, + "y": 285.4133825302124, + "z": "13a3e634.05943a", + "wires": [ + [ + "794d6b8.233bf94" + ] + ] + }, + { + "id": "794d6b8.233bf94", + "type": "set", + "name": "set vf-index = vf_length", + "xml": "\n\n", + "comments": "", + "x": 1902.698429107666, + "y": 285.69915103912354, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "66c1c6a1.0380b8", + "type": "set", + "name": "set new vF_length", + "xml": "\n\n", + "comments": "", + "x": 1431.6979007720947, + "y": 349.9848289489746, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "4261b847.26d008", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1668.269338607788, + "y": 380.12776374816895, + "z": "13a3e634.05943a", + "wires": [ + [ + "f7fccba6.c15138" + ] + ] + }, + { + "id": "f7fccba6.c15138", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1806.8406963348389, + "y": 380.127724647522, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "5d0b6c.7fe7e494", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 867.1973781585693, + "y": 364.9847192764282, + "z": "13a3e634.05943a", + "wires": [ + [ + "4589ca44.abd4b4" + ] + ] + }, + { + "id": "cd8f5874.903778", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 870.6662006378174, + "y": 304.95348167419434, + "z": "13a3e634.05943a", + "wires": [ + [ + "6d401f41.38c65" + ] + ] + }, + { + "id": "9419aeb4.031d3", + "type": "comment", + "name": "if SO provide vf-id use that else create new", + "info": "", + "comments": "", + "x": 1568.1973934173584, + "y": 200.9847230911255, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "9d805d88.8f8ee", + "type": "switchNode", + "name": "switch vf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 729.6661968231201, + "y": 329.9534902572632, + "z": "13a3e634.05943a", + "wires": [ + [ + "cd8f5874.903778", + "5d0b6c.7fe7e494" + ] + ] + }, + { + "id": "56ec94bf.93da3c", + "type": "switchNode", + "name": "switch vnf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 729.5312633514404, + "y": 194.99999713897705, + "z": "13a3e634.05943a", + "wires": [ + [ + "8e07f88.10c5a08" + ] + ] + }, + { + "id": "8e07f88.10c5a08", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 891.5313091278076, + "y": 193.99999618530273, + "z": "13a3e634.05943a", + "wires": [ + [ + "33f9f4dc.b667cc" + ] + ] + }, + { + "id": "33f9f4dc.b667cc", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1040.781400680542, + "y": 191.77787399291992, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "7a26fc83.04adb4", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1493.5312404632568, + "y": 266.0000123977661, + "z": "13a3e634.05943a", + "wires": [ + [ + "4aab28a9.38e418", + "31602a2e.23f6d6" + ] + ] + }, + { + "id": "98ab03a3.4fb31", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1485.5312404632568, + "y": 388.49998664855957, + "z": "13a3e634.05943a", + "wires": [ + [ + "4261b847.26d008" + ] + ] + }, + { + "id": "5d9e7b7e.ca4bf4", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1249.5312404632568, + "y": 392.49998664855957, + "z": "13a3e634.05943a", + "wires": [ + [ + "98ab03a3.4fb31" + ] + ] + }, + { + "id": "64fa5b44.3987c4", + "type": "set", + "name": "set prop.sdncCreate=false", + "xml": "\n\n", + "comments": "", + "x": 760.0312404632568, + "y": 58, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "3542675.5ce1998", + "type": "set", + "name": "set prop.sdncCreate=true", + "xml": "\n\n", + "comments": "", + "x": 1279.0312480926514, + "y": 188.99999904632568, + "z": "13a3e634.05943a", + "wires": [] + }, + { + "id": "8956e9de.67f788", + "type": "switchNode", + "name": "switch prop.sdncCreate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 768.0313053131104, + "y": 862.0000276565552, + "z": "13a3e634.05943a", + "wires": [ + [ + "530d4a6f.95a5a4", + "ed2fc8ce.6d54b8" + ] + ] + }, + { + "id": "ed2fc8ce.6d54b8", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 983.0313034057617, + "y": 873.0000276565552, + "z": "13a3e634.05943a", + "wires": [ + [ + "f6984691.7e9e18" + ] + ] + }, + { + "id": "530d4a6f.95a5a4", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 986.0313034057617, + "y": 834.9999961853027, + "z": "13a3e634.05943a", + "wires": [ + [ + "2bd76b30.e44c14" + ] + ] + }, + { + "id": "f6984691.7e9e18", + "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": 1217.0312480926514, + "y": 878.9999990463257, + "z": "13a3e634.05943a", + "wires": [ + [] + ] + } +] \ No newline at end of file