summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src
AgeCommit message (Collapse)AuthorFilesLines
2022-08-05Changes to support ODL Sulfur updateDan Timoney20-695/+619
Changes to sdnc/northbound to conform to changes in OpenDaylight Sulfur release. Many of these changes are due to a change in yangtools, which no longer implements a common ancestor for its builder classes. This broke a utility method used in jUnit test cases (build()), which meant all jUnits using that method had to be updated to call each individual builder's build() method directly. Issue-ID: CCSDK-1728 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia82aa3decd82d873120dd643a6a0427928890f99
2021-08-26New DGs added for CCVPN scenario enhancement.chenkai1-76/+71
Add performance data collection API and service Issue-ID: CCSDK-3389 Signed-off-by: kai chen <kaichen@fiberhome.com> Change-Id: I4ba2796e5817df319aaf21d75f811e487b11f9f7
2021-02-04Upgrade to ODL AluminumDan Timoney18-187/+160
Updated code to conform to OpenDaylight Aluminum release. Change-Id: I3ef7daebc689a5d2e344fc7b96ce885bda77a7f8 Issue-ID: SDNC-1474 Signed-off-by: Dan Timoney <dtimoney@att.com>
2019-08-19Code changes for NeonTimoney, Dan (dt5972)2-2/+37
Code changes for Neon port Change-Id: I4dea521cabdf79e5dcefc7fa079516e2215337a4 Issue-ID: SDNC-850 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-13Test case added for code coverageprakash.e1-0/+16
Added test case with valid ServiceInstanceID in GetpathsegmentTopologyOperation Change-Id: I6e647d8b19ad986427ad3642926ee1d12de3ab25 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-12Merge "New test case added for SDNC code coverage"Dan Timoney1-0/+16
2019-08-12Merge "New test case added for code coverage"Dan Timoney1-0/+12
2019-08-12Merge "New test case added for code coverage"Dan Timoney1-1/+14
2019-08-12Merge "Test case addition for sdnc code coverage"Dan Timoney1-0/+38
2019-08-12Merge "Test case addition for code coverage"Dan Timoney1-0/+36
2019-08-12New test case added for SDNC code coverageprakash.e1-0/+16
Added test case with ServiceInstanceID in GetpathsegmentTopologyOperation Change-Id: I8b612b255b1ad605ce3504e6a060247c7c08d80d Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-11New test case added for code coverageprakash.e1-0/+12
Added new test case with policyName and updateType in PolicyUpdateNotifyOperation Change-Id: Ib86dffc9d3e2c0633dcf151adf2b81c0adde3f6a Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-10Merge "Test case addition for code coverage"Dan Timoney1-0/+36
2019-08-11New test case added for code coverageprakash.e1-1/+14
Test case added in GenericConfigurationTopologyOperation with service-istance-id Change-Id: I16c104de7156b10022b6589f49625ab95b2412bf Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-10Test case addition for sdnc code coverageprakash.e1-0/+38
Test case added for GenericConfigurationTopologyOperation Change-Id: I9b7c8753bf1899a4933d69a417b475169dfa0f59 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-10Test case addition for code coverageprakash.e1-0/+36
Added test case for PortMirrorTopologyOperation Change-Id: I36b7ecdb14d8fccaf8fcbdad79d16d0392cb81ba Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-10Test case addition for code coverageprakash.e1-0/+36
Added test case for PolicyUpdateNotifyOperation Change-Id: I1724869eee8219ab8b6f2cf7857fb2e35e74ceb3 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-10Test case addition for code coverageprakash.e1-0/+37
Added test case for GetpathsegmentTopologyOperation Change-Id: I0dffcf5663aa14b63604a71e969b1f0aa7f9f1ce Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-09Merge "Added test case to increase SONAR coverage"Dan Timoney1-0/+79
2019-08-09Merge "Test case added for code coverage"Dan Timoney1-0/+28
2019-08-09Merge "Test case added for code coverage"Dan Timoney2-0/+61
2019-08-09Added test case to increase SONAR coverageprakash.e1-0/+79
Added new case for delete flow in ServiceTopologyOperationRPCTest Change-Id: Ic793c6ae1d67420f84445704952e8034c1df715b Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-09Test case added for code coverageprakash.e1-0/+28
Updated test MDSALUtil class by adding unused classes Issue-ID: SDNC-840 Signed-off-by: prakash.e <prakash.e@huawei.com> Change-Id: I238e9b05c2bc6169364e5f36ab6a7a59cf599deb
2019-08-09Test case added for code coverageprakash.e2-0/+61
Added new test case for GenericConfigurationTopologyOperation Change-Id: Ie660b70e109725618d2470c0af30d0f326c125b2 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-08-09Test case addition for SONAR coverageprakash.e1-0/+39
Added new case for delete flow in PreloadVnfTopologyOperationRPCTest Change-Id: I6eac70c388523853e519626039bb6bfafc46bd77 Issue-ID: SDNC-840 Signed-off-by: Prakash.E <prakash.e@huawei.com>
2019-07-31Network concurrency supportBrandon, Bruce (bb2697)1-13/+24
Add ability in network GR-API for DG to do the MD-SAL update Change-Id: I3b94c0cfb31fc915f9c5f85c7b8e04995c446a22 Issue-ID: SDNC-826 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2019-07-26GR-API Yang change and add async supportBrandon, Bruce (bb2697)2-25/+390
Add aggregate-route-policy to Yang and add support for VNF and VF Module async Change-Id: I140986894a8ba24f547980bad34c79d9621f03c3 Issue-ID: SDNC-822 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2019-05-17Fixed Blocker BugsVasyl Razinkov1-244/+249
Fixed potential "Thred-Leak" Change-Id: I5005967c8ffaf28e2fd11b655a8e467b2a51f330 Issue-ID: SDNC-765 Signed-off-by: Vasyl Razinkov <vasylrazinkov@sidero.ie>
2019-04-19GRA vf module id validation removedshashikanth.vh2-4/+19
vf module id validation is removed, its not mandatory to input vf module id in the requests.code is modified to return vf module id if present in the request, if not return from the DG response object. Change-Id: I077e41ab7734cc46eebe97bbcacf6d3bfc3973d1 Issue-ID: SDNC-653 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2019-03-11Dublin yang model updateCheung, Pat (kc1472)5-2/+470
PNF support in Dublin Change-Id: Icb2a00b37be11e1d0ac1b13940c0c8053a2a5b64 Issue-ID: SDNC-633 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com>
2019-01-18Update sdnc/northbound to support FluorineTimoney, Dan (dt5972)2-29/+35
Update code to support OpenDaylight Fluorine changes. Change-Id: Iec7e5173076419b101d07e3321b1ca93178b6fa7 Issue-ID: SDNC-552 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-23Add aggregate routes and VNR rebuild to GR YangBrandon, Bruce (bb2697)1-2/+2
Add aggregate routes and VNR rebuild to Generic Resource Yang and fix error in reporting MD-SAL write errors in preload APIs Change-Id: I46273d6010c3681483dc6ac69d1c1ed105a6d4c9 Issue-ID: SDNC-484 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-08-27Fixed vnfTopoOperation vnf-id return in responseshashikanth.vh1-0/+3
Fixed issue vnfTopologyOperation, vnf-id not returning in response when vnf-id is not provided as part of input Change-Id: Iaa3b1387a45c60c27e3fdf1120e127648323e352 Issue-ID: SDNC-434 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-08-09Fixed issues for connectivity attachment providershashikanth.vh1-2/+1
To tryGetProperties method properties is passed as parameter instead of params Change-Id: I70e73ed73a1d123cefffbefae3b05a0e0c294fa0 Issue-ID: SDNC-384 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-07-30Corrections for northboundgaurav2-1/+5
Changes includes: 1. Correcting connection-attachment topology container name. 2. Make the vnf-topology-operation implementation flexible to allow SDNC generate vnf-id for assign/create operation rather then mandating SO to provide it. Change-Id: I8958a72a4ca2064b781d246e9329436848f578ad Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-27Add connection point and related to GR-APIBrandon, Bruce (bb2697)1-183/+97
Add connection point and other new structures to generic resource API Yang Change-Id: I6f116a89ecde866d6c8e2bcd0cd4f3912da9ecad Issue-ID: SDNC-408 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-07-26Generic resource API catch upBrandon, Bruce (bb2697)8-847/+1719
Adding several Generic Resource API capabilities to Yang, provider, and tests Change-Id: I9d6a3e1494ba35b2e98370ca5b2c4ff8270981af Issue-ID: SDNC-271 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-07-20Adding testcases for new allotted resourcegaurav3-3/+289
Addition of a testcase for new allotted resource "connectivity attachment" to generic-resource-api schema. Change-Id: Ibf4164132c187ce26ab253290f9f85b56d4633fd Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-20Provider implementation of connectivity attachmentgaurav1-4/+182
Addition of a implementation of new allotted resource "connectivity attachment" to generic-resource-api schema. Connectivity attachment will be provided by Connectivity service and will be allotted to Site service as part of CCVPN use case. This new allotted-resource can serve for both SOTNAttachment and SDWANAttachment. Change-Id: I1823249b6ab9fe315e83862abcf05be65ceded5a Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-07-18New allotted resource for connectivity attachment.gaurav1-0/+9
Addition of a new allotted resource "connectivity attachment" to generic-resource-api schema. Connectivity attachment will be provided by Connectivity service and will be allotted to Site service as part of CCVPN use case. This new allotted-resource can serve for both SOTNAttachment and SDWANAttachment. Change-Id: Iff5ad46a72d55bc83ca36e4703d439e43fe948ce Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2018-03-22GenericResourceApiProvider unit tests part 8.Jakub Dudycz4-29/+439
Added unit tests for preloadVnfTopologyOperation and preloadNetworkTopologyOperation methods Change-Id: Iae0d3cbbaf27ee351eaf556fe7ad1a1ca54fbe91 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-22GenericResourceApiProvider unit tests part 7.Jakub Dudycz5-37/+387
Added unit tests for tunnelxconnTopologyOperation and brgTopologyOperation methods Change-Id: I2172a62bddb3f394caf93c56ed2078efc153f3ea Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-21GenericResourceApiProvider unit tests part 6.Jakub Dudycz8-139/+532
Added unit tests for securityZoneTopologyOperation method and did some fixes in other test classes. Change-Id: I61adeb21e4dca08b6cd668a6b0e70070d2f86730 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-20GenericResourceApiProvider unit tests part 5.Jakub Dudycz3-4/+188
Added unit tests for contrailRouteTopologyOperation method Change-Id: I8519c5e1f3b8e076186f1965a8e316d0a35095ff Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-20GenericResourceApiProvider unit tests part 4.Jakub Dudycz3-13/+261
Created unit tests for vfModuleTopologyOperation method Change-Id: I3bbd576ab85e95489c3df71e369cfe061dc4c2c3 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-20GenericResourceApiProvider unit tests part 3.Jakub Dudycz3-72/+194
Added some unit tests for networkTopologyOperation method Change-Id: Iad137467fa367c9c6fb0050be1fe07a9019b213d Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-19GenericResourceApiProvider unit tests part 2.Jakub Dudycz4-73/+289
Unit tests for vnfTopologyOperation method Change-Id: I60c73f31eb070cf554e55779d1d18631ce9b7147 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-19GenericResourceApiProvider unit tests part 1.Jakub Dudycz5-159/+267
Unit tests for serviceTopologyOperation method Change-Id: I9a6f43fb6892b9b1d8f92544f7a90e203b0c9229 Issue-ID: SDNC-275 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28Nitrogen port : sdnc-northboundTimoney, Dan (dt5972)1-65/+0
Update sdnc/northbound to OpenDaylight Nitrogen release. Change-Id: I6e299418a7ab441899b78b5d3df5f8ee96829222 Issue-ID: SDNC-269 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-07GenericResourceApiProvider fixes part 6Jakub Dudycz1-168/+341
Fixed most of cyclomatic complexity related sonar issues by method extraction Change-Id: I539ed3db1a162e4e6c96917aa37faad035ff41fe Issue-ID: SDNC-248 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>