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=1f85f4c86370d9c7abe3e0de113b29271daa70eb;hb=f515a8831e0036414d69d73030e871dec88180f8;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..1f85f4c8 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,35 @@ [ { - "id": "db0f78a5.c01a3", - "type": "dgstart", - "name": "DGSTART", + "id": "7b71bd92.fd2814", + "type": "block", + "name": "block : atomic", + "xml": "\n", + "atomic": "false", + "comments": "", "outputs": 1, - "x": 160.27777099609375, - "y": 91.94441223144531, - "z": "7ef93f2c.40fb2", + "x": 459, + "y": 325.0000009536743, + "z": "8baeaca1.28233", "wires": [ [ - "d8303e2.7d965c" + "cd94e5aa.ecbb7", + "2023e2ef.c2aaae", + "b67caacf.835018", + "dc45507c.2c758", + "404d2254.b54cb4", + "f8f7ecd5.33f1b", + "192e11b1.7d71e6", + "a92fbbfb.a65698", + "19fc51d8.0cda46", + "14342bec.b0bb44", + "eaf312a9.dac698", + "657f9098.60c5e8", + "d49f5116.ef68d8" ] ] }, { - "id": "d8303e2.7d965c", + "id": "9fc16420.cc4ed8", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -22,57 +37,511 @@ "comments": "", "xml": "", "outputs": 1, - "x": 291.56346130371094, - "y": 141.18252086639404, - "z": "7ef93f2c.40fb2", + "x": 301.00001525878906, + "y": 108.99999237060547, + "z": "8baeaca1.28233", "wires": [ [ - "c458b05f.c1372" + "5abbcf9c.c62d48" ] ] }, { - "id": "c458b05f.c1372", + "id": "5abbcf9c.c62d48", "type": "method", - "name": "method sotn-vf-operation-l2vpn-create", + "name": "sotn-vf-operation-l2vpn-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 294.7063903808594, - "y": 225.94444465637207, - "z": "7ef93f2c.40fb2", + "x": 300.00001525878906, + "y": 208.99999237060547, + "z": "8baeaca1.28233", "wires": [ [ - "c5107308.c6aab" + "7b71bd92.fd2814" ] ] }, { - "id": "c5107308.c6aab", + "id": "ad2ea8c5.fcd77", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 130.50001525878906, + "y": 20, + "z": "8baeaca1.28233", + "wires": [ + [ + "9fc16420.cc4ed8" + ] + ] + }, + { + "id": "2023e2ef.c2aaae", + "type": "for", + "name": "for loop idx - VF input parameters", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 834.2502317428589, + "y": 333.66668009757996, + "z": "8baeaca1.28233", + "wires": [ + [ + "cf0ba013.1e08c8" + ] + ] + }, + { + "id": "cf0ba013.1e08c8", "type": "block", - "name": "block : atomic", - "xml": "\n", + "name": "block", + "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 435.8051109313965, - "y": 443.01862621307373, - "z": "7ef93f2c.40fb2", + "x": 1049.0285749435425, + "y": 331.2222640514374, + "z": "8baeaca1.28233", + "wires": [ + [ + "38f94a22.124166", + "7ae6315a.90c6e8" + ] + ] + }, + { + "id": "38f94a22.124166", + "type": "execute", + "name": "execute split parameterName", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1245.2847776412964, + "y": 308.97040247917175, + "z": "8baeaca1.28233", + "wires": [ + [] + ] + }, + { + "id": "7ae6315a.90c6e8", + "type": "set", + "name": "set parameterName", + "xml": "\n\n", + "comments": "", + "x": 1214.7292051315308, + "y": 345.97051882743835, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "5639a33f.aee984", + "type": "comment", + "name": "Take the parameter names by removing prefix", + "info": "", + "comments": "", + "x": 1218.250433921814, + "y": 268.33334851264954, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "cd94e5aa.ecbb7", + "type": "switchNode", + "name": "switch vf-modules.vf-module_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 816.0000305175781, + "y": 187.00001692771912, + "z": "8baeaca1.28233", + "wires": [ + [ + "543dc8c7.d54a4", + "7bbfeaa9.0bd62c" + ] + ] + }, + { + "id": "543dc8c7.d54a4", + "type": "other", + "name": "Null", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1047.0000410079956, + "y": 163.00001406669617, + "z": "8baeaca1.28233", + "wires": [ + [ + "be09761b.de8e3" + ] + ] + }, + { + "id": "7bbfeaa9.0bd62c", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1047.0000410079956, + "y": 203.00001406669617, + "z": "8baeaca1.28233", + "wires": [ + [ + "655e11f8.e1faa8" + ] + ] + }, + { + "id": "be09761b.de8e3", + "type": "set", + "name": "set vf-index", + "xml": "\n\n", + "comments": "", + "x": 1189.5000410079956, + "y": 163.00001406669617, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "655e11f8.e1faa8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1191.3570852279663, + "y": 202.93652606010437, + "z": "8baeaca1.28233", + "wires": [ + [ + "4b883294.d65484", + "b58a8196.c8fd18" + ] + ] + }, + { + "id": "b58a8196.c8fd18", + "type": "set", + "name": "set vf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 1344.0555601119995, + "y": 172.5556247527711, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "4b883294.d65484", + "type": "for", + "name": "for each existing vf-index", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1400.4840650558472, + "y": 225.7777545452118, + "z": "8baeaca1.28233", + "wires": [ + [ + "46919469.ed5074" + ] + ] + }, + { + "id": "23d12f2a.b840a8", + "type": "comment", + "name": "make sure this network doesn't exist already", + "info": "", + "comments": "", + "x": 1624.1347951889038, + "y": 184.03181195259094, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "46919469.ed5074", + "type": "switchNode", + "name": "switch vf-module-id found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1675.7697858810425, + "y": 225.34925723075867, + "z": "8baeaca1.28233", + "wires": [ + [ + "9a5788e3.06116" + ] + ] + }, + { + "id": "9a5788e3.06116", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1576.4999837875366, + "y": 283.9206883907318, + "z": "8baeaca1.28233", "wires": [ [ - "4e54cc73.474b5c" + "1914f90.a238b87" ] ] }, { - "id": "4e54cc73.474b5c", + "id": "1914f90.a238b87", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1724.2500867843628, + "y": 283.7778804595582, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "f8f7ecd5.33f1b", + "type": "set", + "name": "copy input data to service data", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 829.8532209396362, + "y": 636.4962680339813, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "404d2254.b54cb4", + "type": "execute", + "name": "execute generate-vf-module-index", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 841.1867933273315, + "y": 589.1629703044891, + "z": "8baeaca1.28233", + "wires": [ + [] + ] + }, + { + "id": "dc45507c.2c758", + "type": "set", + "name": "set new vf-module_length", + "xml": "\n", + "comments": "", + "x": 813.1868543624878, + "y": 540.1629703044891, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "b67caacf.835018", + "type": "set", + "name": "set vf-module-request-input.", + "xml": "\n\n", + "comments": "", + "x": 813.1863813400269, + "y": 486.15425848960876, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "192e11b1.7d71e6", + "type": "set", + "name": "set vf-module-level-oper-status", + "xml": "\n\n\n", + "comments": "", + "x": 823.5002088546753, + "y": 734.0000891089439, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "eaf312a9.dac698", + "type": "save", + "name": "save connectivity resource in AAI", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 830.0000696182251, + "y": 779.5000369548798, + "z": "8baeaca1.28233", + "wires": [ + [] + ] + }, + { + "id": "a92fbbfb.a65698", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 703.7222290039062, - "y": 525.5555267333984, - "z": "7ef93f2c.40fb2", + "x": 777.7225427627563, + "y": 872.6739275455475, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "19fc51d8.0cda46", + "type": "for", + "name": "for loop i - Network input parameters", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 841.2539472579956, + "y": 422.5039279460907, + "z": "8baeaca1.28233", + "wires": [ + [ + "757b8d75.3d0a94" + ] + ] + }, + { + "id": "757b8d75.3d0a94", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1128.476824760437, + "y": 422.7262418270111, + "z": "8baeaca1.28233", + "wires": [ + [ + "8a7ad1b3.ba99a8", + "597f978e.f5f578" + ] + ] + }, + { + "id": "8a7ad1b3.ba99a8", + "type": "switchNode", + "name": "switch name", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1316.6986684799194, + "y": 405.05954599380493, + "z": "8baeaca1.28233", + "wires": [ + [ + "f3762745.5848d8" + ] + ] + }, + { + "id": "597f978e.f5f578", + "type": "switchNode", + "name": "switch topology", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1327.5383291244507, + "y": 445.0595440864563, + "z": "8baeaca1.28233", + "wires": [ + [ + "751a61f6.1024c8" + ] + ] + }, + { + "id": "f3762745.5848d8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1503.6986684799194, + "y": 401.05954599380493, + "z": "8baeaca1.28233", + "wires": [ + [ + "254d198b.dac90e" + ] + ] + }, + { + "id": "751a61f6.1024c8", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1497.5383291244507, + "y": 441.0595440864563, + "z": "8baeaca1.28233", + "wires": [ + [ + "bd2b112e.cf89f" + ] + ] + }, + { + "id": "254d198b.dac90e", + "type": "set", + "name": "set name", + "xml": "\n\n\n", + "comments": "", + "x": 1653.6987981796265, + "y": 399.6595525741577, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "bd2b112e.cf89f", + "type": "set", + "name": "set topology", + "xml": "\n\n", + "comments": "", + "x": 1684.8717699050903, + "y": 439.5207009315491, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "14342bec.b0bb44", + "type": "set", + "name": "set vf-module-object-path", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 815.5000867843628, + "y": 685.0313085913658, + "z": "8baeaca1.28233", + "wires": [] + }, + { + "id": "657f9098.60c5e8", + "type": "save", + "name": "save service relationship in AAI", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 830.000147819519, + "y": 827.0001780986786, + "z": "8baeaca1.28233", + "wires": [ + [] + ] + }, + { + "id": "d49f5116.ef68d8", + "type": "set", + "name": "set vnf-index", + "xml": "\n\n\n\n", + "comments": "", + "x": 739, + "y": 124, + "z": "8baeaca1.28233", "wires": [] } ] \ No newline at end of file