sousaedu [Thu, 7 Oct 2021 14:27:21 +0000 (15:27 +0100)]
Fix bug 1686 - widening validation parameters
Change-Id: I754ef1a092c93aa308520373a8335fc68b471b51
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Thu, 29 Jul 2021 15:40:16 +0000 (17:40 +0200)]
Fix bug 1616 - fix import for IM
Change-Id: Ie65ceb116eb7fbb5478e989ca100835334527427
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
sousaedu [Mon, 12 Jul 2021 08:21:06 +0000 (10:21 +0200)]
Fix bug 1593 - 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>
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:59:05 +0000 (10:59 +0200)]
Bugfix 1550: Setting a custom release name for Helm based kdus
Change-Id: I0fa35bc062f19ab838072a9ee267bbc2ba4b3e48
Signed-off-by: romeromonser <garomero@indra.es>
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>
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>
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>
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>
garciadeblas [Thu, 8 Apr 2021 19:57:24 +0000 (21:57 +0200)]
Fix osm-common and osm-im dependencies to use v9.0
The dependencies in requirements.txt were pointing to master
instead of pointing to v9.0. With the recent changes in the
repos, osm-common and osm-im in master did not have dependencies,
so the error raised.
The file setup.py was also updated because it was enough to specify
the requirements there as 'osm-im' and 'osm-common'.
Change-Id: Ic5f0f39de283424900910ca4225ab7bf03584fa2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.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>
(cherry picked from commit
9b33fa825aaf935e4f467b1a01f65c85d1b9b694)
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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Sat, 27 Feb 2021 23:12:26 +0000 (23:12 +0000)]
Merge remote-tracking branch 'origin/master' into v9.0
Change-Id: Ib429d0fbc6ecfeff1b29066683f71b1594cf5a46
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.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>
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>
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>
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>
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>
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>
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>
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>
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>
Vijay Nag B S [Tue, 29 Sep 2020 11:58:51 +0000 (17:28 +0530)]
Support for mongodb replicaset connection (HA).
Added replicaset field in nbi.cfg file, which is used in
mongodb connection string (osm_common/db_mongo.py).
Change-Id: I5b4c15463a6593319f2d9f097b41a3bb9688fcc6
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
garciaale [Tue, 20 Oct 2020 21:29:45 +0000 (18:29 -0300)]
Extracts individual validations for VnfdTopic and NsdTopic classes and adds unit tests for them
Change-Id: I4eada3cc7207b583f1d47f5fa2cf982152c811e6
Signed-off-by: garciaale <agarcia@whitestack.com>
agarwalat [Thu, 8 Oct 2020 13:06:14 +0000 (13:06 +0000)]
NBI changes for Grafana Multitenancy feature
Change-Id: If92574606108152fed505dd5c132176721aa1736
Signed-off-by: agarwalat <atul.agarwal@altran.com>
lloretgalleg [Wed, 4 Nov 2020 10:04:28 +0000 (10:04 +0000)]
Added support for helm version
Change-Id: Id6d3a8430c75a3043b2c261db478c36da30af6b9
Signed-off-by: lloretgalleg <illoret@indra.es>
tierno [Tue, 26 May 2020 15:39:18 +0000 (15:39 +0000)]
Feature 7184: Adding flavor, image info to nsr
adding boot-data-drive to vdu
adding vdu interfaces sorted by key position
Change-Id: I6e3aee2e001b3dfb63694c876f414be5bcbbc108
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
fonsecaj [Thu, 29 Oct 2020 18:35:58 +0000 (18:35 +0000)]
Fixes Bug 1275 - aiokafka 0.7.0 dependency added
Change-Id: I3e7f5e25325dbbb4019e6eac7096ddcbbeee1b07
Signed-off-by: fonsecaj <jpedrofonseca@av.it.pt>
tierno [Wed, 28 Oct 2020 10:04:37 +0000 (10:04 +0000)]
fix 1272. Fixing aiohttp version to 3.6.2
library aioresponses 0.7.0 used only by unittests is failing
with the aiohttp version 3.7.x For the moment freezing aiohttp
version
Also allows modern versions of cherrypy and jsonschema in master branch
Change-Id: I45503fd28a2f015773b1f7200d80d5ce412df567
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Thu, 8 Oct 2020 15:25:45 +0000 (15:25 +0000)]
Fix bug 1255: returning UNPROCESSABLE_ENTITY when quota exceeded
When quota exceeded for vnfds, nsds, ns_instances topics, NBI
should return UNPROCESSABLE_ENTITY instead of UNAUTHORIZED
Change-Id: I0a8f4dc1df844e1027ff8234f101b82baa0bcee8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Tue, 6 Oct 2020 08:28:00 +0000 (08:28 +0000)]
fix 1238: Provide known ip-address, mac-address at created vnf
vnf is created at database. Instantiation parameters of
ip-address, mac-adddress are populated to the vnf, so that
it is available for jinja2 cloud-init parsing at LCM
Change-Id: Ida091f713219f702b753a044683d9474a2670cc1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 18 Sep 2020 14:18:55 +0000 (14:18 +0000)]
fix validation error oneOf
Change-Id: Iaa4ecf3b5b27136d99d26aea59363de1dbb55477
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
K Sai Kiran [Fri, 28 Aug 2020 08:58:27 +0000 (14:28 +0530)]
Fixed bug 1176 wims Removed role permission tags
No routes present for wims. Hence wims:<any verb> is invalid
role permission. wims does not have a route in valid url methods.
Hence removed them.
Change-Id: Ib90b55b74d7c485527415bc8683ebb88d5797b70
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
K Sai Kiran [Fri, 28 Aug 2020 09:41:48 +0000 (15:11 +0530)]
Fixed bug 1197
Added api_req arguments to add show methods to make
them compatible with engine.py call signature.
Change-Id: I161515e0cc71596fde28e138561f7bb399e206fc
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
tierno [Fri, 14 Aug 2020 14:25:32 +0000 (14:25 +0000)]
fix project|use|role-list error
it was introduced at commit 2fbb1c6 gerrit 9565
Change-Id: I18826b31f569a9fb34444a3610cc4be96f475c87
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 23 Jun 2020 15:25:26 +0000 (15:25 +0000)]
fix 1102 At nsi terminate, fix ns terminate operations needed
Check status of nst before creating nsi
Change-Id: I3d8229ba696739a6bc339fec48814b2e5af66cfc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 21 Jul 2020 12:01:02 +0000 (12:01 +0000)]
fix 1185: XSS vulnerability in the URL
Change-Id: I5c28e2992211529494072e867ee87f395e143589
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 4 Aug 2020 12:48:15 +0000 (12:48 +0000)]
enhanced role permission validation
this commit avoid incompleted permission keys. For example command:
osm role-update --add "vim_accoun: true"
must fais, as it should be "vim_accounts: true"
Change-Id: Ib5a5d88ae35120e99a43c80d20ccf8b207701780
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 4 Aug 2020 14:14:16 +0000 (14:14 +0000)]
fix 1107 allow getting single file package with text/plain
According to SOL005 this should be available if descriptor
does not contains artifacts
Change-Id: I4def3bdc6193f0a9189eb50e0145a3f60e2f3ca4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 10 Aug 2020 13:53:57 +0000 (13:53 +0000)]
fix 1187 create notification task with the proper loop
Also call notifications when there are subscribers
Change-Id: Icf6b4f88aaf633282c2736de85803f845b17d4c6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Frank Bryden [Mon, 10 Aug 2020 11:44:11 +0000 (11:44 +0000)]
Fix for 1111 Reordering of format_out
Change-Id: I59f64d22c39c82bf099c74647d0f128092d24f95
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
Frank Bryden [Fri, 10 Jul 2020 12:32:02 +0000 (12:32 +0000)]
Fix for Bug 1115: Rename state attributes for SOL005 conformance
Change-Id: I4c6eda2916c59b9631ffc51e419803554f01b574
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
Frank Bryden [Mon, 27 Jul 2020 13:55:11 +0000 (13:55 +0000)]
PATCH support for enabling and disabling of NSDs and VNFDs.
Moved the validation code to _validate_input_edit.
Updated relevant tests.
Change-Id: I0666f28e1f06585f3648b0a88812f7348c622d86
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
Frank Bryden [Wed, 3 Jun 2020 13:34:16 +0000 (13:34 +0000)]
Fix for Bug 1111 Reordering of format_out
Change-Id: I926cdb6fc877d5d4d233400f9eb9973ad6b2935d
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
Frank Bryden [Tue, 28 Jul 2020 12:50:23 +0000 (12:50 +0000)]
Before creating a Network Slice, check underlying NST is not in DISABLED state
Change-Id: If58bd7fb17e807293b79141f18653fd3350531c5
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
Frank Bryden [Tue, 21 Jul 2020 14:25:32 +0000 (14:25 +0000)]
Before creating an NS, check underlying NSD is not in DISABLED state
Change-Id: Ie31277a4c85092f3bd42b4f865d38d8e8049af7a
Signed-off-by: Frank Bryden <frank.bryden@etsi.org>
tierno [Tue, 14 Jul 2020 15:39:07 +0000 (15:39 +0000)]
bug 1146 adding vnf.vdur.name for PDUs
Change-Id: I862a1ec95499bd285a44aab3f3527e0c1c80af65
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
preethika.p [Fri, 10 Jul 2020 13:14:22 +0000 (13:14 +0000)]
Bug 1139 Adding ns-configuration data
Change-Id: I55f13a301d10ac5ee4332612565c2663f4bb35d8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
garciadeblas [Wed, 3 Jun 2020 13:34:16 +0000 (13:34 +0000)]
test_prom_metric_request re-enabled
Change-Id: I042a29b382949eb1d38083c3818782aa9b552339
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 1 Jul 2020 08:03:22 +0000 (08:03 +0000)]
Dockerfile and tox.ini for devops-stages modified to work on ubuntu18.04
Change-Id: I67e8f9078478185ee47bca4301ff16a099baf8af
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 19 Feb 2020 17:11:52 +0000 (18:11 +0100)]
Added coverage tests in tox
Change-Id: Iaf3cae9df2cd421947662dc69b3b67bb361c4fe6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
K Sai Kiran [Mon, 22 Jun 2020 10:03:53 +0000 (15:33 +0530)]
Feature 7919: Added method to check duplicate subscription
New common method for NS, NSD and VNFD subscriptions check_conflict_on_new()
compares new subscription against existing subscriptions. It will reject
new subscription if and only if there exisits a subscription
which has same auth callbackuri, username(if present) and filters.
Change-Id: I0196ee4dfc1207c635cfa4c2ac5798be3579a095
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
tierno [Thu, 25 Jun 2020 13:26:28 +0000 (13:26 +0000)]
parsing instantiation parameter config-units into vnfr
Change-Id: I6f6047c5ab49c42556c9cb09c4512a4dc37ac2df
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
K Sai Kiran [Thu, 25 Jun 2020 09:15:50 +0000 (14:45 +0530)]
Feature 8840 Notify without auth and typo fixes
Initial implementation always needed auth to make notification.
After going through sol005, understanding is auth can be optional and while subscribing
auth is kept optional. Also fixed some typos.
Change-Id: I89c5cf8f0efa9915b4daebb0f8e0d20d2861f71c
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
K Sai Kiran [Thu, 25 Jun 2020 10:53:32 +0000 (16:23 +0530)]
Added NS subscription to html_out
Added Ns subscription url to html_out.
Since in html there was no explict link for favicon.ico, browser by
default makes GET request to /favicon.ico NBI reponse was 404.
Added OSM favicon.ico and gave explicit link to static folder.
Change-Id: Id0088ca09bfc5000e487ab44ac678fab49919c37
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
tierno [Wed, 24 Jun 2020 14:49:36 +0000 (14:49 +0000)]
change to backed keystone by default
Change-Id: Ibfce8d1558eb7d43cc39d6397d8714cf8ccd335b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 24 Jun 2020 10:54:11 +0000 (10:54 +0000)]
fix 1103. Ensure role system_admin is present
Change-Id: Ieda404fe35262f2afa51dedddf0404ef00087622
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 22 Jun 2020 12:17:22 +0000 (12:17 +0000)]
bug 1092 fixing deletion of items referenced by several projects
It is only deletes if it the last project referencing it.
Depends on this change at common: https://osm.etsi.org/gerrit/9134
Change-Id: Id167c0ae3309212b97f59d47a9f3cee7f53fd263
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 22 Jun 2020 10:58:26 +0000 (10:58 +0000)]
fix option 'authentication.user_not_authorized' used for test
Change-Id: Ie0e9d8a1dd6741a57c575ee18bd9dd39d762c6b7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 18 Jun 2020 10:52:37 +0000 (10:52 +0000)]
fixing in vnf/ns-package artifacts
Change-Id: I4c59c88fa380211f07e91016fbdefbbf807117fa
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 17 Jun 2020 07:42:30 +0000 (07:42 +0000)]
allow with kwargs (option override) to create nested objects
Change-Id: I4ca24e1117f86eaf6e4d18863c478a4d536e2374
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
K Sai Kiran [Tue, 28 Apr 2020 09:18:31 +0000 (14:48 +0530)]
Feature 8840 Notification to OSS/BSS for subscribed events.
osm_nbi/subscriptions.py: Existing thread which analyze kafka messages for ns topic, if the message
can be used for nslcm notification, then it will invoke NsLcmNotification.send_notification().
osm_nbi/notifications.py: (new file)Holds classes for NS, NSD, VNFD notifications. Used asyncio and aiohttp to send notifications.
Wait time for failed notification will increase in powers of 2. Reusing session of aiohttp client for performance.
Notifications are SOL005 compliant. But some data is missing in kafka message, for such keys N/A value is assigned in notification body.
Change-Id: I142ffc12f3b4e3720d41562f7ffca3b2280f4fd4
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
preethika.p [Wed, 22 Apr 2020 06:55:39 +0000 (12:25 +0530)]
feature 7919 - Subscription API for OSS/BSS management systems
Delete_extra used to remove mapped_subscription
Moved code to use db.create_list function
Addressed review comments.
Change-Id: I84bd39e9a9c942d15762d4715843c7c539842767
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
tierno [Wed, 3 Jun 2020 22:00:49 +0000 (22:00 +0000)]
fix bug 1070: New selfsigned certificate
Change-Id: I1d14ec8f3a7b180ae49a802cdc5874c768a53e0a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 2 Jun 2020 10:07:41 +0000 (10:07 +0000)]
Feature 9015: use same names for quotas and roles
add osmrepos to quotas
Change-Id: I8cf11677b8aa5612f78ff10492d432849b33cd08
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 28 May 2020 10:41:10 +0000 (10:41 +0000)]
Feature 9015: check quotas for admin and return Unauthorize
Change-Id: I856aea935c03d835fe22176c31c27bce15d59b12
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
K Sai Kiran [Wed, 27 May 2020 11:00:10 +0000 (16:30 +0530)]
Bug 1078 fixed by using try block for user update
Following the documentation of LDAP in devops repo, the user profiles are read only.
Try Except block resolves the issue. Raise error to NBI when change
for username/password is requested.
Change-Id: Id5919af575ec7cd128424fc53f7365d6cd4c29a7
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
tierno [Tue, 26 May 2020 15:49:04 +0000 (15:49 +0000)]
update role project_user with k8scluster and repos
Change-Id: I183fb351e8be6a285f5f3f40e5bbea97a9cb9518
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Felipe Vicens [Sun, 24 May 2020 16:57:33 +0000 (18:57 +0200)]
Fix bug #1077 slice instantiation with ssh_keys option
Change-Id: Ied5223046f00b630442043f3e6ecd34f6867c24f
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
Felipe Vicens [Fri, 22 May 2020 14:37:39 +0000 (16:37 +0200)]
Filter with project in slice nsd selection
Change-Id: Id0141df33b8470bc6739b26da0fd72166c160972
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
tierno [Thu, 21 May 2020 15:09:22 +0000 (15:09 +0000)]
fix problem vnfpkg internal-vlds without name
Change-Id: I06fba0317f13e6691b7d9c41177d1178dbd26d2b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
K Sai Kiran [Wed, 20 May 2020 06:55:12 +0000 (12:25 +0530)]
Bug 1068 fixed for auth_url in keystone
When we pass auth_url in nbi.cfg -> [authentication], the auth_url is used by password manager
but not by keystone http client. Need to pass auth_url to httpclient so that it uses auth_url
instead of https://keystone:5000 which is in service catalog of keystone.
Added http://keystone:5000/v3 to docker files.
Added regex validation for auth_url.
Change-Id: Ie3e144dd826e73a27c25f917cf54e64cf4c22207
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
Felipe Vicens [Wed, 6 May 2020 08:11:00 +0000 (10:11 +0200)]
Feature 8178 VNF Repositories
Change-Id: Ifdd15c294331838dd3b18d89dc009bfc54827871
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
tierno [Tue, 12 May 2020 14:32:37 +0000 (14:32 +0000)]
fix other flake8 problem
Change-Id: I6a076fa05f734432f48e0ab9826e27bffe0b80ad
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 12 May 2020 13:01:19 +0000 (13:01 +0000)]
fix flake8 problem
Change-Id: I6a46a828c0e0ebadb3504e4f71b7cad1b49e6842
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 12 May 2020 09:42:02 +0000 (09:42 +0000)]
fix 1059. Provide rights parameters to ns_terminate for a nsi service
Change-Id: Ic83d30c33f6df148f651f4a06fc4a8d98be8b116
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 29 Apr 2020 13:46:13 +0000 (13:46 +0000)]
Feature 8720: instantiate parameters config-units
Change-Id: I35b93777bd6fbd7eb45f4a802da01a1453ab2ab0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 21 Apr 2020 13:08:04 +0000 (13:08 +0000)]
avoid k8scluster deletion when in use
Change-Id: If0a25f3eec9bf1b08e3be951dde2cbc18c9d700b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 17 Apr 2020 11:27:47 +0000 (11:27 +0000)]
fix kdu_model instantianion parameter
Change-Id: Ia0afd32c664961216dad5a4c74dc93ea99103417
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 6 Apr 2020 15:29:42 +0000 (15:29 +0000)]
KDU instantiate params for model and namespace
Change-Id: I24b08da39139e7e023b99e083c3d870ce98742bc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 8 Apr 2020 15:16:57 +0000 (15:16 +0000)]
return op_id on asynchronous delete
Change-Id: I5952cee10f0c8a639d8690d254bc6d2afe7d5efb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 3 Apr 2020 10:09:06 +0000 (10:09 +0000)]
remove internal content at ns.nsd
Change-Id: If6d53b73239d3bf8dbb28937c2fb9e949641d0e5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 2 Apr 2020 15:40:12 +0000 (15:40 +0000)]
fix 1042 add timeout parameter to ns-action ns-scale
Change-Id: If8eae30bfdc53f2d55777d3eeb2e1e0f0f00deff
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 19 Mar 2020 23:22:08 +0000 (23:22 +0000)]
get user/project domains with admin/v1/domains
Change-Id: I64c8920eb76d24c517c8e289382de4fa97931e9c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 31 Mar 2020 09:46:44 +0000 (09:46 +0000)]
fix 1046. Allow auth_internal.user_list filtering with the _id
Change-Id: I94e190dc3e104a7f98a085368cb0d4ba13a719cd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 23 Mar 2020 14:42:10 +0000 (14:42 +0000)]
Fix 1025. Do not remove last project reference if it will be deleted
Change-Id: Ib42405a46cf48f99780da37896830d68feb5a2da
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 24 Mar 2020 11:51:39 +0000 (11:51 +0000)]
allow ns-terminate parameters
Change-Id: I29d4415e1d6af3a86639739eb38a0b92e1349cac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 23 Mar 2020 09:24:10 +0000 (09:24 +0000)]
bug 1035. Load role permissions from nbi.py 'valid_url_methods' instead of 'resources_to_operations.yml'
Change-Id: I84a80f8cef886cbce9b22819ead04ae14d31af79
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
vijay.r [Sun, 22 Mar 2020 02:48:27 +0000 (02:48 +0000)]
Fix Bug 1035 Invalid Permission error on updating a role with K8sclusters, k8srepos permission
Change-Id: I59647c89cb467a8976ae0d09f5cab411a5d81c37
Signed-off-by: vijay.r <vijay.r@tataelxsi.co.in>
tierno [Wed, 18 Mar 2020 09:49:43 +0000 (09:49 +0000)]
fix 1023. Issue getting ip from pdu instances
Change-Id: Ie4fc95d144d3c7987ccd56b090eaf7887ab8b67b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>