X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fgeneric-resource-api%2Fsrc%2Fmain%2Fjson%2Fsotn_nni%2FGENERIC-RESOURCE-API_sotn-vf-operation-l2vpn-create.json;h=951a18f4ea6c0c61e95a7981e1d8032ec5e878eb;hb=84477fc8f92e417f809ffe040ffb12de46a43a77;hp=99d429eb550c60ff067f55db131c8912201cafa7;hpb=92555a71ca2c208d33cbbb043c755f0175c6decc;p=sdnc%2Foam.git diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-l2vpn-create.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-l2vpn-create.json index 99d429eb..951a18f4 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-l2vpn-create.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-vf-operation-l2vpn-create.json @@ -1,20 +1,20 @@ [ { - "id": "db0f78a5.c01a3", + "id": "ed294889.e18cd8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 160.27777099609375, - "y": 91.94441223144531, - "z": "7ef93f2c.40fb2", + "x": 117, + "y": 57, + "z": "a8db409e.810378", "wires": [ [ - "d8303e2.7d965c" + "d573cd56.a0362" ] ] }, { - "id": "d8303e2.7d965c", + "id": "d573cd56.a0362", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,57 +22,466 @@ "comments": "", "xml": "", "outputs": 1, - "x": 291.56346130371094, - "y": 141.18252086639404, - "z": "7ef93f2c.40fb2", + "x": 248.2856903076172, + "y": 106.23810863494873, + "z": "a8db409e.810378", "wires": [ [ - "c458b05f.c1372" + "ab294e07.a9e7f" ] ] }, { - "id": "c458b05f.c1372", + "id": "ab294e07.a9e7f", "type": "method", "name": "method sotn-vf-operation-l2vpn-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 294.7063903808594, - "y": 225.94444465637207, - "z": "7ef93f2c.40fb2", + "x": 251.42861938476562, + "y": 191.00003242492676, + "z": "a8db409e.810378", "wires": [ [ - "c5107308.c6aab" + "3b2ee2be.0d5776" ] ] }, { - "id": "c5107308.c6aab", + "id": "3b2ee2be.0d5776", "type": "block", "name": "block : atomic", - "xml": "\n", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 664.2380447387695, + "y": 394.6666717529297, + "z": "a8db409e.810378", + "wires": [ + [ + "7075470e.ead518", + "a887fb8.23d1908", + "c96cd735.589ad8", + "6d0e8b42.1f8964", + "49bfb25c.1c60ac", + "3b8acefc.66b31a", + "6eb961ad.5ae338", + "adbadf0e.275b3", + "c0c21f0e.1b5958", + "f1922be.86c2058", + "d0ca9568.fe847", + "5bbdffcc.b3f3b8" + ] + ] + }, + { + "id": "a887fb8.23d1908", + "type": "set", + "name": "set vnf-level-oper-status to Created", + "xml": "\n\n\n\n", + "comments": "", + "x": 1086.3848571777344, + "y": 758.6706044944003, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "7075470e.ead518", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1078.2380447387695, + "y": 653.6668565543368, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "49bfb25c.1c60ac", + "type": "execute", + "name": "execute generate-vnf-index", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1066.571548461914, + "y": 603.3334405692294, + "z": "a8db409e.810378", + "wires": [ + [] + ] + }, + { + "id": "c0c21f0e.1b5958", + "type": "set", + "name": "set vnf-index to service data", + "xml": "\n\n", + "comments": "", + "x": 1077.5716247558594, + "y": 710.3334443839267, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "c96cd735.589ad8", + "type": "switchNode", + "name": "switch service-data.vnfs.vnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1093.5713653564453, + "y": 273.3333633216098, + "z": "a8db409e.810378", + "wires": [ + [ + "9138e1fa.f1d37", + "bf45ff7d.c852e" + ] + ] + }, + { + "id": "9138e1fa.f1d37", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1328.2857513427734, + "y": 268.47618367988616, + "z": "a8db409e.810378", + "wires": [ + [ + "4dbced61.ca9034" + ] + ] + }, + { + "id": "4dbced61.ca9034", + "type": "set", + "name": "set vnf-index=0", + "xml": "\n\n", + "comments": "", + "x": 1488.5714569091797, + "y": 268.47627523262054, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "bf45ff7d.c852e", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1324.7142906188965, + "y": 301.7620151313022, + "z": "a8db409e.810378", + "wires": [ + [ + "dbddb28c.bce1e8" + ] + ] + }, + { + "id": "33a0ff35.932e78", + "type": "set", + "name": "set vnf-index = vnf_length", + "xml": "\n\n", + "comments": "", + "x": 1717.571533203125, + "y": 280.0477407248691, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "36e21bba.2e2ef4", + "type": "for", + "name": "for each existing VNF", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1706.0001525878906, + "y": 315.04771259147674, + "z": "a8db409e.810378", + "wires": [ + [ + "7dde789c.f76928" + ] + ] + }, + { + "id": "dbddb28c.bce1e8", + "type": "block", + "name": "block", + "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 435.8051109313965, - "y": 443.01862621307373, - "z": "7ef93f2c.40fb2", + "x": 1459.4285736083984, + "y": 303.76198461372405, + "z": "a8db409e.810378", + "wires": [ + [ + "33a0ff35.932e78", + "36e21bba.2e2ef4" + ] + ] + }, + { + "id": "7dde789c.f76928", + "type": "switchNode", + "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2099.285888671875, + "y": 315.61919668037444, + "z": "a8db409e.810378", + "wires": [ + [ + "5924827c.34c2fc" + ] + ] + }, + { + "id": "5924827c.34c2fc", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2380.571590423584, + "y": 314.19060209114105, + "z": "a8db409e.810378", "wires": [ [ - "4e54cc73.474b5c" + "46ba128f.50acd4" ] ] }, { - "id": "4e54cc73.474b5c", + "id": "88b8e912.2900e8", + "type": "comment", + "name": "make sure this vnf-id doesn't exist already", + "info": "", + "comments": "", + "x": 2068.4285049438477, + "y": 279.1905887397006, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "6d0e8b42.1f8964", + "type": "set", + "name": "set new vnf_length", + "xml": "\n\n", + "comments": "", + "x": 1038.571548461914, + "y": 551.3334372313693, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "3b8acefc.66b31a", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 703.7222290039062, - "y": 525.5555267333984, - "z": "7ef93f2c.40fb2", + "x": 1025.5715103149414, + "y": 1021.5969560416415, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "6eb961ad.5ae338", + "type": "set", + "name": "set vnf-index and vnf-object-path", + "xml": "\n\n", + "comments": "", + "x": 1079.5715408325195, + "y": 799.5968749793246, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "46ba128f.50acd4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2509.1429595947266, + "y": 365.1906163962558, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "adbadf0e.275b3", + "type": "save", + "name": "save AnAI - l2vpn.operational-status", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1134.5458450317383, + "y": 909.247092035599, + "z": "a8db409e.810378", + "wires": [ + [] + ] + }, + { + "id": "204db5a4.c326da", + "type": "comment", + "name": "TODO: change AAI models", + "info": "", + "comments": "", + "x": 1068.1821060180664, + "y": 868.9743078025058, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "e76c21c2.4a838", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1494.7395935058594, + "y": 362.7500076564029, + "z": "a8db409e.810378", + "wires": [ + [] + ] + }, + { + "id": "11945653.6c33ba", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1298.4833908081055, + "y": 367.0018806727603, + "z": "a8db409e.810378", + "wires": [ + [ + "e76c21c2.4a838", + "e0fb04c6.a15c88" + ] + ] + }, + { + "id": "f1922be.86c2058", + "type": "for", + "name": "for loop idx - VNF input parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1083.7050476074219, + "y": 369.4462967189029, + "z": "a8db409e.810378", + "wires": [ + [ + "11945653.6c33ba" + ] + ] + }, + { + "id": "d0ca9568.fe847", + "type": "set", + "name": "set vnf-request-input.", + "xml": "\n\n", + "comments": "", + "x": 1040.7046813964844, + "y": 439.7710037501529, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "e0fb04c6.a15c88", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1471.7395935058594, + "y": 408.7500076564029, + "z": "a8db409e.810378", + "wires": [] + }, + { + "id": "5bbdffcc.b3f3b8", + "type": "for", + "name": "for each sdwan-get-request-input-param", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1096.7395935058594, + "y": 491.7500076564029, + "z": "a8db409e.810378", + "wires": [ + [ + "e0f56e7c.d34a1" + ] + ] + }, + { + "id": "e0f56e7c.d34a1", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1322.9722595214844, + "y": 490.0937576564029, + "z": "a8db409e.810378", + "wires": [ + [ + "5be518f3.e26978" + ] + ] + }, + { + "id": "5be518f3.e26978", + "type": "switchNode", + "name": "switch vnf name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1479.4722595214844, + "y": 488.09381869155914, + "z": "a8db409e.810378", + "wires": [ + [ + "3bfa8dc2.ee3a5a" + ] + ] + }, + { + "id": "3bfa8dc2.ee3a5a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1640.4726257324219, + "y": 488.0938797267154, + "z": "a8db409e.810378", + "wires": [ + [ + "5f201fd1.6acc3" + ] + ] + }, + { + "id": "5f201fd1.6acc3", + "type": "set", + "name": "set vnf name", + "xml": "\n\n", + "comments": "", + "x": 1798.4727478027344, + "y": 486.69391634780914, + "z": "a8db409e.810378", "wires": [] } ] \ No newline at end of file