summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-18Add cloud-owner as inputBrandon, Bruce (bb2697)1-0/+4
Add cloud-owner to input so that callers to GR-API can provide this value Change-Id: Ia12bb2c6db5f0d3b50115e85ed6873ae6c8c24a8 Issue-ID: SDNC-459 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-09-11GENERIC-RESOURCE-API.yang update for SOTNprakash.e1-0/+4
yang changes for SOTN Reoptimization Change-Id: I3a1f4c575922287b1330352b8a8e21e914dd1eee Issue-ID: SDNC-357 Signed-off-by: Prakash.E <prakash.e@huawei.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-20Update swagger documentationTimoney, Dan (dt5972)3-43673/+112814
Updated swagger documentation for SDNC northbound APIs. Change-Id: Ic3c2cb6bd6cd1bb8a732f087ee614e7969d1757b Issue-ID: SDNC-427 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-16Fixed error in Yang modelTimoney, Dan (dt5972)1-2/+2
Wrong prefix used in 2 places to refer to ietf-inet-types import (prefix defined as ietf, but reference was using inet) Change-Id: I8a125f3ea560499487ec08250bb46aae1f209347 Issue-ID: SDNC-422 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-10Rename vlan-tags in connection-pointBrandon, Bruce (bb2697)1-1/+1
Rename vlan-tags to vlan-data in connection-point. Type in original requirements. Change-Id: I73f31588df0c9d715c46bb8adb9161d506214211 Issue-ID: SDNC-410 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.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-08-03restore sriov-parametersSmokowski, Kevin (ks6305)1-0/+22
restore sriov-parameters in generic resource yang Change-Id: I985e8f41511444ca435d3383ed18ab8bb2d1c414 Issue-ID: SDNC-414 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-08-02Merge "Add the request-action types"Dan Timoney1-0/+32
2018-07-30Add the request-action typesshashikanth.vh1-0/+32
Added new request action types for existing resources-type for CCVPN use case. Change-Id: I2a6406fc1a763b257abb4fd9143eaa728d54f120 Issue-ID: SDNC-384 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-07-30Corrections for northboundgaurav3-2/+6
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-27Merge "Add connection point and related to GR-API"Dan Timoney2-206/+230
2018-07-27Add connection point and related to GR-APIBrandon, Bruce (bb2697)2-206/+230
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-27Add client code to generic-resource-apiTimoney, Dan (dt5972)2-2/+115
Add code to generate generic-resource-api client which was contributed to sdnc/apps repo to sdnc/northbound/generic-resource-api, so that it will automatically be updated when yang model is updated. Change-Id: I4d36073e9771e72a2ebc38cb45f2151a88699ae6 Issue-ID: SDNC-406 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-26Generic resource API catch upBrandon, Bruce (bb2697)9-1121/+3064
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-25Merge "Add the request-action types"Dan Timoney1-0/+24
2018-07-20Add the request-action typesgaurav1-0/+24
Added new request action types for existing resources-type for CCVPN use case. Change-Id: Ife19aa69d90ebb347e07fc9314a92fb79129064d Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.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-19Merge "Add classifier to repo zip"David Stilwell3-3/+0
2018-07-19Add classifier to repo zipTimoney, Dan (dt5972)3-3/+0
Add classifier repo to zip containing jars to be installed in ODL maven repository Change-Id: I3bd48439afa75cf8770eb09347a81bf83ddc610e Issue-ID: SDNC-393 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-07-18New allotted resource for connectivity attachment.gaurav2-0/+76
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-07-17Add feature aggregator for sdnc-northboundTimoney, Dan (dt5972)16-16/+348
Add feature aggregator sdnc-northbound-all to install all features from SDNC northbound repo. Change-Id: Ibe74a5d1880fb3c62d535a7367327a1bef610c19 Issue-ID: SDNC-393 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-06Roll version for CasablancaTimoney, Dan (dt5972)22-45/+45
Roll versions for Casablanca development Change-Id: I36526a7b5b8f1471a1d73b86b3cf996524a68f1e Issue-ID: SDNC-333 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Update to use CCSDK 0.2.4v1.3.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)22-43/+43
Update to use CCSDK version 0.2.4 Change-Id: I2588021598deeb694db7751be7f38c7548a7c3cc Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-24Update version.propertiesTimoney, Dan (dt5972)1-1/+1
Update version.properties to 1.3.3 Change-Id: Iacf184b81c07dc1192cdd20a92d7ecbb20225e57 Issue-ID: CCSDK-209 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Roll to version 1.3.3-SNAPSHOTTimoney, Dan (dt5972)21-21/+21
Update to next snapshot version Change-Id: I400547435524e07b4b095b73d861ed08de424e4d Issue-ID: CCSDK-290 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)21-21/+21
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: Iaba08985957d80875bec05099a618a2873ed801c Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-04-29Roll versions step 7 : sdnc/northboundTimoney, Dan (dt5972)22-45/+45
Roll version for next release candidate. Change-Id: Ib9a84ff6d5958876d7c4902673a1cc8c199ef64e Issue-ID: SDNC-294 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-18Merge "Fix feature install for vnfapi"v1.3.1David Stilwell2-10/+8
2018-04-18Fix feature install for vnfapiTimoney, Dan (dt5972)2-10/+8
Fixed feature installer for vnfapi and vnftools to use client without -u option. Change-Id: Ic9b152965a6e70577d6e787f1e3b0a26852fcf54 Issue-ID: SDNC-283 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.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-03-16Merge "vnfapi yang model change"Dan Timoney1-839/+932
2018-03-07vnfapi yang model changeCheung, Pat (kc1472)1-839/+932
Enhance vnfapi yang model to support network-role-tag, and subnet-role Change-Id: I8f0c7cb492df905881a9cb6747e8f7da6d07c82e Issue-ID: CCSDK-200 Signed-off-by: Cheung, Pat (kc1472) <kc1472@att.com>
2018-02-28Nitrogen port : sdnc-northboundTimoney, Dan (dt5972)30-1156/+551
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-27Add tests to VnfApiProvider part 5pawel.kadlubanski1-17/+78
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns null and there is nor error during transaction writing. Issue-ID: SDNC-267 Change-Id: I8058a2f38bea66fe1c7b6f5dbf24400fef5ab3b8 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-27Add tests to VnfApiProvider part 4pawel.kadlubanski2-173/+250
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns null but exception is thrown during transaction writing. Issue-ID: SDNC-267 Change-Id: I28c833938297032eaa717001cae8810ab007e9b7 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-20Add tests to VnfApiProvider part 3pawel.kadlubanski1-0/+33
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient svcLogicClient execute method returns not null. Change-Id: Ia00b6d8ce2370920035424c6095e1d31611aaeb1 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-20Add tests to VnfApiProvider part 2pawel.kadlubanski1-30/+90
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when svcLogicClient hasGraph return false. Case when svcLogicClient execute throw SvcLogicException. Case when svcLogicClient execute throw SvcLogicException. Change-Id: I6f65049e7567ae1d0fd9eccf7f8c1f35deb3c482 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-19Refactoring VnfApiProvider part 1pawel.kadlubanski2-27/+41
Move VnfInstanceTopologyOperationInput validation from vnfInstanceTopologyOperation to seperate method. Change-Id: I56e3999a92323c745f6d0aa8b4417b9e7acb277a Issue-ID: SDNC-268 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-19Add tests to VnfApiProvider part 1pawel.kadlubanski1-2/+62
Write test for function vnfInstanceTopologyOperation in vnfapiProvider class. Case when VnfInstanceTopologyOperationInput is null. Case when VnfInstanceTopologyOperationInput is not null but VnfInstanceRequestInformation is null. Case when VnfInstanceId in VnfInstanceRequestInformation is null. Change-Id: Icc778544a9e7a80600e54a2dcd87b77d11a23121 Issue-ID: SDNC-267 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>
2018-02-15Merge "Improve code metrics"Dan Timoney1-90/+69
2018-02-14Improve code metricspawel.kadlubanski1-90/+69
Resolve nested try block identified by Sonar as in class vnfapiProvider fixes Define a constant instead of duplicating literals identified by Sonar in class vnfapiProvider fixes Change-Id: I584dfb104ee6f506ef063bb83d00beb11b1f971f Issue-ID: SDNC-243 Signed-off-by: pawel.kadlubanski <pawel.kadlubanski@nokia.com>