From 992632bd0024580b0bd3f573e232e43157db91bc Mon Sep 17 00:00:00 2001 From: "shashikanth.vh" Date: Fri, 19 Apr 2019 13:01:42 +0000 Subject: [PATCH] SDWAN site-resource to generic-vnf relationship failed Change-Id: I500b260710c0c869d1e2c0cd3a4d17e532250f70 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh Former-commit-id: b90c38f8871cc36434568009d856cb90c8c6448a --- ...ESOURCE-API_sdwan-vf-operation-site-create.json | 364 +++++++++++---------- ...RESOURCE-API_sdwan-vf-operation-site-create.xml | 21 ++ 2 files changed, 204 insertions(+), 181 deletions(-) diff --git a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.json b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.json index 833563e6..b70f8ce2 100644 --- a/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.json +++ b/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.json @@ -1,6 +1,6 @@ [ { - "id": "39688a3a.06a796", + "id": "f2c51e78.6ee01", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", @@ -8,524 +8,526 @@ "comments": "", "xml": "", "outputs": 1, - "x": 265.00390625, - "y": 145.999990940094, - "z": "5099ec4c.e95b94", + "x": 233.5, + "y": 162.99999046325684, + "z": "147f59c8.d7f266", "wires": [ [ - "921891f8.416e5" + "e7f78c27.133fa" ] ] }, { - "id": "921891f8.416e5", + "id": "e7f78c27.133fa", "type": "method", "name": "sdwan-vf-operation-site-create", "xml": "\n", "comments": "", "outputs": 1, - "x": 264.00390625, - "y": 245.999990940094, - "z": "5099ec4c.e95b94", + "x": 232.5, + "y": 262.99999046325684, + "z": "147f59c8.d7f266", "wires": [ [ - "22a013b4.ab58dc" + "31fa463e.82923a" ] ] }, { - "id": "695e0384.f33d9c", + "id": "bac9bd77.fe0f", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 94.50390625, - "y": 56.999998569488525, - "z": "5099ec4c.e95b94", + "x": 85, + "y": 68.00000381469727, + "z": "147f59c8.d7f266", "wires": [ [ - "39688a3a.06a796" + "f2c51e78.6ee01" ] ] }, { - "id": "22a013b4.ab58dc", + "id": "31fa463e.82923a", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 423.00389099121094, - "y": 361.99999952316284, - "z": "5099ec4c.e95b94", + "x": 391.49998474121094, + "y": 378.9999990463257, + "z": "147f59c8.d7f266", "wires": [ [ - "4325b612.73e1e8", - "a6c02374.2dca", - "40ba27b5.057bf8", - "d6478b6b.a2b888", - "59e1bfa3.d11e4", - "1c5585c5.9cdc3a", - "a7e8dd90.c6661", - "2f9ca627.c38e7a", - "40436b2a.16f614", - "64771e44.2196d", - "bb863987.8db5d8", - "462de6d9.81f588" + "dda69c6e.0dcdc", + "73e90791.30e428", + "539f4691.77ee38", + "b886ea54.85e0f8", + "be0d3540.8ebb28", + "788efb60.76f4a4", + "154ced05.a101f3", + "76dbb250.b292cc", + "df7eb194.69b7e", + "6868f266.5fe7ec", + "e78bb1b3.a529d", + "2b07f61e.bf4a1a", + "fd37bb03.271ec8", + "395e35c1.a6a5fa" ] ] }, { - "id": "4325b612.73e1e8", + "id": "dda69c6e.0dcdc", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, - "x": 723.3333129882812, - "y": 253.49612379074097, - "z": "5099ec4c.e95b94", + "x": 691.8294067382812, + "y": 270.4961233139038, + "z": "147f59c8.d7f266", "wires": [ [ - "63fc0005.8f2ee" + "e02bea98.6a2108" ] ] }, { - "id": "63fc0005.8f2ee", + "id": "e02bea98.6a2108", "type": "switchNode", "name": "switch this vnf-id == input vnf-id", "xml": " \n", "comments": "", "outputs": 1, - "x": 975.3334045410156, - "y": 252.1627869606018, - "z": "5099ec4c.e95b94", + "x": 943.8294982910156, + "y": 269.16278648376465, + "z": "147f59c8.d7f266", "wires": [ [ - "c555201.0223fe" + "44afa032.ce578" ] ] }, { - "id": "6fae689f.7fef88", + "id": "c12c2186.d601b", "type": "set", "name": "set vnf-index", "xml": "\n\n", "comments": "", - "x": 1346.9998931884766, - "y": 254.16278982162476, - "z": "5099ec4c.e95b94", + "x": 1315.4959869384766, + "y": 271.1627893447876, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "c555201.0223fe", + "id": "44afa032.ce578", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, - "x": 1193.6667213439941, - "y": 254.1627688407898, - "z": "5099ec4c.e95b94", + "x": 1162.1628150939941, + "y": 271.16276836395264, + "z": "147f59c8.d7f266", "wires": [ [ - "6fae689f.7fef88" + "c12c2186.d601b" ] ] }, { - "id": "d6478b6b.a2b888", + "id": "b886ea54.85e0f8", "type": "for", "name": "for loop idx - VF input parameters", "xml": "\n\n", "comments": "", "outputs": 1, - "x": 797.2540969848633, - "y": 475.6666569709778, - "z": "5099ec4c.e95b94", + "x": 765.7501907348633, + "y": 492.6666564941406, + "z": "147f59c8.d7f266", "wires": [ [ - "e10e6c76.58a1d" + "d6ac010b.ad6e" ] ] }, { - "id": "e10e6c76.58a1d", + "id": "d6ac010b.ad6e", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1012.0324401855469, - "y": 473.2222409248352, - "z": "5099ec4c.e95b94", + "x": 980.5285339355469, + "y": 490.22224044799805, + "z": "147f59c8.d7f266", "wires": [ [ - "9a3f095b.53aca8", - "454b0ff.c77c1f" + "265e23d4.36e02c", + "e3c83d1b.72db1" ] ] }, { - "id": "9a3f095b.53aca8", + "id": "265e23d4.36e02c", "type": "execute", "name": "execute split parameterName", "xml": "\n\n\n\n", "comments": "", "outputs": 1, - "x": 1208.2886428833008, - "y": 450.9703793525696, - "z": "5099ec4c.e95b94", + "x": 1176.7847366333008, + "y": 467.9703788757324, + "z": "147f59c8.d7f266", "wires": [ [] ] }, { - "id": "454b0ff.c77c1f", + "id": "e3c83d1b.72db1", "type": "set", "name": "set parameterName", "xml": "\n\n", "comments": "", - "x": 1177.7330703735352, - "y": 487.9704957008362, - "z": "5099ec4c.e95b94", + "x": 1146.2291641235352, + "y": 504.970495223999, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "1b7ed90b.0ee057", + "id": "6cbee016.f6042", "type": "comment", "name": "Take the parameter names by removing prefix", "info": "", "comments": "", - "x": 1181.2542991638184, - "y": 410.33332538604736, - "z": "5099ec4c.e95b94", + "x": 1149.7503929138184, + "y": 427.3333249092102, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "a6c02374.2dca", + "id": "73e90791.30e428", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, - "x": 737.75390625, - "y": 208.99999284744263, - "z": "5099ec4c.e95b94", + "x": 706.25, + "y": 225.99999237060547, + "z": "147f59c8.d7f266", "wires": [ [ - "698329a9.119718" + "d8c3ff3.9b067" ] ] }, { - "id": "698329a9.119718", + "id": "d8c3ff3.9b067", "type": "other", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, - "x": 924.4205856323242, - "y": 208.33329057693481, - "z": "5099ec4c.e95b94", + "x": 892.9166793823242, + "y": 225.33329010009766, + "z": "147f59c8.d7f266", "wires": [ [ - "f31a5878.bf4fd8" + "94ec6856.a83cd8" ] ] }, { - "id": "f31a5878.bf4fd8", + "id": "94ec6856.a83cd8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", - "x": 1106.0872116088867, - "y": 208.33329057693481, - "z": "5099ec4c.e95b94", + "x": 1074.5833053588867, + "y": 225.33329010009766, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "40ba27b5.057bf8", + "id": "539f4691.77ee38", "type": "switchNode", "name": "switch vf-modules.vf-module_length", "xml": "\n", "comments": "", "outputs": 1, - "x": 779.0038957595825, - "y": 328.99999380111694, - "z": "5099ec4c.e95b94", + "x": 747.4999895095825, + "y": 345.9999933242798, + "z": "147f59c8.d7f266", "wires": [ [ - "51b4cfc4.d81ec", - "9cba331b.ccedc" + "83439569.31aa38", + "bcb4cae0.4f9908" ] ] }, { - "id": "51b4cfc4.d81ec", + "id": "83439569.31aa38", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, - "x": 1010.00390625, - "y": 304.999990940094, - "z": "5099ec4c.e95b94", + "x": 978.5, + "y": 321.99999046325684, + "z": "147f59c8.d7f266", "wires": [ [ - "3f2cb9e5.051a76" + "ba3dff03.8dc24" ] ] }, { - "id": "9cba331b.ccedc", + "id": "bcb4cae0.4f9908", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 1010.00390625, - "y": 344.999990940094, - "z": "5099ec4c.e95b94", + "x": 978.5, + "y": 361.99999046325684, + "z": "147f59c8.d7f266", "wires": [ [ - "e0c33286.cb104" + "890fe4fa.c0f128" ] ] }, { - "id": "3f2cb9e5.051a76", + "id": "ba3dff03.8dc24", "type": "set", "name": "set vf-index", "xml": "\n\n", "comments": "", - "x": 1152.50390625, - "y": 304.999990940094, - "z": "5099ec4c.e95b94", + "x": 1121, + "y": 321.99999046325684, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "e0c33286.cb104", + "id": "890fe4fa.c0f128", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1154.3609504699707, - "y": 344.9365029335022, - "z": "5099ec4c.e95b94", + "x": 1122.8570442199707, + "y": 361.93650245666504, + "z": "147f59c8.d7f266", "wires": [ [ - "8b8b9efa.275ce", - "1791a391.e4fccc" + "3895380d.b43d08", + "ba2eca23.0f6508" ] ] }, { - "id": "1791a391.e4fccc", + "id": "ba2eca23.0f6508", "type": "set", "name": "set vf-index", "xml": "\n\n\n\n", "comments": "", - "x": 1307.059425354004, - "y": 314.55560162616894, - "z": "5099ec4c.e95b94", + "x": 1275.555519104004, + "y": 331.5556011493318, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "8b8b9efa.275ce", + "id": "3895380d.b43d08", "type": "for", "name": "for each existing vf-index", "xml": "\n", "comments": "", "outputs": 1, - "x": 1363.4879302978516, - "y": 367.7777314186096, - "z": "5099ec4c.e95b94", + "x": 1331.9840240478516, + "y": 384.77773094177246, + "z": "147f59c8.d7f266", "wires": [ [ - "aaa91538.94bcc8" + "8202a636.7f9518" ] ] }, { - "id": "bd3d2242.9164e", + "id": "51af10a6.1b1e3", "type": "comment", "name": "make sure this network doesn't exist already", "info": "", "comments": "", - "x": 1587.1386604309082, - "y": 326.03178882598877, - "z": "5099ec4c.e95b94", + "x": 1555.6347541809082, + "y": 343.0317883491516, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "aaa91538.94bcc8", + "id": "8202a636.7f9518", "type": "switchNode", "name": "switch vf-module-id found", "xml": "\n", "comments": "", "outputs": 1, - "x": 1638.7736511230469, - "y": 367.3492341041565, - "z": "5099ec4c.e95b94", + "x": 1607.2697448730469, + "y": 384.34923362731934, + "z": "147f59c8.d7f266", "wires": [ [ - "a84edb80.0d80e8" + "ce7e5cca.15004" ] ] }, { - "id": "a84edb80.0d80e8", + "id": "ce7e5cca.15004", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, - "x": 1539.503849029541, - "y": 425.92066526412964, - "z": "5099ec4c.e95b94", + "x": 1507.999942779541, + "y": 442.9206647872925, + "z": "147f59c8.d7f266", "wires": [ [ - "7ca646fd.066d78" + "7c5cfe61.fdc3f" ] ] }, { - "id": "7ca646fd.066d78", + "id": "7c5cfe61.fdc3f", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", - "x": 1687.2539520263672, - "y": 425.77785733295605, - "z": "5099ec4c.e95b94", + "x": 1655.7500457763672, + "y": 442.7778568561189, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "40436b2a.16f614", + "id": "df7eb194.69b7e", "type": "set", "name": "copy input data to service data", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", - "x": 790.8571014404297, - "y": 755.4962139129639, - "z": "5099ec4c.e95b94", + "x": 759.3531951904297, + "y": 772.4962134361267, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "2f9ca627.c38e7a", + "id": "76dbb250.b292cc", "type": "execute", "name": "execute generate-vf-module-index", "xml": "\n\n", "comments": "", "outputs": 1, - "x": 799.1905975341797, - "y": 702.1629467010498, - "z": "5099ec4c.e95b94", + "x": 767.6866912841797, + "y": 719.1629462242126, + "z": "147f59c8.d7f266", "wires": [ [] ] }, { - "id": "a7e8dd90.c6661", + "id": "154ced05.a101f3", "type": "set", "name": "set new vf-module_length", "xml": "\n", "comments": "", - "x": 773.1905746459961, - "y": 648.1628403663635, - "z": "5099ec4c.e95b94", + "x": 741.6866683959961, + "y": 665.1628398895264, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "59e1bfa3.d11e4", + "id": "be0d3540.8ebb28", "type": "set", "name": "set vf-module-request-input.", "xml": "\n\n", "comments": "", - "x": 788.1902351379395, - "y": 538.1542210578918, - "z": "5099ec4c.e95b94", + "x": 756.6863288879395, + "y": 555.1542205810547, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "1c5585c5.9cdc3a", + "id": "788efb60.76f4a4", "type": "call", "name": "call sdwan-get-vf-module-site-param", "xml": "\n", "comments": "", "outputs": 1, - "x": 804.190544128418, - "y": 590.154402256012, - "z": "5099ec4c.e95b94", + "x": 772.686637878418, + "y": 607.1544017791748, + "z": "147f59c8.d7f266", "wires": [ [] ] }, { - "id": "64771e44.2196d", + "id": "6868f266.5fe7ec", "type": "set", "name": "set vf-module-object-path", "xml": "\n\n\n\n\n", "comments": "", - "x": 786.0039939880371, - "y": 806.0000591278076, - "z": "5099ec4c.e95b94", + "x": 754.5000877380371, + "y": 823.0000586509705, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "bb863987.8db5d8", + "id": "e78bb1b3.a529d", "type": "set", "name": "set vf-module-level-oper-status", "xml": "\n\n\n\n", "comments": "", - "x": 795.5040130615234, - "y": 854.9999685287476, - "z": "5099ec4c.e95b94", + "x": 764.0001068115234, + "y": 871.9999680519104, + "z": "147f59c8.d7f266", "wires": [] }, { - "id": "670cd372.9429ec", + "id": "fd37bb03.271ec8", "type": "save", "name": "save sdwan vpn resource in AAI", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 798.0039482116699, - "y": 900.4999747276306, - "z": "5099ec4c.e95b94", + "x": 766.5000419616699, + "y": 917.4999742507935, + "z": "147f59c8.d7f266", "wires": [ [] ] }, { - "id": "4d453124.5225e", + "id": "395e35c1.a6a5fa", "type": "save", "name": "save service relationship in AAI", - "xml": "\n\n\n\n\n\n\n\n", + "xml": "\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 797.0038909912109, - "y": 947.5000224113464, - "z": "5099ec4c.e95b94", + "x": 765.4999847412109, + "y": 964.5000219345093, + "z": "147f59c8.d7f266", "wires": [ [] ] }, { - "id": "462de6d9.81f588", + "id": "2b07f61e.bf4a1a", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", - "x": 745.7264213562012, - "y": 993.6738653182983, - "z": "5099ec4c.e95b94", + "x": 714.2225151062012, + "y": 1010.6738648414612, + "z": "147f59c8.d7f266", "wires": [] } ] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.xml index d13f6809..e4bdd6f2 100644 --- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.xml +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-site-create.xml @@ -104,6 +104,27 @@ + + + + + + + + + + + + + + + + + + -- 2.16.6