summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-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
2019-04-19Merge "Fixed get-vf-module-lanport-param DG with proper input param"Dan Timoney2-171/+171
Former-commit-id: 7abc384133b055fa56b8c9f33ff52255b18afbf7
2019-04-19Merge "SDWAN tenant auth DG"Dan Timoney2-1191/+98
Former-commit-id: d8d10533ee6b88981f7c32480544b0816aa35675
2019-04-19Merge "SDWAN device oper status not updated in AAI"Dan Timoney2-412/+433
Former-commit-id: b6f2775e642f2a0b7cfeb4162bae8a98ec0ea0ae
2019-04-19Merge "SDWAN wan port creation failed."Dan Timoney2-291/+291
Former-commit-id: f68d82e64933a6301aef43bb8df4b0477c21d477
2019-04-19Merge "vf module id validation removed from DG"Dan Timoney2-10/+557
Former-commit-id: fc6b5397529d984b897e6ce681f4257258bb9645
2019-04-19SDWAN tenant auth DGshashikanth.vh2-1191/+98
json file not merged with proper DG in previous commit reverting the change Change-Id: If6bbb5f81a96d78c9e01aeb8165900e986646839 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 8759135ce1c25d9602ae5674da74c5d1f95e6967
2019-04-19Fixed get-vf-module-lanport-param DG with proper input paramprakash.e2-171/+171
input parameter is updated with vf-module-request-input which is copied in parent lan-port-create DG Change-Id: Ia472883fb8cb166dfd7cd3315d1f46f0ce073cf1 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 86d8e681534c52c5bb420bb9e3bf188e8303dd15
2019-04-19SDWAN device oper status not updated in AAIshashikanth.vh2-412/+433
fixed few issues 1.calling sube DG sdwan-get-tenant-auth not required 2.AAI device not updated with active on device activate Change-Id: Ib782c0db8735c446b018412a0865df65ef55f10d Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 59e7b1c3ed08541fd712af64c897441306954c1d
2019-04-19SDWAN wan port creation failed.shashikanth.vh2-291/+291
invalid input parameter used instead of vf-module-request-input.vf-module-input-parameters for getting input properties Change-Id: Ib972aa9bb03a6a91de64c0ebe7e7d78d469b2e1e Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 96011c3446b6bb188d1022ec9314af309ad013b0
2019-04-19Merge "Dublin pnf DG bugfix"Dan Timoney2-367/+367
Former-commit-id: d9246eaf20822e867adcad0fba2b28705f9eded8
2019-04-19Merge "SDWAN LanPort DGs are called in parent DG"Dan Timoney2-497/+430
Former-commit-id: 2a92fc2dbeeed599a64a2939dfcfe631d7486370
2019-04-19Merge "SDN-C GR-API to RA Interface Enhancement"Dan Timoney4-4/+4
Former-commit-id: 1d55f197344f21800a990ad97a2b80134e133bab
2019-04-19Merge "SDWAN Device vf create not handled for invalid vnf id"Dan Timoney2-298/+565
Former-commit-id: c22029820429abd26f334140f98e81d76ba5a87b
2019-04-17Dublin pnf DG bugfixCheung, Pat (kc1472)2-367/+367
update pnf-ra-assignment due to blueprint output change Change-Id: Iaac65cf10d5dd704a062d4ea3904309a57cab300 Issue-ID: SDNC-732 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com> Former-commit-id: 0adf9badc570b556353c233e6fdb452855b39bef
2019-04-17SDWAN LanPort DGs are called in parent DGprakash.e2-497/+430
Fixed in vf-module-topology-operation DG by calling SDWALanPort DGs for create,activate,deactivate and delete svc-actions Change-Id: I2cbff74df8ec1f513572b82a60db57beb7d47466 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 083d8457edba7f889bedb3992d4f64098790a652
2019-04-17SDN-C GR-API to RA Interface EnhancementAlexis de Talhouët4-4/+4
Change-Id: Id02ff9adc2c2221b42ea8861d978af5ee6197197 Issue-ID: CCSDK-1188 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 97909daea9066b7877443a005f27484a340c6033
2019-04-17SDWAN Device vf create not handled for invalid vnf idshashikanth.vh2-298/+565
1.vnf id validation not handled while device vf creation 2.device instance in AAI can be created be SO or SDNC if SO create then SDNC has to update otherwise create device instance in AAI, this scenario handled. Change-Id: Ia7591f6dbeffcac6041237e3822e68a9bd005684 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: ea0bc09eba2eeb36f99d32d42b94a5a84801eab4
2019-04-17vf module id validation removed from DGshashikanth.vh2-10/+557
GRA provider code is modified to return vf module id if present in the input request otherwise vf module id (Generated in DG)will be returned from the response object. In validate-vf-module-input DG vf-id validation check is deleted. Change-Id: I389d2d42a939c60481cd7690ccb98b3f820974e4 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 5560feac3ab5cb6a0c749648878be3bf273fdfcf
2019-04-17updated generated vf-module-index parameterprakash.e2-227/+229
vf-module-id is assigned with correct parameter prop.vpn-vf-index since vf-module-id is NULL in response Change-Id: I39c4541996d9809aacecec70ac4e84da8011cb33 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: f6b4d96d8938241d95c0f75f28444231ff425eae
2019-04-16Merge "Fix sdwan-vf-vpn-delete DG by passing vf-module-id"Dan Timoney2-70/+346
Former-commit-id: 15c6cfe1990346af373968693fd7c568003bea11
2019-04-16Merge "Device input parameter processing failed"Dan Timoney2-226/+226
Former-commit-id: 6748f871443426f8ac06a069ac602452b9a837bf
2019-04-16Fix sdwan-vf-vpn-delete DG by passing vf-module-idprakash.e2-70/+346
Vf-module-id is passed as it is not passed and returned Missing key is getVfModuleId. Change-Id: I576f6fd11b97aa1af423837bcd741abc653a2803 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 169cf9a5afb5b9518dfd2ccaf0f37f988dd3831b
2019-04-16unused parameter tenant-id is removedprakash.e2-249/+198
unused parameter tenant-id in vpn-deactivate DG is removed and tmp.nidx is modified to tmp.vidx Change-Id: Ibd8629b2309ae0f34a49ba8f9f50094d60728a50 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 3da4178f0341a8c897770c3f2aeb7e13806dd3d6
2019-04-15context-parameter returned to caller DG is not correctprakash.e2-452/+452
parameter tmp.vidx is used in vpn-activate DG, updated validate-vpn DG by returning tmp.vidx inplace of tmp.nidx Change-Id: I42ddac5eb6384dd01992c2bbb387a3cc14aade54 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 58a3b6851697cd28042583d6f60a6845694a2f74
2019-04-15Device input parameter processing failedshashikanth.vh2-226/+226
Input parameter processing failed, vf-module-topology-operation is used instead of vf-module-request-input. Change-Id: I578da11c6e0505ee67523504235a64169ccfe605 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 663dbb29fe1b5335eaa16646b8eb6eb42136595d
2019-04-15Fix Authorization Failed issue in SDWAN VPN activateprakash.e2-226/+211
Fixed vpn-activate DG by calling sdwan-get-tenant-auth DG to fix Authorization issue Change-Id: I0ced9b9a1630baaffdee7402e609de9c64f97ed4 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: fac6813d763bd635d66fd2e213330bc2e6501b77
2019-04-14Fix SDWAN VPN-create DG to update relationship-list in AAIprakash.e2-240/+235
update AAI with generic-vnf and sdwan-vpn relationship-list Change-Id: I8ae2ddcf8d92078b15d9523b07901ae6e2c99b68 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 4b685f825bedb03d135f7f5c9b07f52efd718953
2019-04-12Fix SDWAN device DG to create AAI resourceprakash.e2-182/+220
Add a missing node in device DG to add a device record in AAI. Change-Id: Iaf6ce5ff52bd13db960954c982c66d5c54a130d2 Issue-ID: SDNC-659 Signed-off-by: Prakash.E <prakash.e@huawei.com> Former-commit-id: 797f52bd97a384e245ba166138ba5b8f6def226c