osm/NBI.git
20 months agoUpdate to have temporal in common 36/13036/1
Mark Beierl [Wed, 1 Mar 2023 18:26:13 +0000 (18:26 +0000)]
Update to have temporal in common

Change-Id: I1f2d77ce9c90591437949bb37b6208ffedf4a897
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoAdd Juju PaaS as a VIM 11/12911/5
Patricia Reinoso [Thu, 2 Feb 2023 15:00:40 +0000 (15:00 +0000)]
Add Juju PaaS as a VIM

The following fields are mandatory:

--account_type = paas
--config = '{paas_provider: juju}'

In case of PaaS VIM, Kafka message
is not sent to LCM.

Change-Id: Ib53a953706d05659aee4fdf0b147623cb5347cfd
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
21 months agoMerge remote-tracking branch 'origin/master' into paas 47/12947/3
Mark Beierl [Thu, 9 Feb 2023 20:17:20 +0000 (15:17 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: I81586040405620a2c19d0ac98835cfa90468523e
Signed-off-by: Mark Beierl <mark.beierl@canonical.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>
21 months agoMerge branch 'master' into paas 70/12870/1
Mark Beierl [Wed, 25 Jan 2023 16:50:21 +0000 (11:50 -0500)]
Merge branch 'master' into paas

Change-Id: I6d10b47918e35d415caff56e4876d09d93fd91ac
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
22 months agoReset branch to master 18/12818/1
Mark Beierl [Fri, 6 Jan 2023 17:56:16 +0000 (12:56 -0500)]
Reset branch to master

Change-Id: Ia717f43a8d018502eaa2678de64eab3ef4e5367e
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 agoAdding PaaS Service Creation UTs 20/12620/2
Patricia Reinoso [Wed, 26 Oct 2022 08:56:47 +0000 (08:56 +0000)]
Adding PaaS Service Creation UTs

Change-Id: I33660a3f08679d902fc1165eb6f0913d5f1f7a5b
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoAdding PaaS Service Creation 15/12615/2
Gulsum Atici [Thu, 29 Sep 2022 11:08:53 +0000 (14:08 +0300)]
Adding PaaS Service Creation

Adding paas_account parameter, making vim_account optional.
Correcting format errors in instance_topics.py and
refactoring _update_vnfrs method to make it testable.

Change-Id: Ib0e5cef22312bcdc1dfbf51cf2cbe1d37c7f4e66
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoAddition of PaaS 19/12619/1
Patricia Reinoso [Wed, 26 Oct 2022 08:55:54 +0000 (08:55 +0000)]
Addition of PaaS

Add "paas" topic and operations

Change-Id: Ib3d274d406e42025b4d1f52bf733d7c112e6116c
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoUpdating requirements to branch 03/12603/2
Mark Beierl [Mon, 24 Oct 2022 20:14:56 +0000 (16:14 -0400)]
Updating requirements to branch

Change-Id: Id8a67eea69a9bc1841cd22951047725621ea9fd8
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
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>
3 years agoFix bug 1587 - TypeError fix 58/11058/1
sousaedu [Thu, 8 Jul 2021 15:17:23 +0000 (17:17 +0200)]
Fix bug 1587 - TypeError fix

Fixes the formatting error reported by bug 1587.

Change-Id: I00446760ce4ab781ef6ca783e3a5f3221c94a774
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agobugfix(ip/mac): increments only in extra VDU, not the first one. Bug 1578 54/11054/3
bravof [Thu, 1 Jul 2021 13:32:30 +0000 (09:32 -0400)]
bugfix(ip/mac): increments only in extra VDU, not the first one. Bug 1578

Change-Id: I21a0c2e15934e58d22a3a373a6ea6ef68c9b6ebf
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoBugfix 1550: Setting a custom release name for Helm based kdus 00/10900/2
romeromonser [Fri, 28 May 2021 08:51:35 +0000 (10:51 +0200)]
Bugfix 1550: Setting a custom release name for Helm based kdus

Change-Id: I63fed6ca98633a8d7bdedec56d4db661cef5dc63
Signed-off-by: romeromonser <garomero@indra.es>
3 years agoFeature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface) 11/10511/8
Atul Agarwal [Thu, 18 Mar 2021 08:19:32 +0000 (08:19 +0000)]
Feature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface)

Change-Id: I80ee1fb48fe3ad7ac48cd3c346d2d8b8c3181c8c
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoFeature-9904: Enhancing NG-UI to enable Juju operational view dashboard 69/10469/6 release-v10.0-start
K Sai Kiran [Wed, 27 Jan 2021 16:08:34 +0000 (21:38 +0530)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard

Added query parameter to NSR api and to send a message to kafka when
conditions are met to trigger vca status refresh. Included unit tests
for functions implemented

Change-Id: Ibf691082cde15d8ee42f1a4ebaebedd99d674e8c
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>
3 years agoReformat NBI to standardized format 35/10535/5
garciadeblas [Wed, 24 Mar 2021 08:19:48 +0000 (09:19 +0100)]
Reformat NBI to standardized format

Change-Id: I17c2b029b83af84fbc97559bd2b616dfb6aef0fb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix Dockerfile.local 44/10744/4
sousaedu [Wed, 5 May 2021 10:51:45 +0000 (12:51 +0200)]
Fix Dockerfile.local

Replacing Dockerfile.local to mimic the Dockerfile in Devops.

Change-Id: I7b7ce23475cef13e1dfa2e17a91b32978e00ce8b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix 1504 - NBI-HA do not manage correctly new roles (RBAC) 43/10743/2
sousaedu [Wed, 5 May 2021 10:48:16 +0000 (12:48 +0200)]
Fix 1504 - NBI-HA do not manage correctly new roles (RBAC)

Reloads the role permission before any authorization is
performed.

Change-Id: Iaedfc6e298467b3156cc06a677c78f23f8b9d3b4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFeature 10239: Distributed VCA 74/10574/11
David Garcia [Wed, 31 Mar 2021 17:10:46 +0000 (19:10 +0200)]
Feature 10239: Distributed VCA

Add "vca" topic and operations

Change-Id: Ieb526e65a9c0c25aa186f8372920cdd4b96fc755
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agofix(vdu): vdu number of instances now is taking into account. Bug 1477 86/10686/4
bravof [Thu, 22 Apr 2021 14:03:02 +0000 (10:03 -0400)]
fix(vdu): vdu number of instances now is taking into account. Bug 1477

Change-Id: I63c5281cd5c9d935d51d1f1ace27fea782e84b4c
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoAdding GitLab Scanner 75/10675/2 branch-ng-ro-refactor-start branch-sol006v331-start
beierlm [Mon, 19 Apr 2021 20:00:48 +0000 (16:00 -0400)]
Adding GitLab Scanner

Adds gitlab-ci yaml file to enable security scans in GitLab mirror

Change-Id: I1a90cdfcfd5d4164e7dfa1c2b1aa1be8b18f4798
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix bug 1479 to check conflicts on deleting vnpkg 57/10657/3
garciadeblas [Sun, 18 Apr 2021 20:54:13 +0000 (20:54 +0000)]
Fix bug 1479 to check conflicts on deleting vnpkg

This change affects descriptor_topics.py, specifically the method
check_conflict_on_del of class VnfdTopic. When deleting a NF package,
several checks are required. One of them is the search of NS packages
using that NF package. The filter used for that search was not updated
when moving to SOL006 descriptors. That filter is updated by this
change.

In addition, this change updates the messages returned in case of
conflicts. The terms 'instance' and 'package' are added for
clarification.

Change-Id: I312e9955347c7b79286a0fb33970441edfc17ff0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFeature 10296 Pip Standardization 72/10372/10
beierlm [Mon, 22 Feb 2021 19:30:35 +0000 (14:30 -0500)]
Feature 10296 Pip Standardization

Creates standard template for tox.ini
Introduces 'safety' for listing upstream CVEs
Pins all versions of all upstream modules

Change-Id: I156239b97cd550c5349eb40197d85ce1a8dfde6c
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix 1472 - Error executing upgrade action over K8S NS 05/10505/1
limon [Wed, 17 Mar 2021 12:24:00 +0000 (13:24 +0100)]
Fix 1472 - Error executing upgrade action over K8S NS

Change-Id: Ibc9cb5e12d90f5582f49d99bcee002e2813dd9eb
Signed-off-by: limon <alimonj@indra.es>
3 years agoFix bug 1430 13/10413/3
sousaedu [Mon, 1 Mar 2021 23:19:15 +0000 (00:19 +0100)]
Fix bug 1430

Change-Id: I62a8e017345ea5c231248b06b75ea583ebd58e25
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agofix(query): new query to get VNFD using the session object. Bug 1390 06/10406/2
bravof [Fri, 26 Feb 2021 19:57:52 +0000 (16:57 -0300)]
fix(query): new query to get VNFD using the session object. Bug 1390

Change-Id: I787f8715314b113f349c9b659b41aa4e0795250d
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFixes bug 1456 by returning default empty list in case no vdu-profile is present 10/10410/1
garciaale [Mon, 1 Mar 2021 14:04:50 +0000 (11:04 -0300)]
Fixes bug 1456 by returning default empty list in case no vdu-profile is present

Change-Id: Ia1d65872771f9010f753dfe839cd22ed75d5b02e
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agofeat/fix(mgmt-cp): allows package creators to specify an external connection as ... 86/10386/3
bravof [Wed, 24 Feb 2021 20:22:24 +0000 (17:22 -0300)]
feat/fix(mgmt-cp): allows package creators to specify an external connection as 'management' through VDU/KDU configuration

Change-Id: I73cf116609e9e5e569db49d7469cbc9ebce50ab9
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agofix(configuration): juju related changes and configuration issues 75/10375/5
bravof [Mon, 22 Feb 2021 21:04:40 +0000 (18:04 -0300)]
fix(configuration): juju related changes and configuration issues

Change-Id: I55db87441ccefd63c09f77c60c2de4097be4915f
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFix bug 1432: Support for alternative images for sol006 65/10265/5
lloretgalleg [Mon, 8 Feb 2021 11:48:48 +0000 (11:48 +0000)]
Fix bug 1432: Support for alternative images for sol006

Change-Id: I9e8488c02a00916e7b6f1c4f9beb7dbdcda49677
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoFix bug 1441: set flag in NSR and VNFR to indicate that SRIOV and PT interfaces are... 01/10301/5
garciadeblas [Fri, 12 Feb 2021 11:23:50 +0000 (11:23 +0000)]
Fix bug 1441: set flag in NSR and VNFR to indicate that SRIOV and PT interfaces are used in their VLD

Change-Id: I1ab178d760a15ab4502ef31a211dd67f59a3c79f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofix(model): adaptations to allow new configuration containers 35/10335/2
bravof [Wed, 17 Feb 2021 21:08:01 +0000 (18:08 -0300)]
fix(model): adaptations to allow new configuration containers

Change-Id: Ic32b12e69e0872ca281e22f1395ae17199eefcce
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agobug(descriptor): missing fields in stored descriptors. 1408, 1388 86/10286/3
bravof [Wed, 10 Feb 2021 13:57:52 +0000 (10:57 -0300)]
bug(descriptor): missing fields in stored descriptors. 1408, 1388

Change-Id: I404cb8788458c5c574748e67de1b5f37b0a0c77b
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agobug(port-security): port security keys added to vnfr/vdur. Bug 1430. Bug 1407 54/10254/1
bravof [Thu, 4 Feb 2021 17:58:04 +0000 (14:58 -0300)]
bug(port-security): port security keys added to vnfr/vdur. Bug 1430. Bug 1407

Change-Id: I7ba1def44ad18cb1b5c5847fbe258b158467191c
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agofix(LCM): floating-ip-required parameter missing from vdu. Bug 1375 53/10253/1
bravof [Wed, 3 Feb 2021 18:22:06 +0000 (15:22 -0300)]
fix(LCM): floating-ip-required parameter missing from vdu. Bug 1375

Change-Id: I2bfe9c86daf8655784e4a82cec3fc0fa5f02cfd7
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoReverted kdur creation following the kdu modeling before SOL006 11/10111/3 release-v9.0-start v9.0.0 v9.0.0rc1
garciadeblas [Tue, 15 Dec 2020 10:33:40 +0000 (10:33 +0000)]
Reverted kdur creation following the kdu modeling before SOL006

Change-Id: I12c5d5fd63c930ccfe311ffd123827c3a0e9286d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFixes 1367 by preventing pyang discard repeated constituent-base-element-id 04/10104/1
garciaale [Fri, 11 Dec 2020 23:04:11 +0000 (20:04 -0300)]
Fixes 1367 by preventing pyang discard repeated constituent-base-element-id

Change-Id: I5b692498b04494a2182ebc5e1ef28fbcd3ba66be
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoFixes kdu-name on kdur indexing for instantiating KDUs 83/10083/1
garciaale [Mon, 7 Dec 2020 21:24:03 +0000 (18:24 -0300)]
Fixes kdu-name on kdur indexing for instantiating KDUs

Change-Id: Ida6dd3b900eea05badffc1b405985e4dd813c5e5
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoAdds a clear error message when uploading an old descriptor 78/10078/2
garciaale [Thu, 3 Dec 2020 22:17:28 +0000 (19:17 -0300)]
Adds a clear error message when uploading an old descriptor

Change-Id: Id600b558858f45001adad1bf6a4eb5f3bb28ff14
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoFix bug 1322 66/10066/1
David Garcia [Wed, 2 Dec 2020 14:47:46 +0000 (15:47 +0100)]
Fix bug 1322

Change-Id: I6a5b2ee56d8ac2383d846ed2fedc1aec37b9d798
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFixed scale validation for sol006 60/10060/1
lloretgalleg [Tue, 1 Dec 2020 12:51:52 +0000 (12:51 +0000)]
Fixed scale validation for sol006

Change-Id: Iaee84eb1fcebd797abdaa76b248c167c4936692a
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoMerges branch sol006 into master, allowing NBI to use, parse and validate SOL006... 46/10046/1
garciaale [Fri, 27 Nov 2020 13:38:35 +0000 (10:38 -0300)]
Merges branch sol006 into master, allowing NBI to use, parse and validate SOL006 descriptors

Change-Id: I85db721d20c37d82641604a4da27639445ae2a8d
Signed-off-by: garciaale <agarcia@whitestack.com>
3 years agoFeature 8532: Added new plugin authconn tacacs 28/9928/7
K Sai Kiran [Fri, 30 Oct 2020 05:44:44 +0000 (11:14 +0530)]
Feature 8532: Added new plugin authconn tacacs

Added plugin authconn_tacacs.py Created new function validate_user() to
contain the logic for username password validation.
In authconn_tacacs, validate_user will be redefined to connect to TACACS.
Created class variables which will be collections for internal mode. For TACACS mode,
they will be roles_tacacs, projects_tacacs etc.

Change-Id: Ib7fc8900860a492a79f6d0220bcdbb582edad017
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
4 years agoFeature 7184: Set at instantiation records if vld connect pci interfaces 86/9986/2
tierno [Fri, 13 Nov 2020 15:56:51 +0000 (15:56 +0000)]
Feature 7184: Set at instantiation records if vld connect pci interfaces

Change-Id: I2118c23aa17a5d7a21a56802dede4753f8054da5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>