osm/NBI.git
4 months agoRevert "Feature 11039: Modification of Audit logs in NBI for password change and... 88/14488/1
garciadeblas [Fri, 12 Jul 2024 12:44:11 +0000 (14:44 +0200)]
Revert "Feature 11039: Modification of Audit logs in NBI for password change and NS operations"

This reverts commit e1f864e2c7b09348c5e2fa5a63e5dd32e89572f5.

Change-Id: I23573d9f58c861bf9685184d6f6d62c390327af8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 11043 Instance name as Instantiation parameters - NBI 52/14452/2
kayal2001 [Thu, 27 Jun 2024 05:44:59 +0000 (11:14 +0530)]
Feature 11043 Instance name as Instantiation parameters - NBI

Change-Id: I7995b7fb32fe0756f27195c3c003b2f8a35b545f
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
4 months agoBug 2376 fixed: NBI fix for Performing NS-Update through CLI 77/14377/4
jegan [Thu, 16 May 2024 07:07:27 +0000 (07:07 +0000)]
Bug 2376 fixed: NBI fix for Performing NS-Update through CLI

Change-Id: Ic7ce37d4a6197459fd535e55f9914e47c4daa2ff
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
4 months agoFeature 11038: Enhancement of Vertical Scale Feature and merge in update API 88/14388/3
Rahul Kumar [Fri, 24 May 2024 09:10:23 +0000 (14:40 +0530)]
Feature 11038: Enhancement of Vertical Scale Feature and merge in update API

Change-Id: I5b77272ef1c5c66c131efc8a442a0d995af45df4
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
4 months agoFeature 11039: Modification of Audit logs in NBI for password change and NS operations 04/14004/6
Adurti [Thu, 9 Nov 2023 11:06:06 +0000 (11:06 +0000)]
Feature 11039: Modification of Audit logs in NBI for password change and NS operations

Change-Id: I5bf0b5afbc3cf05f3bc894ac70bf3a054a4a603e
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
4 months agoFix Bug 2308: Incorrect status update for user update 94/13994/3
Adurti [Wed, 8 Nov 2023 11:16:32 +0000 (11:16 +0000)]
Fix Bug 2308: Incorrect status update for user update

Change-Id: I54169c0975fdf15ee0e474b3351893d68591c20f
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
5 months agoFix Bug 2313: Development of User Management environmental variable 17/14017/2
Adurti [Tue, 14 Nov 2023 11:14:53 +0000 (11:14 +0000)]
Fix Bug 2313: Development of User Management environmental variable

Change-Id: Id21a297b9610429e96976cc8642d9de1a942bec2
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
5 months agoFix Bug 2307 - Invalid references of vdu-id, monitoring-param, storage and compute... 93/13993/3
Adurti [Wed, 8 Nov 2023 06:26:04 +0000 (06:26 +0000)]
Fix Bug 2307 - Invalid references of vdu-id, monitoring-param, storage and compute desc

Change-Id: I6a8db47f354c94341baede67515640598ee32b8b
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
9 months agoBug 1830 fixed: maps completed operations to original operation types 87/13987/2
Gabriel Cuba [Wed, 8 Nov 2023 05:14:33 +0000 (00:14 -0500)]
Bug 1830 fixed: maps completed operations to original operation types

Change-Id: I1a2f60f183ede39cabd9a7441ae64f10d7557232
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
9 months agoPin black version in tox.ini to 23.12.1 79/14179/1
garciadeblas [Mon, 29 Jan 2024 17:43:30 +0000 (18:43 +0100)]
Pin black version in tox.ini to 23.12.1

Change-Id: Ib84815d67d30355aaa306ba0f8f103f4d029aa3a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFix 2299 - Unable to logout from GUI when NBI uses keystone as backend 12/14112/2
Rahul [Tue, 5 Dec 2023 11:54:38 +0000 (11:54 +0000)]
Fix 2299 - Unable to logout from GUI when NBI uses keystone as backend

Change-Id: I4e8a3592e7ea66645b9a8f19de576b7ba29e9d9c
Signed-off-by: Rahul <rzamre@indracompany.com>
11 months agoFeature 10980: Service Function Chaining 18/13318/5 release-v15.0-start
selvi.j [Tue, 16 May 2023 05:43:48 +0000 (05:43 +0000)]
Feature 10980: Service Function Chaining

Change-Id: Ib0e34f152fa5b0f601fffe67b91882f5cc2fc11c
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
11 months agoFixes validation of helm charts to include URLs 44/14044/3
Gabriel Cuba [Mon, 20 Nov 2023 06:43:05 +0000 (01:43 -0500)]
Fixes validation of helm charts to include URLs

Change-Id: Ifc01ff100aaa22bc1dfeada849b41fe1824e4c7f
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoFeature 10997: add oci flag as new property in k8s repos 77/13977/3
garciadeblas [Fri, 20 Oct 2023 09:53:51 +0000 (11:53 +0200)]
Feature 10997: add oci flag as new property in k8s repos

Change-Id: Ie111db3cd71894454da8c7e96b3c1faf3cd2077a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10999: Dual-Stack IP Support for VNFs in SOL003 VNFM Interface 84/13984/3
Rahul Kumar [Thu, 2 Nov 2023 13:19:32 +0000 (13:19 +0000)]
Feature 10999: Dual-Stack IP Support for VNFs in SOL003 VNFM Interface

Change-Id: Ifb36f670036b805478ba4e1564a72f43ca1b41d7
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
11 months agoFeature 10996: Adds nslcmop_cancel to nbi.py and instance_topics.py 81/13981/6
Gabriel Cuba [Mon, 30 Oct 2023 19:01:54 +0000 (14:01 -0500)]
Feature 10996: Adds nslcmop_cancel to nbi.py and instance_topics.py

Change-Id: I1094c7537377ad31ed38012c4e49d8a3f31b274b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoFeature 11002: Deprecate helmv2 70/14070/3
Luis Vega [Tue, 28 Nov 2023 16:44:30 +0000 (16:44 +0000)]
Feature 11002: Deprecate helmv2

Fixes I77fb144d533f58ff927bda9382dbc6cba0f0dbd6

Change-Id: Ieaef4f4d2d50ac28db45fb447e6656f79e38771a
Signed-off-by: Luis Vega <lvega@whitestack.com>
11 months agoFeature 11002: Deprecate helmv2 61/14061/1
Luis Vega [Thu, 23 Nov 2023 20:29:29 +0000 (20:29 +0000)]
Feature 11002: Deprecate helmv2

Change-Id: I77fb144d533f58ff927bda9382dbc6cba0f0dbd6
Signed-off-by: Luis Vega <lvega@whitestack.com>
13 months agoUpdate pip requirements to pass stage2 and stage3 in all modules 02/13902/1
garciadeblas [Thu, 28 Sep 2023 21:50:52 +0000 (23:50 +0200)]
Update pip requirements to pass stage2 and stage3 in all modules

Change-Id: I50582481c2aa5359c749dd7246e55aaa270dee57
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoFix pip requirements to update pyangbind version to 0.8.3.post1 82/13882/2
garciadeblas [Wed, 6 Sep 2023 08:34:02 +0000 (10:34 +0200)]
Fix pip requirements to update pyangbind version to 0.8.3.post1

Change-Id: Ia278a01b8797a353b8d89f5ca31c9e3073e40f2c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agofeature: helm charts repos with certs 65/13665/2
Luis Vega [Tue, 11 Jul 2023 18:47:22 +0000 (18:47 +0000)]
feature: helm charts repos with certs

Change-Id: I34a6c02a7777081f851f5e9507db45dca6b1cef9
Signed-off-by: Luis Vega <lvega@whitestack.com>
15 months agoFix flake8 error caused by using type instead of isinstance 90/13790/1
gatici [Mon, 31 Jul 2023 11:37:32 +0000 (14:37 +0300)]
Fix flake8 error caused by using type instead of isinstance

Change-Id: Iccbf5a3a61e7b1c76c8e4e062fd8c24a09a39314
Signed-off-by: gatici <gulsum.atici@canonical.com>
16 months agoUpdate version of PyYAML 15/13715/1
Mark Beierl [Fri, 21 Jul 2023 17:13:33 +0000 (17:13 +0000)]
Update version of PyYAML

Change-Id: I9672c4cfc5e1aa3abcb67ee328fab299068c141c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoCoverity-CWE 295: Improper Certificate Validation 15/13315/4 release-v14.0-start
selvi.j [Fri, 28 Apr 2023 06:47:48 +0000 (06:47 +0000)]
Coverity-CWE 295: Improper Certificate Validation

Added fix for CWE 295: Improper Certificate Validation
(SSL certificate validation disabled)

Change-Id: Ibdf84e00a79d42c695a25ce96e13c515e85b11f2
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoBug 2250 fixed 79/13479/2
Pedro Escaleira [Wed, 31 May 2023 13:32:17 +0000 (14:32 +0100)]
Bug 2250 fixed

Change-Id: I82a525d06cbc4e824b37afecd9a0116691326e19
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
17 months agoFix bug 2088 by validating helm-chart value on VNF 34/13534/4
Daniel Arndt [Thu, 15 Jun 2023 14:43:33 +0000 (16:43 +0200)]
Fix bug 2088 by validating helm-chart value on VNF

CVE-2022-35503

Change-Id: If8949daad2fb6d6d2aa72b851358cae9bf19d142
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
17 months agoRevert "Revert "Feature 10941: User Management Enhancements"" 51/13551/2
garciadeblas [Mon, 19 Jun 2023 20:34:49 +0000 (22:34 +0200)]
Revert "Revert "Feature 10941: User Management Enhancements""

This reverts commit 5f3111606f278c4b21c9f0d37b7c5c9af92cfe43.

Change-Id: I2250c1b52487f6de7d56014e3da29eb1f78ec166
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFeature 10972: Support of volume multi-attach 99/13499/4
vegall [Fri, 2 Jun 2023 21:25:32 +0000 (21:25 +0000)]
Feature 10972: Support of volume multi-attach
Fixes issue with volume rename

Change-Id: I067dca33b366a8ded869b0a4bb2b4bdd6fded26d
Signed-off-by: vegall <lvega@whitestack.com>
17 months agoRevert "Feature 10941: User Management Enhancements" 49/13549/1
garciadeblas [Mon, 19 Jun 2023 20:33:45 +0000 (22:33 +0200)]
Revert "Feature 10941: User Management Enhancements"

This reverts commit 536bb568cd1c79d16d36cd13bdd20d167337d30d.

Change-Id: I238e646546088f9135c272f9ff4890b65959a570
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRevert "Revert "Feature 10941: User Management Enhancements"" 36/13536/2
garciadeblas [Thu, 15 Jun 2023 09:47:15 +0000 (11:47 +0200)]
Revert "Revert "Feature 10941: User Management Enhancements""

This reverts commit 86ec75c0970e672638d4f0d27bc6f471fe256bfb.

Change-Id: I00db6e24782f9cb42f49eeab21b2a35467809f5c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRevert "Feature 10941: User Management Enhancements" 35/13535/1
garciadeblas [Thu, 15 Jun 2023 09:47:08 +0000 (11:47 +0200)]
Revert "Feature 10941: User Management Enhancements"

This reverts commit acdb5d4d3d2452b5a7f3be87190875d3a06e6999.

Change-Id: Idbd0a3532991de5d5dba81f96a1ff0e2ac55d7bd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoFeature 10941: User Management Enhancements 07/13207/2
selvi.j [Tue, 18 Apr 2023 04:24:13 +0000 (04:24 +0000)]
Feature 10941: User Management Enhancements

Added the implementation code for the user management enhancements feature

Change-Id: I728816c454c1c9b509606fb30df374f1b443e893
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoCoverity-CWE 476: NULL Pointer Dereference 84/13284/3
selvi.j [Wed, 26 Apr 2023 12:22:13 +0000 (12:22 +0000)]
Coverity-CWE 476: NULL Pointer Dereference

Added fix for CWE 476: NULL Pointer Dereference (Bad use of null-like value)

Change-Id: I58f3298ee5d7a49fe209e257ef73f4bdbdc1742d
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoCoverity-CWE 569: Expression Issues 20/13320/3
selvi.j [Fri, 28 Apr 2023 11:00:21 +0000 (11:00 +0000)]
Coverity-CWE 569: Expression Issues

Added fix for CWE 569: Expression Issues (Same on both sides)

Change-Id: Idfd9c3ef387da9250768b4bd0f42ba81c5edd86a
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoFeature 10972: Support of volume multi-attach 46/13046/6
vegall [Mon, 6 Mar 2023 13:49:21 +0000 (13:49 +0000)]
Feature 10972: Support of volume multi-attach

Change-Id: I6e22ec266f56074176ce8cbd0d7f92545a3b00f3
Signed-off-by: vegall <lvega@whitestack.com>
17 months agoFeature 10958: Audit Logs for OSM 63/13263/6
elumalai [Mon, 24 Apr 2023 15:08:32 +0000 (20:38 +0530)]
Feature 10958: Audit Logs for OSM

Added support for audit logs following CEF format in nbi.py,
auth.py and authconn_internal.py.

Change-Id: Ia4ef2fd7097a81d031d6e1bc68a779f536675fef
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
18 months agoCoverity-CWE 330: Use of Insufficiently Random Values 83/13283/3
selvi.j [Wed, 26 Apr 2023 12:13:10 +0000 (12:13 +0000)]
Coverity-CWE 330: Use of Insufficiently Random Values

Added fix for CWE 330: Use of Insufficiently Random Value (Cryptographically weak PRNG)

Change-Id: If17007c4e14fa91b3c378a504e7fbd03ea44a69b
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
18 months agoUpdate to Python 3.10 and Ubuntu 22.04 66/13366/2
Mark Beierl [Wed, 10 May 2023 17:55:55 +0000 (13:55 -0400)]
Update to Python 3.10 and Ubuntu 22.04

Removed stale test file that has linting errors
Removed event loops
Updated Python dependencies

Change-Id: I9462b0d67ea6b5bd4c869b5f2bc8d6c57d78660c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoClean stage-archive.sh and use allowlist_externals in tox.ini 12/13212/2
garciadeblas [Tue, 18 Apr 2023 12:42:40 +0000 (14:42 +0200)]
Clean stage-archive.sh and use allowlist_externals in tox.ini

Change-Id: I214df1372915a96db81ba36faff93dabffe18b6b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
19 months agoFeature 10975: adds vim-flavor-id to ns_instantiate_vdu schema 62/13162/2
Gabriel Cuba [Wed, 5 Apr 2023 20:24:52 +0000 (15:24 -0500)]
Feature 10975: adds vim-flavor-id to ns_instantiate_vdu schema

Change-Id: Ib638fa9d29f3899bcc4609634d3a99e485152e5d
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
19 months agoFix Bug 2229 Set fixed IP address for VDU through VNFD and the instantiation params 00/13100/6
Gulsum Atici [Tue, 28 Mar 2023 14:50:48 +0000 (17:50 +0300)]
Fix Bug 2229 Set fixed IP address for VDU through VNFD and the instantiation params

Change-Id: Ia912cd52a0965a6c2b23faa2b88d9b4d0569fd3f
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
20 months agoUse ip_profile_schema in validation.py 94/12994/2
garciadeblas [Wed, 22 Feb 2023 15:52:24 +0000 (16:52 +0100)]
Use ip_profile_schema in validation.py

Change-Id: If5742f94acba919d5400fabc4c601e45b05c1bdb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoReplace yaml.load by yaml.safe_load 68/12968/1
garciadeblas [Tue, 14 Feb 2023 18:05:34 +0000 (19:05 +0100)]
Replace yaml.load by yaml.safe_load

Change-Id: I4f6c3802e40d763fc2175dbb2bd94dbc79b813c2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoEnable pylint, black and flake8 in tox.ini 59/12859/7
garciadeblas [Tue, 24 Jan 2023 15:56:54 +0000 (16:56 +0100)]
Enable pylint, black and flake8 in tox.ini

Change-Id: I5e252eb4802b79497a3fdfea63488668d8a8c692
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoFeature 10950: Replace pycrypto with pycryptodome 15/12915/1
Gulsum Atici [Fri, 3 Feb 2023 17:39:56 +0000 (20:39 +0300)]
Feature 10950: Replace pycrypto with pycryptodome

Change-Id: I187330a6563cb5f4ce19ce3694519e87d692ec3b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
21 months agoUpdating python dependencies 91/12891/1
Mark Beierl [Fri, 27 Jan 2023 21:23:41 +0000 (21:23 +0000)]
Updating python dependencies

Update of Python packages (using pip-compile) in preparation for
Release FOURTEEN

Change-Id: If354cd6b4f13592bbe33cc3496b553bc01033a27
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoBug 1954 fixed: I added the <OSM> parameter as one of the valid ones that will be... 08/11808/2 release-v13.0-start
Pedro Escaleira [Thu, 31 Mar 2022 10:50:49 +0000 (11:50 +0100)]
Bug 1954 fixed: I added the <OSM> parameter as one of the valid ones that will be automatically auto-populated by the LCM

Change-Id: I534aff21f2ecb9621c54c45e86ae3b0835e6cf53
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoBug 2038 fixed 12/12112/3
Pedro Escaleira [Fri, 20 May 2022 14:29:20 +0000 (15:29 +0100)]
Bug 2038 fixed

The method _format_additional_params of the instance_topics.py was
changed in order to verify the target object (VNF|NS|VDU|KDU) where
we need to populate the params with the additional ones given by the
user

Change-Id: I599bb6320054e15917e11d81d6971b33f13f20fd
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoFixing Bug 2103 and Bug 2134 in NBI 47/12447/3
aticig [Wed, 10 Aug 2022 14:30:12 +0000 (17:30 +0300)]
Fixing Bug 2103 and Bug 2134 in NBI

Update usageStatus in DB properly and do not validate the
descriptors which are not in actively in use.

Change-Id: I671b183cd1537643a32d51db6268379068661f0a
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoRefactoring NBI decriptor_topics unit tests, 61/12461/6
aticig [Mon, 15 Aug 2022 20:48:23 +0000 (23:48 +0300)]
Refactoring NBI decriptor_topics unit tests,
enabling stage-test to fail with tox results

Test_VnfdTopic and Test_NsdTopic classes are refactored.

Change-Id: Ic8e8310f2c2913cf07ff25755f1a2196d16eb944
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoBug 2068 - show_content_artifacts error for zip uploaded packages (sol004 and sol007) 89/12489/2
selvi.j [Thu, 25 Aug 2022 06:24:49 +0000 (06:24 +0000)]
Bug 2068 - show_content_artifacts error for zip uploaded packages (sol004 and sol007)

NG-UI throws an error while clicking content button inside action dropdown
For zip based onboarded packages (sol004 and sol007), facing issues while retrieving the file contents from NG-UI.

API used: /osm/vnfpkgm/v1/vnf_packages/<id>/artifacts

Error detail: Packages does not contains artifacts

Changes made: Zip based packages will check for the folder name, if it doesn't have folder name,
then it will raise the exception else it will pass and print the required output.

Change-Id: I0e6ea93a37162a646ddf2a08103d2a99791a8777
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
2 years agoFix bug 2151 to encrypt correct WIM account password field and check WIM accounts. 10/12510/1
gifrerenom [Mon, 7 Mar 2022 16:57:25 +0000 (16:57 +0000)]
Fix bug 2151 to encrypt correct WIM account password field and check WIM accounts.

Change-Id: I424453286bd057b3c95d5a1bc839ced3ac72ba50
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
2 years agoBug 2108: Fix for editing polices in VNFD 21/12421/1
elumalai [Fri, 8 Jul 2022 06:36:27 +0000 (12:06 +0530)]
Bug 2108: Fix for editing polices in VNFD

Added fix for extracting policies from VNFD

Change-Id: I7bb55f32c4e5524030f92a0afed920e003a764bf
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUnit tests for Feature 10910 50/12150/2
elumalai [Wed, 1 Jun 2022 07:27:24 +0000 (12:57 +0530)]
Unit tests for Feature 10910

Added unit tests in NBI for feature 10910 - Migration of
Openstack based VM instances

Change-Id: Ied4ef3cb4b9754ace4667fe43abc303fc374e9b8
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoBugzilla - Bug 2101 : Vertical Scaling Json schema issue 05/12305/2
govindarajul [Wed, 6 Jul 2022 10:24:38 +0000 (10:24 +0000)]
Bugzilla - Bug 2101 : Vertical Scaling Json schema issue

Change-Id: I65c756b18c0f70b51517c09b65fa07d445f7d146
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
2 years agoBug 2097: Fix for flavor name 01/12301/2
elumalai [Tue, 5 Jul 2022 12:23:59 +0000 (17:53 +0530)]
Bug 2097: Fix for flavor name

Added member-vnf-index and revision number in flavor name to keep it unique.

Change-Id: Ie1e3bc23cba30812a0b917f1518bc4567c9e31b3
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoJenkins refresh 38/12338/2
Mark Beierl [Thu, 14 Jul 2022 13:39:15 +0000 (09:39 -0400)]
Jenkins refresh

Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup

Change-Id: I8758d7d5e38ef34ffba16555994e6b15511719bb
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoManual update of pip requirements 54/12254/1 release-v12.0-start
beierlm [Fri, 24 Jun 2022 17:40:58 +0000 (17:40 +0000)]
Manual update of pip requirements

Change-Id: I963e8f63e80e6b35f090b5c03a0ada223118e65e
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix Bug 1607 interface position is not taken into account 07/12207/3
aticig [Wed, 15 Jun 2022 22:39:44 +0000 (01:39 +0300)]
Fix Bug 1607 interface position is not taken into account

This fix provides to pass the position information to LCM.

Change-Id: Ic3ddc376932ad52e09205484202542b0c50a6cd3
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10911-Vertical scaling of VM instances from OSM 80/11980/4
govindarajul [Fri, 29 Apr 2022 13:35:22 +0000 (19:05 +0530)]
Feature 10911-Vertical scaling of VM instances from OSM

Added implementation code for Vertical Scaling of VDUs in OSM NBI.

Change-Id: I13a30ec3da9eccaf04219023f33ec0a6e6061f0e
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
2 years agoFeature 10922: Stop, start and rebuild 76/11976/4
k4.rahul [Fri, 29 Apr 2022 12:30:36 +0000 (12:30 +0000)]
Feature 10922: Stop, start and rebuild

Added support for feature start stop rebuild of VNF instances
Change-Id: Ica068b9a4716a7ccaf80d98a9665cc91f119b1ee
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
2 years agoBug 1970 fixed 29/11829/2
Pedro Escaleira [Sun, 3 Apr 2022 17:31:50 +0000 (18:31 +0100)]
Bug 1970 fixed

Now the Dockerfile.local uses Ubuntu 20.04;
The paths in the format `/[...]/python<version>/[...]` where replaced
with the new Python version (3.8 instead of 3.6)

Change-Id: Iccccecb2bd4f4d8156357dba582b0460987b060f
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoChange idna version to 3.3 30/12130/2
aticig [Thu, 26 May 2022 15:20:52 +0000 (18:20 +0300)]
Change idna version to 3.3

Change-Id: I936356c00647c58a48edaa87c0bb4782b7458173
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix Bug 2009 use existing volumes as instantiation parameters 80/12080/2
aticig [Wed, 18 May 2022 15:55:23 +0000 (18:55 +0300)]
Fix Bug 2009 use existing volumes as instantiation parameters

Change-Id: I8bed540aea41c23eef5ff4bf25f7ea03d77ba064
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10909: Heal operation for VDU 65/11665/8
garciadeblas [Thu, 10 Feb 2022 23:43:44 +0000 (00:43 +0100)]
Feature 10909: Heal operation for VDU

Change-Id: I9cda701cc265f8acad82574dab96a374cc399fa2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 2024 71/12071/3
beierlm [Wed, 18 May 2022 01:25:29 +0000 (21:25 -0400)]
Bug 2024

Creates a rollback for deleting files created before validation
failure

Fixes Bug 2024

Change-Id: I7c3ab4ace06acad073dac492a25b78c2d5a11427
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10904: Make all deployment methods optional for K8s cluster 75/11775/3
Gabriel Cuba [Tue, 22 Mar 2022 19:01:26 +0000 (14:01 -0500)]
Feature 10904: Make all deployment methods optional for K8s cluster

Change-Id: Ie299c87b647a25d838e698da841cc27e5bb478e2
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
2 years agoFix for Basic25 issue - NS Update Change VNF Package 28/12128/2
elumalai [Thu, 26 May 2022 10:02:06 +0000 (15:32 +0530)]
Fix for Basic25 issue - NS Update Change VNF Package

Added default software-version values to fix the robot test issue

Change-Id: Ifc7ab9747261136acc29b58056c16feb0d822b7a
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoFeature 10912: NS Update Change VNF Package 34/11934/5
elumalai [Mon, 25 Apr 2022 16:57:59 +0000 (22:27 +0530)]
Feature 10912: NS Update Change VNF Package

Added support for NS Update Change VNF Package feature

Change-Id: I1a20b170f33e64f20814245602c9412133064ca6
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoFeature 10916: Remove VNF Instance from NS - NS Update 54/11954/9
elumalai [Wed, 27 Apr 2022 18:45:59 +0000 (00:15 +0530)]
Feature 10916: Remove VNF Instance from NS - NS Update

Added support for input validation of Remove VNF update type
Added unit test cases

Change-Id: Ia294114ef093a0cf8a8ba141fc4710cef1bd3b98
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoFeature 10926 - Subscription feature for SOL003 VNF-LCM 72/11972/2
selvi.j [Fri, 29 Apr 2022 05:42:35 +0000 (05:42 +0000)]
Feature 10926 - Subscription feature for SOL003 VNF-LCM

Added the subscription and notification implementation code
for SOL003 Life cycle management interface

Change-Id: Id73f83f4bf1bbbd07f0b3844a9a89442f8cdfb95
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
2 years agoFeature 10910: Migration of Openstack based VM instances 64/11964/3
elumalai [Thu, 28 Apr 2022 11:56:24 +0000 (17:26 +0530)]
Feature 10910: Migration of Openstack based VM instances

Added feature support for Migration of Openstack based VM instances
from OSM

Change-Id: I7db836401c5b9fee71f032884064593135fb88d9
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoRevert "Revert "Feature 10915: SOL003 STD Support for OSM"" 65/12065/2
almagia [Tue, 17 May 2022 12:12:22 +0000 (14:12 +0200)]
Revert "Revert "Feature 10915: SOL003 STD Support for OSM""

This reverts commit b1186b0b9ea287010c9f37ba6062512ea93f0ed4.
As requested by TSC Chair

Change-Id: I811ceec9e7d458b9a528f131cf44c2807f45efb2

2 years agoAdd timeout_ns_update to the NS update params in valdation.py 82/12082/1
garciadeblas [Thu, 19 May 2022 08:31:52 +0000 (10:31 +0200)]
Add timeout_ns_update to the NS update params in valdation.py

Change-Id: I1def985bd805ecf9320ea548c5f51b2a679ba859
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10908: Update Charms in Running VNF instances 43/11843/14
aticig [Tue, 5 Apr 2022 06:00:17 +0000 (09:00 +0300)]
Feature 10908: Update Charms in Running VNF instances

New URL in NBI to accept the update and put the
update task into Kafka bus.

Change-Id: Iaeaabc4e33a0662f9e7afaf7794cddd2bd6dea1a
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10908: NBI Validation of packages upload 66/11866/12
aticig [Thu, 7 Apr 2022 08:57:18 +0000 (11:57 +0300)]
Feature 10908: NBI Validation of packages upload

Descriptor validation methods are added for package update operations.

Change-Id: I38aa0319c698fcc7ff87f95712d2cef83c3aff8b
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB 52/11952/2
vegall [Wed, 27 Apr 2022 15:31:49 +0000 (15:31 +0000)]
Feature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB

Change-Id: Icd8632036d01368b72fd44a06678ef9403ee8009
Signed-off-by: vegall <lvega@whitestack.com>
2 years agoRevert "Feature 10915: SOL003 STD Support for OSM" 62/12062/1
almagia [Tue, 17 May 2022 08:23:11 +0000 (10:23 +0200)]
Revert "Feature 10915: SOL003 STD Support for OSM"

This reverts commit 59e9d88971c2f513c85ca7095a1e8493f9ebb513.

As requested by TSC chair

Change-Id: I9ec74f1498e9eb0aabac1a41cbb4477cbc930f0d

2 years agoFeature 10915: SOL003 STD Support for OSM 08/11908/11
selvi.j [Thu, 21 Apr 2022 14:52:15 +0000 (14:52 +0000)]
Feature 10915: SOL003 STD Support for OSM

Added implementation code for SOL003 STD support API's for VNF Lifecycle management interface

Change-Id: Ibd483a99aec24b1e7d8166d9e17a899e70b27647
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
2 years agoFeature 10914: Enforce Password change on First login 33/11833/2
selvi.j [Mon, 4 Apr 2022 06:54:30 +0000 (06:54 +0000)]
Feature 10914: Enforce Password change on First login

Added Implementation code for Enforce Password change on First login
and expire password after preset number of days feature

Change-Id: Id1ac670a8f4f27d701aef430f426e911b290b885
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
2 years agoFixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf 41/11941/1
Alexis Romero [Tue, 26 Apr 2022 17:10:21 +0000 (19:10 +0200)]
Fixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf

Change-Id: I965ad7339573ecfe8f2eb699a354396f096cf9c5
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoBug 1989 Do not use trailing / for directory 80/11880/1
beierlm [Wed, 13 Apr 2022 10:28:58 +0000 (06:28 -0400)]
Bug 1989 Do not use trailing / for directory

When storing package contents in fsmongo, the tar format does not have a trailing
/ on directories, but zip format does.  As a result, when searching for the charm
directory, logic was added to append the / on the end of the directory name.

This is no longer needed as the reverse sync is being used now to store package
content and it handles directory names properly.

Fixes bug 1989

Change-Id: I31540c817113f393e222ae47c3420f374769e3ed
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10908: NBI Revisions 98/11798/10
beierlm [Tue, 29 Mar 2022 21:42:48 +0000 (17:42 -0400)]
Feature 10908: NBI Revisions

Changes to package management and instance creation to support
revisions.
Change the file store to also create directories of revisions
and clean them up on package deletion.

Change-Id: Ice3586247d08532efe8a5ab00bbadaa71a6c1b99
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix bug 1961 to allow IPv6 addresses besides IPv4 as instantiation param 25/11825/4
garciadeblas [Mon, 4 Apr 2022 14:33:59 +0000 (16:33 +0200)]
Fix bug 1961 to allow IPv6 addresses besides IPv4 as instantiation param

Change-Id: Ib362e7749b67a279b0268d4939f8474289988c58
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10906: Support for Anti-Affinity groups 45/11745/2
Alexis Romero [Fri, 11 Mar 2022 14:53:40 +0000 (15:53 +0100)]
Feature 10906: Support for Anti-Affinity groups

Change-Id: I4ba62d2da9f03c2b26ec60d885673f906268887a
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoBug 1926: Update version of Six 71/11771/2
beierlm [Tue, 22 Mar 2022 13:14:32 +0000 (09:14 -0400)]
Bug 1926: Update version of Six

The IM now uses six 1.16.0, so the requirements-dev.txt needs to be
updated to match

Additional dependencies updated:
  lxml
  pyang
  idna
  requests

Fixes bug 1926

Change-Id: I7d8f9ca9a0fd5e0d0e2bdb1900ef247a5b41fccc
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBug 1837 fix - Helm based KNF cannot be instantiated if values files contains a label... 87/11587/2
Guillermo Calvino [Wed, 26 Jan 2022 16:37:56 +0000 (17:37 +0100)]
Bug 1837 fix - Helm based KNF cannot be instantiated if values files contains a label with special characters '.'

Change-Id: I1888e9402449ef67898b7ebe6a0d68f5cc282978
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoBug 1844: LTS Support 12/11512/2
beierlm [Thu, 13 Jan 2022 16:40:06 +0000 (11:40 -0500)]
Bug 1844: LTS Support

Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile

Fixes bug 1844

Change-Id: I66a80d649fa5beaaf0821c9e307ca7215ede9fd4
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix bug 1723 to support IPv6 schema for PDU IP address 94/11294/4
garciadeblas [Tue, 26 Oct 2021 15:27:35 +0000 (17:27 +0200)]
Fix bug 1723 to support IPv6 schema for PDU IP address

Change-Id: I3301e6d82408eceafae25f7219294310677a7bb5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofeature: sol004 and sol007 13/11313/9
bravof [Mon, 8 Nov 2021 12:44:54 +0000 (09:44 -0300)]
feature: sol004 and sol007

Change-Id: Icca9da37cdb97e129e2cb239e1e317e327b266ad
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoBug 1759 fix 29/11329/3
Gulsum Atici [Wed, 10 Nov 2021 17:59:06 +0000 (20:59 +0300)]
Bug 1759 fix

This fix makes ip-address (v4) assignment funtional in NSD.

Change-Id: I1731c22806f49e0365800e6ba197f85ff2fc8a2c
Signed-off-by: Gulsum Atici <gulsum.atici@ulakhaberlesme.com.tr>
3 years agobugfix(VNFR): virtual storages added to VDU section inside the VNFR. bug 1511 30/11330/2
bravof [Wed, 10 Nov 2021 20:58:58 +0000 (17:58 -0300)]
bugfix(VNFR): virtual storages added to VDU section inside the VNFR. bug 1511

Change-Id: I60b33c5e4066545ba39e5dcaf1b7d9f27e6905d2
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFix bug 1716: remove vcaId from NSR instantiation parameter 84/11284/1 release-v11.0-start
David Garcia [Thu, 21 Oct 2021 14:39:21 +0000 (16:39 +0200)]
Fix bug 1716: remove vcaId from NSR instantiation parameter

Change-Id: I9b19f09309886608a04e779d18702c1bdf32052c
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1701: remove vcaId parameter in NS deployment 56/11256/2
David Garcia [Wed, 13 Oct 2021 15:14:01 +0000 (17:14 +0200)]
Fix bug 1701: remove vcaId parameter in NS deployment

With this change, in the deployment request, the NBI will get the vca id
from the vim id, which is information that already has.

Change-Id: I31ec3d82da8f55641c3b4869cb3afed465073549
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1688 - widening validation parameters 41/11241/1
sousaedu [Thu, 7 Oct 2021 14:17:32 +0000 (15:17 +0100)]
Fix bug 1688 - widening validation parameters

Change-Id: Ic6d0f00cc77682392b2f151ee3e01892029016e5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoBug 1538 Fixed 48/10848/5
K Sai Kiran [Thu, 20 May 2021 05:39:49 +0000 (11:09 +0530)]
Bug 1538 Fixed

In case if df is not available in an NSD then  nsd.get("df", [[]])[0].get("vnf-profile", ())
raises an exception. Since [[]][0] returns a list and list does not have a get() function.
Fix is to change [[]] to [{}] such that when [{}][0] is executed we get a dict instead of
list.

Change-Id: I7e7ce62a44720dcc368ce7a4fa3d0bc1d7beb43b
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
3 years agoIncluding upstream requirements 90/10690/2
beierlm [Thu, 22 Apr 2021 17:00:11 +0000 (13:00 -0400)]
Including upstream requirements

Now that internal OSM software does not specify python modules in
setup.py, we need to include the requirements.txt from the module
in the requirements-dev.in to generate the full list properly.

Change-Id: I15a61b1ba000de6acd2e1757a362cc92812c0b0a
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix bug 1592 - fix import for IM 89/11089/4
sousaedu [Thu, 29 Jul 2021 15:40:16 +0000 (17:40 +0200)]
Fix bug 1592 - fix import for IM

Change-Id: Ie65ceb116eb7fbb5478e989ca100835334527427
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFeature5950: Management of quotas in VIM Account 99/10799/3
vijay.r [Fri, 14 May 2021 11:54:59 +0000 (11:54 +0000)]
Feature5950: Management of quotas in VIM Account

Adding code support for Openstack quota resources in vim_accounts

Change-Id: I80b557824729fd6aedcc11dbc70d1f284497a0ea
Signed-off-by: vijay.r <vijay.r@tataelxsi.co.in>
3 years agoFix bug 1595 - Can not create Openstack vim due to special characters in username 62/11062/2
sousaedu [Mon, 12 Jul 2021 08:21:06 +0000 (10:21 +0200)]
Fix bug 1595 - Can not create Openstack vim due to special characters in username

I've checked the code in common and in NBI to see if there was a
possible vector for NoSQL Injection and there wasn't.

Change-Id: I9f1626f8d943999d94d82444aec12efa0f66ddc7
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>