aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-06-09Add logic to delete resource also from AAI1.5.4Pé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: 907ae4554256a7f01fe3b2ecd869dcd4dff6a01f
2019-06-05Add relationship between bbs resource and service1.5.3Victor Gao4-614/+786
Issue-ID: SDNC-783 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: Ifed6b40406b482f24e588d2ae873377ee2d20180 Former-commit-id: 3a4e96bda6c196494817bc4428cb2f3aa57f7a18
2019-06-05Fix the DG writing log bug for BBS UCVictor Gao4-509/+488
Issue-ID: SDNC-784 Signed-off-by: Victor Gao <victor.gao@huawei.com> Change-Id: I0758260afefe56645652c2966b27b86c39f2b9a4 Former-commit-id: 631902a9b2bff438352a88948e7c93927e9e4fb9
2019-05-31Merge "Return success if no preload found" into dublinDan Timoney2-105/+1109
Former-commit-id: a663a7c37b9adced34e183156ed7ac4f2d103b07
2019-05-31Return success if no preload foundTimoney, Dan (dt5972)2-105/+1109
Return success if no preload data is found by gw-vfmodule-update Change-Id: I45cda28b6ea16efc615227ddb75dc60e1e747725 Issue-ID: SDNC-779 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: be00123fe3b1e10c7da77c1c5ad0db9c8274785e
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 (cherry picked from commit ce632e9e17e0581b2c32beb1aa04a3effd436408 [formerly 4a1c826efda07f3bb20f1531ca97c7a4726f4d96]) Former-commit-id: fd1d598146d80a958349144015292d969ed086a1
2019-05-30Fix 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 (cherry picked from commit 37115b5eac1f20ea2093b523bc2eade32d689c09 [formerly 5e6ca08e7b71fa0ba6fc4a9ad9e02739e81e5e07]) Former-commit-id: 0ddc72203e9a2b1a6c296b98d46bae7c4e2a6271
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: 80e0a8a7607d466b5b1b0e988896b4d2d136c45e
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: dd0f16db72e391e9dadb3de8711a809f6de239dd
2019-05-28Bug fix in self-serve api1.5.2janani6-1156/+1222
Yang change for DG Change-Id: I9879b1f371a501ed66db8efe7ec1c8f43c6258dd Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: fb0b64e050d61ad3d089cbc481af4ef2a323f2cd
2019-05-17Use CDS HTTP instead of gRPCAlexis de Talhouët6-56/+29
Change-Id: Id15af2a55b40a535836f8170973faf290ae88b18 Issue-ID: SDNC-768 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 88efc22be9444a9a217d5e2ac87c9278d6e855d4
2019-05-13Fix 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> (cherry picked from commit 2d6bf950c57f5faac5795bfa5886ce49e35ade2d [formerly b4f2903673c98cb12c99760c08a072340bfcfc08]) Former-commit-id: cd8d774e24e435b79fdd95dc92cd9e11d8e1ace3
2019-05-07Merge "Fixed lan-port-deactivate by passing bridgeDomainId" into dublinDan Timoney2-171/+222
Former-commit-id: 530233422f8062f17f772dded3002c79664e0c4a
2019-05-07Merge "Fix SDWAN lan-port-config request action issue" into dublinDan Timoney2-405/+405
Former-commit-id: 553de3c2d98b010b8c95aa2810084668213a74ed
2019-05-07Merge "Fix SDWAN lan-port deactivate DG with url change" into dublinDan Timoney2-1032/+1458
Former-commit-id: 2f40f795aa2e9347660a30ebb7a4a6ce58509f44
2019-05-07Merge "Fix SDWAN peer wise integration testing issues" into dublinDan Timoney6-448/+629
Former-commit-id: 03f971c82e4a05288da680b3244c16206e284647
2019-05-07Fixed 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> (cherry picked from commit 5a9ce60c616970d510d7d21fd3a69186c3f79731 [formerly 813277f3100e05ae7580b0cd8712ee97eec7e99c]) Former-commit-id: c98d0e2ca8915933008fa6f09c6ed25e02831697
2019-05-07Fix 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> (cherry picked from commit ca4345c3c42a7a4b2d721428172da538034a51cb [formerly a132dd2269b619a0ecb436969f2ecc51149dfa36]) Former-commit-id: 4d6d539a98235b9e38427c658f5842305b53ebdd
2019-05-07Fix 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> (cherry picked from commit cd9f244233977d4982a8f91762ec6ae626d529de [formerly ee72118f757731a3bc4f674705f00dfb49502e2a]) Former-commit-id: c662776499cb6925971edb2ecc5343e883830239
2019-05-07Fix 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> (cherry picked from commit 3bd83a42221c4f5c0cbaf586657e5310c8516018 [formerly 08d1ca8e484cab832ce1f54cc36539888d77b08a]) Former-commit-id: f66797cac734a07e03e000554aa179fdf33b0849
2019-05-07Fix 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> (cherry picked from commit fdebf75e0c78bc7d8b93add684c8528c8d4f2ac3 [formerly c4a473250721d08c9eef5170800efa2932bee15c]) Former-commit-id: c8d61b4922210957feee91471e5d2fc2578df238
2019-05-05Merge "fixed WAN port deactivate issue" into dublinDan Timoney2-293/+285
Former-commit-id: 367a8eef3cff2b21da584a07fd7cb647ba4403c7
2019-05-05Merge "Replace access_id with remote_id" into dublinDan Timoney4-23/+23
Former-commit-id: fa77d9390e61cb31c8cd8527ac13aeb1c3153df9
2019-05-05fixed WAN port deactivate issueshashikanth.vh2-293/+285
On delete of WAN port controller returned 500 error code, this issue fixed Change-Id: Iebcd3b44b830bd067f6858230e339b6338964773 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> (cherry picked from commit aaf1d3598cb0da403c6e4df3f550c9f7b666d8dc [formerly 4db3c5b014e3e5002e2df59ab922268bc0fdce08]) Former-commit-id: 494b89509f15733336d4e588984bc8d37d9aa770
2019-05-05Replace 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> (cherry picked from commit cb27b38f922fc90c47cb4fa71d6677b5392e29f1 [formerly 10d60e05a8c778598cabfc81d4134e9a68bf763b]) Former-commit-id: a603c5aad40a078c655234fa19d4de598ce86d37
2019-05-05Fix SDWAN lan-portId set in service-dataprakash.e2-743/+821
SDWAN lan-portId value is copied and set it to prop.lan.lanPortId. Change-Id: Id01d0f1b22073d273f38b50d62817129e1bfd7ee Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 7748e81ea034868a9cf37249d59ee3945a03d2f3
2019-04-27Merge "fixed WAN port create issue"Dan Timoney2-8/+6
Former-commit-id: 5377ee40ada510053ed0beeba9410de6600a6ae2
2019-04-26fixed WAN port create issueshashikanth.vh2-8/+6
Invalid parameter is used to set context memory for ip address Change-Id: I71e33d7d27526fd95a12afc08a669dbeb8768f32 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 7fb0b011a2ebba3757e41f219fdd1b4efc1a6c8a
2019-04-26Fix SDWAN lan-port-config ip-subnets creationprakash.e2-188/+239
SDWAN lan-port ip-subnets creation called after attaching site to VPN to resolve invalid-vpn error from controller Change-Id: Iec9d8a1945e3ddd992aa33e5f96b1ab9ce1dfd88 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 83413b8058da81bd163b1c4270f4851cbbde0161
2019-04-25Fix SDWAN site role passed to controllerprakash.e2-950/+1007
SDWAN site role dsvpn-hub and sdwan-edge is not fetched and passed to controller. Now it is fetched in for loop and passed to controller. Change-Id: I85b7be5bdc802fa7144631aeaf3cf19bc3fde979 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 570153b334e64246b2eff459d18d6eac6df70e22
2019-04-25Fixed vf-module-topology DG with valid request-actionprakash.e2-413/+413
New request-actions added in GENERIC-RESOURCE-API.yang. CreateSDWANSiteInstance, ActivateSDWANSiteInstance, DeactivateSDWANSiteInstance, DeleteSDWANSiteInstance are added and it is replaced in vf-module-topology DG Change-Id: I0898056cb43763ff04eda0e503bc05706b283f3d Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 4fe4dea73ef2a71b9ba04a9066c82aebafa71ca2
2019-04-24Merge "Fixed SDWAN lan-port-activate DG with correct AAI resource"Dan Timoney2-656/+845
Former-commit-id: 797f2333a91eb3de6fdbc8260e02f39e6b99e802
2019-04-24Merge "SDWAN vpn-site-res delete DG duplicate removal"Dan Timoney2-231/+178
Former-commit-id: 635497eccd5158a70e310f789a21c68d9150d813
2019-04-24Merge "SDWAN vpn-site-resource DG- failure cases handled"Dan Timoney2-102/+188
Former-commit-id: c5233c49f31447379f0a2a1f6f1033dfcf1a711e
2019-04-24Merge "SDWAN site-resource to generic-vnf relationship failed"Dan Timoney2-181/+204
Former-commit-id: 0e0b0eb721cdf7c2740120ebfb6baee6effeb97a
2019-04-24Fixed SDWAN lan-port-activate DG with correct AAI resourceprakash.e2-656/+845
SDWAN lan-port-activate DG is updated with correct AAI resource name lan-port-config. Earlier resource name sdwan-vpn is used Change-Id: I2ed2d4da0415a57b4cbb02f13a557f5da93ba80b Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 5a05205ebb2299f235e76a2288f7347d29e6cebb
2019-04-24SDWAN vpn-site-res delete DG duplicate removalprakash.e2-231/+178
In SDWAN vip-site-resource-delete DG, Duplicat validation of vnf-id is deleted where requiredParameters method is called for validation and again validating for NULL check with the same input. Change-Id: Ic28da8a0d4f03203d0535ac7fa696b725011242f Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 0e235c74665b23535ab9a715684c700de8d910cb
2019-04-24SDWAN vpn-site-resource DG- failure cases handledprakash.e2-102/+188
To activate vnf-resource, order status should be Created. Fixed by Adding validity check with order-status is Created. Change-Id: I489ac4bad2af05d8b34922a70c49ed970e934370 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 0872665a543775469b1c7cf851fef6728529e12f
2019-04-24SDWAN site-resource to generic-vnf relationship failedshashikanth.vh2-181/+204
Change-Id: I500b260710c0c869d1e2c0cd3a4d17e532250f70 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: b90c38f8871cc36434568009d856cb90c8c6448a
2019-04-24SDWAN vpn-site-resource DG parameter changeprakash.e2-150/+145
1. parameter name vnf-index changed to vnf-id to set id returned from generateUUID. 2. Deleted commented lines in service relationship in AAI Change-Id: I5aaac2e15ff2ea2bc1c590d8c6c4818d8f84d047 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 4067c21aafd96649d687c7a1dc3d0215710e61df
2019-04-24Merge "SDWAN WAN port create exception issue fix"Dan Timoney2-197/+195
Former-commit-id: c1b7f1400023567a2e138282592aaebd389738bc
2019-04-24Merge "SDWAN wan port activate DG"Dan Timoney2-1058/+938
Former-commit-id: 8d490414104502047c1742c41c4d956407642bf9
2019-04-24SDWAN wan port activate DGshashikanth.vh2-1058/+938
Fixed couple of issues 1.paramters update for static and dhcp scenarios 2.invalid key parameter used while updating to AAI 3.Removed unused and hardcoded nodes. Change-Id: I08e98d09392c2094dfbe9eb7c6def14be03d76e0 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 99141d3dd9d62dc636f2b7cacc2dba5874c88611
2019-04-24SDWAN WAN port create exception issue fixshashikanth.vh2-197/+195
1.Generated vf module id not updated in service data 2.site-resource vnf relation-ship should be with wan-port-config and not with sdwan-vpn Change-Id: Ie5c153eb35799d93719b277492f43a5f3723e93d Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 0c8135ecd3666e8502122ebd622dd67930da4f00
2019-04-22SDWAN vpn-create DG reoptimizedprakash.e2-309/+187
Removed duplicate nodes to fetch vnf-id from service-data where it is present in both validate input parameter DG and vpn-create DG Change-Id: I2188f040b199f9f986a80855f7164a015eff835d Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 92753192dce9d0f526c0ddf79b3c5de6f05721e4
2019-04-22SDWAN vpn vf-module-topology added null checkprakash.e2-436/+489
sdwan-vf-vpn-input-parameters DG is updated by adding NULL check for vnf-index Change-Id: I54ec5edb8b37a87a6015a6b4f58aa858a96bad3d Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: b83410a64457c04568bac634a8f85c7274980008
2019-04-22Fixed SDWN lan-port-delete issue in AAIprakash.e2-236/+289
modifed lan-port-delete DG by chnging AAI resource name to lan-port-config Change-Id: Ieceaee4c01c086b2fa6c9ef4493b71173c22b83b Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 13a1121e5c5dc07a372f7f88c191ad0b9037834e
2019-04-21updated lan-port-deactivate DG with vnf-id null checkprakash.e2-628/+681
Added NULL check for vnf-id and updated device-name parameter by removing quote Change-Id: Icac396301a104d948770724fcaad4f19f065ff0d Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 6060a65e5d436bd9c337cd036dfbd0254db87f0b
2019-04-21Fixed device-id fetch issue in sdwan-lan-port DGprakash.e2-662/+732
Fixed sdwan-lan-port-activate DG by fetching deviceId in service-data by passing device name in valid input parameter Change-Id: I4f5bab7f5f09f6bd35334854c490fcfef862454a Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: c3e0c12aca66c5b5da4e0fa6a24b034aa35b03a2
2019-04-21Fixed lan-port-config resource in AAIprakash.e2-295/+351
Added vnf-index null check and Added lan-port-config resource inplace of sdwan-vpn resource in AAI for lan-port-create Change-Id: If05b730da8932fb25396cb82688e302c6c5a4eab Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 09c286f73a72a24f46ef09d5f2c5519eb79a05bd