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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>