X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdnc-a1-controller%2Foam%2Fplatform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsdwan%2FGENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json;fp=sdnc-a1-controller%2Foam%2Fplatform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsdwan%2FGENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json;h=cf08b57bae7b9ad9424dddb642271a05222235cc;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-lanport-create.json b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json new file mode 100644 index 00000000..cf08b57b --- /dev/null +++ b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-lanport-create.json @@ -0,0 +1,577 @@ +[ + { + "id": "3563dba1.d09964", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 431.0104064941406, + "y": 355.1628177165985, + "z": "ad703000.c2e0d", + "wires": [ + [ + "5ddfe38c.3aa86c", + "5a21a65a.69db48", + "cc416a47.18fef8", + "be6d233d.af70d", + "a80fd5f3.86e118", + "d2ca1c0d.40fdc", + "768823c2.5ac1cc", + "94ccf971.360848", + "4d1e575f.68db78", + "6992ab61.1740b4", + "494976dc.41e7f8", + "40bceee5.21d0e", + "c03fc9ca.e96578", + "742cd454.7acabc", + "e5ba2a4b.c03198" + ] + ] + }, + { + "id": "5ddfe38c.3aa86c", + "type": "for", + "name": "for loop idx - VF input parameters", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 777.2605667114258, + "y": 337.82948660850525, + "z": "ad703000.c2e0d", + "wires": [ + [ + "598a5263.1331ac" + ] + ] + }, + { + "id": "598a5263.1331ac", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 992.0389099121094, + "y": 335.38507056236267, + "z": "ad703000.c2e0d", + "wires": [ + [ + "76ce96e5.bf7bc8", + "55b2b4f6.971cdc" + ] + ] + }, + { + "id": "76ce96e5.bf7bc8", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1188.2951126098633, + "y": 313.13320899009705, + "z": "ad703000.c2e0d", + "wires": [ + [] + ] + }, + { + "id": "55b2b4f6.971cdc", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1157.7395401000977, + "y": 350.13332533836365, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "ba810934.3ff408", + "type": "comment", + "name": "Take the parameter names by removing prefix", + "info": "", + "comments": "", + "x": 815.2607688903809, + "y": 294.4961540699005, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "cc416a47.18fef8", + "type": "set", + "name": "set new vf-module_length", + "xml": "\n", + "comments": "", + "x": 756.1971817016602, + "y": 496.32575964927673, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "5a21a65a.69db48", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n", + "comments": "", + "x": 763.1967697143555, + "y": 391.3170254230499, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "768823c2.5ac1cc", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 768.363525390625, + "y": 604.4963715076447, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "94ccf971.360848", + "type": "set", + "name": "set vf-module-object-path", + "xml": "\n \n\n\n\n", + "comments": "", + "x": 756.5104503631592, + "y": 656.0002176761627, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "4d1e575f.68db78", + "type": "save", + "name": "save sdwan lan-port-config resource in AAI", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 811.5104293823242, + "y": 748.5002000331879, + "z": "ad703000.c2e0d", + "wires": [ + [] + ] + }, + { + "id": "6992ab61.1740b4", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 771.5103454589844, + "y": 795.5001881122589, + "z": "ad703000.c2e0d", + "wires": [ + [] + ] + }, + { + "id": "494976dc.41e7f8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 722.2328910827637, + "y": 842.6740472316742, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "be6d233d.af70d", + "type": "switchNode", + "name": "switch vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 732.4309749603271, + "y": 44.66670227050781, + "z": "ad703000.c2e0d", + "wires": [ + [ + "a4292aa6.75e0c8" + ] + ] + }, + { + "id": "a4292aa6.75e0c8", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 919.0976543426514, + "y": 44, + "z": "ad703000.c2e0d", + "wires": [ + [ + "f5b1afdf.f5a4e" + ] + ] + }, + { + "id": "f5b1afdf.f5a4e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1100.7642803192139, + "y": 44, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "a80fd5f3.86e118", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 770.6809968948364, + "y": 221.66669631004333, + "z": "ad703000.c2e0d", + "wires": [ + [ + "c9c58b29.2dfa58", + "8390bbc5.321ad8" + ] + ] + }, + { + "id": "c9c58b29.2dfa58", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1001.6810073852539, + "y": 197.66669344902039, + "z": "ad703000.c2e0d", + "wires": [ + [ + "dc09b12c.dd3fe" + ] + ] + }, + { + "id": "8390bbc5.321ad8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1001.6810073852539, + "y": 237.66669344902039, + "z": "ad703000.c2e0d", + "wires": [ + [ + "3643e6d4.7f439a" + ] + ] + }, + { + "id": "dc09b12c.dd3fe", + "type": "set", + "name": "set vf-index", + "xml": "\n\n", + "comments": "", + "x": 1144.181007385254, + "y": 197.66669344902039, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "3643e6d4.7f439a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1146.0380516052246, + "y": 237.6032054424286, + "z": "ad703000.c2e0d", + "wires": [ + [ + "38575d2d.74e912", + "98424ce4.789a1" + ] + ] + }, + { + "id": "98424ce4.789a1", + "type": "set", + "name": "set vf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 1298.7365264892578, + "y": 207.22230413509533, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "38575d2d.74e912", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1355.1650314331055, + "y": 260.444433927536, + "z": "ad703000.c2e0d", + "wires": [ + [ + "6f409c8c.594684" + ] + ] + }, + { + "id": "12f39766.bab9b9", + "type": "comment", + "name": "make sure this network doesn't exist already", + "info": "", + "comments": "", + "x": 1578.815761566162, + "y": 218.69849133491516, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "6f409c8c.594684", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1630.4507522583008, + "y": 260.0159366130829, + "z": "ad703000.c2e0d", + "wires": [ + [ + "34043894.3a1738" + ] + ] + }, + { + "id": "34043894.3a1738", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1531.180950164795, + "y": 318.58736777305603, + "z": "ad703000.c2e0d", + "wires": [ + [ + "e047ad76.2601d" + ] + ] + }, + { + "id": "e047ad76.2601d", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1678.931053161621, + "y": 318.44455984188244, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "d2ca1c0d.40fdc", + "type": "call", + "name": "call sdwan-get-vf-module-lanport-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 802.0104446411133, + "y": 444.1628510951996, + "z": "ad703000.c2e0d", + "wires": [ + [] + ] + }, + { + "id": "40bceee5.21d0e", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n\n", + "comments": "", + "x": 773.0104141235352, + "y": 698.1667354106903, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "53017383.9c8f0c", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 100.01041412353516, + "y": 71.16673541069031, + "z": "ad703000.c2e0d", + "wires": [ + [ + "b88f4175.84605" + ] + ] + }, + { + "id": "b88f4175.84605", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 214.51041221618652, + "y": 178.16672682762146, + "z": "ad703000.c2e0d", + "wires": [ + [ + "9de4488f.4b0818" + ] + ] + }, + { + "id": "9de4488f.4b0818", + "type": "method", + "name": "sdwan-vf-operation-lanport-create", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 213.51041221618652, + "y": 278.16672682762146, + "z": "ad703000.c2e0d", + "wires": [ + [ + "3563dba1.d09964" + ] + ] + }, + { + "id": "c03fc9ca.e96578", + "type": "execute", + "name": "execute generate-vf-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 755.0104598999023, + "y": 552.6667287349701, + "z": "ad703000.c2e0d", + "wires": [ + [] + ] + }, + { + "id": "742cd454.7acabc", + "type": "for", + "name": "for each vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 722.0103950500488, + "y": 99.16673731803894, + "z": "ad703000.c2e0d", + "wires": [ + [ + "3ed11716.45d018" + ] + ] + }, + { + "id": "3ed11716.45d018", + "type": "switchNode", + "name": "switch this vnf-id == input vnf-id", + "xml": " \n", + "comments": "", + "outputs": 1, + "x": 973.0104904174805, + "y": 94.83335781097412, + "z": "ad703000.c2e0d", + "wires": [ + [ + "6c9c624d.566c8c" + ] + ] + }, + { + "id": "6c9c624d.566c8c", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1191.343807220459, + "y": 96.83333969116211, + "z": "ad703000.c2e0d", + "wires": [ + [ + "acf4ddfd.c60e5" + ] + ] + }, + { + "id": "acf4ddfd.c60e5", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n", + "comments": "", + "x": 1344.6769790649414, + "y": 96.83336067199707, + "z": "ad703000.c2e0d", + "wires": [] + }, + { + "id": "e5ba2a4b.c03198", + "type": "switchNode", + "name": "switch vnf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 736.0104141235352, + "y": 160.1667354106903, + "z": "ad703000.c2e0d", + "wires": [ + [ + "5ddfe829.c49618" + ] + ] + }, + { + "id": "5ddfe829.c49618", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 898.0104598999023, + "y": 159.166734457016, + "z": "ad703000.c2e0d", + "wires": [ + [ + "8cdafc69.f1e95" + ] + ] + }, + { + "id": "8cdafc69.f1e95", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1047.2605514526367, + "y": 156.94461226463318, + "z": "ad703000.c2e0d", + "wires": [] + } +] \ No newline at end of file