summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-14Using RestApiCallNode instead of RestconfApiCallNode and updating templates ↵Hesam Rahimi4-213/+301
accordingly. - This is also required for F release. Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I527253d75dd1e49e87877b17588c1d4c2c3dbed1 (cherry picked from commit 45668145649102a2b1b2378e682c8e23f756a8b8 [formerly ca9f45cb92f35a6f0235f0a84e8d7b2f50e0e0de]) Former-commit-id: a8786d6a8732bb691c5a08583af4d8b960b764d0
2020-05-13Adding local-link-connectivity-list (llcl) information to match ttp and tp ↵Hesam Rahimi6-389/+1425
locally (to support NNI-based Service creation use-case). - This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I24f1ef56884b874baed029182a984945080af769 (cherry picked from commit fb18306b26c323d9f0fbe8e0b5f049e9ed85f75e [formerly 4ff90dd1689d772865399ab5a995119981b127e1]) Former-commit-id: f9e094a2b8809cb64ca9179f7fd594f647af9be2
2020-05-07NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).Hesam Rahimi18-3275/+3702
- This is needed for F release Issue-ID: SDNC-1184 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: Ib35d7a70e862c6068d9e3edc10f7d80ba5764e6a (cherry picked from commit ccf839a4815dc7e26deaf36627d04c0a4587780b [formerly f515a8831e0036414d69d73030e871dec88180f8]) Former-commit-id: fe1e29bd322bdb230b2bcf69fd3823567f11f7f2
2020-05-01self-serve DG fixCheung, Pat (kc1472)4-12/+44
default value to success when RA returns it as emptystring and object status is success Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I0a38d525d54a83c2863b73d944935defbb02b495 (cherry picked from commit ad9e8072cf43eead5021c526bb8397e7720b900c [formerly 1df36cd2a20f26dfa1c80bc5c3baaa03140f1987]) Former-commit-id: ceb230e77fe7b3c32d60772687d9955e14721214
2020-04-23self-serve DG bugfixCheung, Pat (kc1472)4-42/+26
fix cds ra response to yang model mapping Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I54cdb6fec0bd448b99344868e894bf65dc2f26fc (cherry picked from commit f2572405ddda75817b0e7fb4ecd072be5788d535 [formerly cfddfad6cdbe087a0b75c5df73cf059dbe2d700f]) Former-commit-id: 80423bcdfc78f2e412d64fc2be7050da76a7383a
2020-04-03Merge "self serve DG bugfix" into frankfurtDan Timoney4-22/+46
Former-commit-id: 29e187d698c1a88605e74f3f372cb0c98aebb9e0
2020-04-03Bug fixed related to service-instance metadatRahul_cool10-1614/+2233
Issue-ID: SDNC-1021 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I5a48fd7e119ba4a4c32daa33785e637521315838 (cherry picked from commit 36b54b31d97fd230a18aefe0af76cbdefd95a89d [formerly 5a25099f4388a07809b5f5501cbf14035f860d78]) Former-commit-id: a4d17814695af5e4b6a83167b4d31b0a19a9db52
2020-04-03self serve DG bugfixCheung, Pat (kc1472)4-22/+46
updated ra-assignment DG to identify ra-response from mapping and mesed-template data Issue-ID: SDNC-1140 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I80e7316c8d4961520a5d0d41a06f0becbb90807e (cherry picked from commit 23aa280a5ae737594806ecefa1c1c139a5d69286 [formerly 6959ebe30426c49593c3d4809f8996b9a9f4b8c1]) Former-commit-id: 1422ab394dbf64ac513e2bc09543135015a2234e
2020-04-01Moved bbs logic from network-topoly-operation to vnfRahul_cool16-471/+6933
Issue-ID: SDNC-1021 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I720bd21ab355d4d3cad3448d814d9ae5a4da82f3 (cherry picked from commit d456643032f4748e60f19f1bab6b58184595f4ad [formerly a5e6280beda10b6cc031229dfbe59fcda2ead6f9]) Former-commit-id: dd745293c03a55318df2d58a886b77ba9352a5b4
2020-03-19Small bug fixes mostly syntax errors in some DGs.Hesam Rahimi4-771/+797
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I9952824cfdaab6d9b43cf2e5936f70e74b3ce116 Former-commit-id: c5ddeebff270e2af4c3fdaac3d3223057e2f642b
2020-03-04DGs for SOTN NNI based service creationHesam Rahimi27-295/+8541
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74 Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77
2020-03-04Merge "SDNC DGs updated for nni usecase"Dan Timoney29-924/+2432
Former-commit-id: 035855121e4b6eed9012809e841b6345a1a11cc3
2020-03-04SDNC DGs updated for nni usecaseRahul_cool29-924/+2432
New Dgs are added for SOTN-NNI usecase Issue-ID: SDNC-899 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I33ab797c4d0f5b3f11e78843127cd373c478d594 Former-commit-id: 25d232700159699e44822acaa5f1d850292eb501
2020-03-02Mapping based RA ProcessingCheung, Pat (kc1472)13-2425/+415
VNF and vf-module assign DG changes to support mapping based RA processing Issue-ID: SDNC-1036 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Id8533ef28fdd66912be1f1892465abfda51de401 Former-commit-id: d0da971041814680bcdc8cfc7ed37c76026b8e93
2020-01-23Add missing backticks in test expressionDan Timoney4-142/+142
Backticks were missing from test expression, causing test not to be resolved properly. Change-Id: I1fdc00dbe16c789837d71cc263e262b4167695f3 Issue-ID: SDNC-1022 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 6b0f198a98a67ecac3b4a8ba9b8b2ab34bac735d
2020-01-22Carry forward GRA async fixesDan Timoney12-16231/+31032
Carry forward fixes to GENERIC-RESOURCE-API async flow made late in El Alto to Frankfurt. It appears that some changes were not cherry picked, so fixing that by submitting the final El Alto version of the impacted directed graphs. Change-Id: I518328669124a393383ef65988a5313632e8634e Issue-ID: SDNC-1017 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 9b57e7af120f38f716bc5a8526dfd32cec4a87fa
2019-11-08Fix vCPE GRA NetworkBrian Freeman2-83/+2795
Issue-ID: INT-1345 Change-Id: I10dd72b7c3587f8c5cd6ebe35fe786858f420b71 Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 2d4f6f3ff3c675ab9243efeaa41c3a4822268db0
2019-11-01Fix vnf-topology-assign asyncTimoney, Dan (dt5972)9-1114/+1086
Updated vnf-topology-operation and vf-module-topolopy-operation not to call assign-async directly. Updated vnf-topology-operation-async and vf-module-topology-operation-async to call assign-async instead of assign. Change-Id: I16900ecb2126d2fe7fc3e1dfea351345272c275f Issue-ID: SDNC-961 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 47c7a904b9a764a2159066bff311f204fd18ce0d
2019-10-23Fix async logicTimoney, Dan (dt5972)4-846/+1206
Fix bug in vnf-topology and vf-module-topology DGs to call correct async DG (right now, not calling async DG). Change-Id: I2a32e9e0755c274cbe235e9f3aabb5547a7d17d3 Issue-ID: SDNC-949 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: bf19b18511c382add95d33526e0706b7858f276f
2019-10-08correct pidx in self-serve-netbox-ip-assign DGAbdelmuhaimen Seaudi2-4/+4
Issue-ID: CCSDK-1817 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Iadb8ce8b7602c38a73e7aa20d3ecf7d5da95daa3 Former-commit-id: a634edd152d2fc0c7b237cc5df8cc646da170f9b
2019-10-03Remove quotes in so responseTimoney, Dan (dt5972)4-5/+6
Add 'format=xml' to restapi-call-node to prevent quotes from being added around values in XML content Change-Id: Ic1eacf64fa59002a913d248796fc9247eeeac853 Issue-ID: SDNC-927 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 328a0562c256b4d3781765506dded054b58c3426
2019-10-02Fixes for async response to SOTimoney, Dan (dt5972)2-62/+63
1) Wrong user name configured for SO interface 2) Accept header needs to be set to 'text/plain' 3) Content-Type needs to be explicitly set to 'application/json' 4) Template is missing outer "input" tag 5) Message needs to be in XML format, not JSON Change-Id: Icd06d12ff8576d2dd560ea452d0a14c3de643a00 Issue-ID: SDNC-927 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 74ad4c7e51bbfa01caa2e504779b47dd86861428
2019-09-04generic-resource-api DG enhancementCheung, Pat (kc1472)23-5664/+15401
Add vnf and vf-module async and concurrency support Issue-ID: SDNC-854 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: I2d1ebecca6661ef84d01994a77f5ec2f57c81497 Former-commit-id: 49752d7a66e8edf73e94fd2f7c6191dba1d2d2fc
2019-08-27Revert "GRAPI DG enhancement"Timoney, Dan (dt5972)21-15729/+5641
This reverts commit 48c912df5cc69f58592d96a93e8b72900587dc89 [formerly 8d5a350ab0128e46a81042341f2024a88631d35a]. This change breaks the flow in a few ways: - loses fix to case where now GW preload is found. - depends on an adaptor that is not part of ONAP (MSOAdaptor) - uses a rest api template that does not exist. Change-Id: I7db150174484309e2ec3b49365403ca0d4f7ac6f Issue-ID: SDNC-870 Issue-ID: SDNC-871 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: ffce554d009b58c71e433d9edc3ba6476f4ce9ce
2019-08-23graph.versions bugfixCheung, Pat (kc1472)1-2/+0
remove blank lines from graph.versions Issue-ID: SDNC-869 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Id47753a3d4253cfe1bc9040ad35f81df26157188 Former-commit-id: 829c1b2c472f491b108afd6348bd39d570eb0b83
2019-08-22GRAPI DG enhancementCheung, Pat (kc1472)21-5641/+15731
Adding async and concurrency enhancement to GRAPI Issue-ID: SDNC-854 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Ia6d2db17dbc85bed4e91cfeb345877baa1494c4b Former-commit-id: 8d5a350ab0128e46a81042341f2024a88631d35a
2019-07-31Fix reuse InstanceName when re-creating a serviceliboz6-8/+6509
Add instance id instead of NULL to context_id when creating entry in GENERIC_RESOURCE_NAME table, Delete entry directly if no prefix and name_index involved when rolling back instance name Issue-ID: SDNC-798 Change-Id: I4c6391bf85e289894fd3019eafe76357b9b1c86c Signed-off-by: liboz <libo.zheng@arris.com> Former-commit-id: ae2694d30df3a7f62324ec7e617d23f187debcbb
2019-06-09Add logic to delete resource also from AAIPérez Caparrós David, INI-INO-ECO-HCT4-944/+1667
Delete resources (AccessConnectivity, InternetProfile) from AAI in delete operation Issue-ID: SDNC-791 Signed-off-by: Pérez Caparrós David <David.PerezCaparros@swisscom.com> Change-Id: I4a3eb7880e3736656acf30342ac98aa84cd62afb Former-commit-id: 50cbf91801eed6445d10da5ede3d6177365752b1
2019-06-05Add relationship between BBS resource and ServiceVictor Gao4-614/+786
Issue-ID: SDNC-783 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I3ce8c75a44301bfaeec288ec482e22e9f4fad6e1 Former-commit-id: b946de8336944c803ed9c23bd606343fe149e062
2019-06-05fix the DG writing log bugVictor Gao4-509/+488
Issue-ID: SDNC-784 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I80296f2f9149a32f581a14a9eb091c5cdc6a68fb Former-commit-id: ea9fdaac3e3dcc5dadceb72d4f470b07cd3a1f72
2019-06-02Correct vf-module-name in self-serve-aai-vf-module-putAbdelmuhaimen Seaudi2-3/+3
Issue-ID: SDNC-781 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I74dcb2caff08ed736e7a14746e636638cfb019f4 Former-commit-id: 8321d39510cf198e14a583f24a13e92c4c926f61
2019-05-31Merge "DG enhancement for El Alto"Dan Timoney2-141/+1975
Former-commit-id: 9d188efd67fe81b7e9b190afd8858eb042b813ac
2019-05-31DG enhancement for El AltoCheung, Pat (kc1472)2-141/+1975
enhance unresolved-composite-data to include additional format Issue-ID: SDNC-771 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Change-Id: Ie7149215489ad81183003e9323d7818e6ed33fd1 Former-commit-id: 08b93b549ef3903e22f19d4734632dcfcfc64904
2019-05-31Fix for sdnc aai relationshipprakash.e2-176/+176
Fix for sdnc aai relationship for generic vnf resource and service instance. Issue-ID: SDNC-780 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I5db4e0a7f243a1be15e95221250e6e84e91e5509 Former-commit-id: 4a1c826efda07f3bb20f1531ca97c7a4726f4d96
2019-05-30Merge "Fix SDNC parameters save in AAI failure"Dan Timoney12-1249/+1297
Former-commit-id: b0aa3b3bcc3c269bbc62a2e9690830a959e37e59
2019-05-29Fix SDNC parameters save in AAI failureprakash.e12-1249/+1297
1. SDNC is fixed by passing proper UUID and version ID. 2. SDNC is fixed by removing validations for vnf resource creation DG 3. Fixed sdwan-wan-port-static.json template by passing generated wan-portId Issue-ID: SDNC-773 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I0021983f0721dde6592d86bef602b8b4641215a3 Former-commit-id: 5e6ca08e7b71fa0ba6fc4a9ad9e02739e81e5e07
2019-05-29correct vf-module-label in self-serve-vfmodule-ra-assign DGAbdelmuhaimen Seaudi2-4/+4
Issue-ID: SDNC-777 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I9abd2ec5d49a62d7a8fd158df60cb187f14166e6 Former-commit-id: 67a708a5cc97a69d68a59cc80fe98007e99e3505
2019-05-28Bug fix to change leaf-list in yangjanani6-1153/+1153
Yang change for DG Change-Id: I2dd6afebfcc213fcc47992c328422ff32dd76fe2 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: d62222b32cb04696dd11917f893397a01c3ba49f
2019-05-23Bug fix to add restconf api node in DGjanani6-1202/+1241
Restconf api node in DG Change-Id: I5bcd79073a442cc8ca532f3c2a1560f2867803c4 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: bd8f3c044a690772dc1855a0b8f678d9b56f5142
2019-05-17Fixed SDWAN bandwidth change issueshashikanth.vh4-1238/+1489
1. update svc-action not handle in vf-module-topology-operation DG causing bandwidth change failure. 2.sdwan-bandwidth-policy-change node link to get ESR missing so could not get controller IP 3.Update code to send request based on IPMode Change-Id: I837f98c9199ddb34644e8c5af1679598ac123fc4 Issue-ID: SDNC-767 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: e151fc707c1426e2c8563726a8b396de0e0b65c9
2019-05-10Fix SDWAN DG activate in SDNC startupprakash.e5-460/+486
1. SDWAN newly add vf-module-topology-operation DGs are added in graph.versions to activate during SDNC startup 2. Fixed SDWAN site and wan-port delete DGs by calling right DG to get parameters. Change-Id: I34fa321e325d92b2a471bc9cd8ae499990ae37b8 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: b4f2903673c98cb12c99760c08a072340bfcfc08
2019-05-06Fix SDWAN peer wise integration testing issuesprakash.e6-448/+629
SDWAN lan-port-config create,activate DGs are fixed with valid request-action and updated service-data with response-id returned from SDWAN controller Change-Id: Ib4067d4de257c64f81b4e70584bcf26c87bbaa04 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 08d1ca8e484cab832ce1f54cc36539888d77b08a
2019-05-06Fix SDWAN lan-port deactivate DG with url changeprakash.e2-1032/+1458
SDWAN lan-portdeactivate DG is fixed with correct urls for device-port-delete, lan-port-delete and bride-domain-delete Change-Id: I160f219f40e67cbc153e05084a0c851b40672dae Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: ee72118f757731a3bc4f674705f00dfb49502e2a
2019-05-06Fix SDWAN lan-port-config request action issueprakash.e2-405/+405
Fixed SDWAN lan-port-config-delete DG with correct request-action DeleteSDWANLanPortInstance Change-Id: Icb03e923e3615c130945b7872b5836fd3650e3f4 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: a132dd2269b619a0ecb436969f2ecc51149dfa36
2019-05-06Fixed lan-port-deactivate by passing bridgeDomainIdprakash.e2-171/+222
Added bridgeDomainId parameter in lan-port-param DG to pass it in bridgeDomain delete request to controller Change-Id: Ifef40161756256ec57cde1ee1fbf8779edec81fe Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 813277f3100e05ae7580b0cd8712ee97eec7e99c
2019-05-06Fix SDWAN lan-port-delete DG by passing valid indexprakash.e2-260/+260
SDWAN lan-port-config-delete DG, vf-module-id is passed with correct vnf-index. Change-Id: I23e4cb60fcf8c6db5c383fbaf63ddc9123f3210a Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: c4a473250721d08c9eef5170800efa2932bee15c
2019-05-05Merge "fixed WAN port deactivate issue"Dan Timoney2-293/+285
Former-commit-id: 1b1345b80a0dfbc6ea3cf2da221816b9ea0e0d2a
2019-05-05Merge "Replace access_id with remote_id"Dan Timoney4-23/+23
Former-commit-id: d902998d6dfe7f6141c7d6c6dde86e4e43a07afa
2019-05-05Merge "Fix SDWAN lan-portId set in service-data"Dan Timoney2-743/+821
Former-commit-id: 68885623b91e7e4745b53df2393c53b37b00c6bb
2019-05-01Replace access_id with remote_idSalichos Michail, INI-INO-ECO-HCT4-23/+23
Replace all the occurences of access_id with remote_id in the DGs Issue-ID: SDNC-738 Change-Id: I13073f30b9238f566a6df22cdd0d15e7393af5e7 Signed-off-by: Salichos Michail, INI-INO-ECO-HCT <michail.salichos@gmail.com> Former-commit-id: 10d60e05a8c778598cabfc81d4134e9a68bf763b