osm/NBI.git
8 months 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>
8 months 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>
8 months 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>
8 months 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>
10 months 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>
10 months 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>
10 months 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>
10 months 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>
10 months 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>
10 months 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>
10 months 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>
11 months 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>
11 months 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>
11 months agoSupport for mongodb replicaset connection (HA). 61/9761/4
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>
11 months agoExtracts individual validations for VnfdTopic and NsdTopic classes and adds unit... 95/9895/5
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>
11 months agoNBI changes for Grafana Multitenancy feature 16/9816/12
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>
11 months agoAdded support for helm version 40/9940/1
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>
11 months agoFeature 7184: Adding flavor, image info to nsr 72/8972/8
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>
11 months agoFixes Bug 1275 - aiokafka 0.7.0 dependency added 26/9926/4
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>
11 months agofix 1272. Fixing aiohttp version to 3.6.2 21/9921/1
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>
12 months agoFix bug 1255: returning UNPROCESSABLE_ENTITY when quota exceeded 40/9840/1
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>
12 months agofix 1238: Provide known ip-address, mac-address at created vnf 39/9839/1
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>
12 months agofix validation error oneOf 38/9838/1
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>
13 months agoFixed bug 1176 wims Removed role permission tags 43/9643/2
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>
13 months agoFixed bug 1197 44/9644/1
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>
14 months agofix project|use|role-list error 95/9595/1
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>
14 months agofix 1102 At nsi terminate, fix ns terminate operations needed 45/9145/3
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>
14 months agofix 1185: XSS vulnerability in the URL 81/9581/1
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>
14 months agoenhanced role permission validation 80/9580/1
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>
14 months agofix 1107 allow getting single file package with text/plain 79/9579/1
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>
14 months agofix 1187 create notification task with the proper loop 78/9578/1
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>
14 months agoFix for 1111 Reordering of format_out 56/9556/1
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>
14 months agoFix for Bug 1115: Rename state attributes for SOL005 conformance 34/9434/13
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>
14 months agoPATCH support for enabling and disabling of NSDs and VNFDs. 83/9483/16
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>
14 months agoFix for Bug 1111 Reordering of format_out 27/9327/9
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>
14 months agoBefore creating a Network Slice, check underlying NST is not in DISABLED state 26/9526/2
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>
14 months agoBefore creating an NS, check underlying NSD is not in DISABLED state 94/9494/2
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>
15 months agobug 1146 adding vnf.vdur.name for PDUs 52/9452/1
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>
15 months agoBug 1139 Adding ns-configuration data 87/9387/1
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>
15 months agotest_prom_metric_request re-enabled 31/9031/9
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>
15 months agoDockerfile and tox.ini for devops-stages modified to work on ubuntu18.04 52/9252/4
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>
15 months agoAdded coverage tests in tox 19/8619/19
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>
16 months agoFeature 7919: Added method to check duplicate subscription 46/9146/4
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>
16 months agoparsing instantiation parameter config-units into vnfr 79/9179/3
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>
16 months agoFeature 8840 Notify without auth and typo fixes 59/9159/3
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>
16 months agoAdded NS subscription to html_out 60/9160/2
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>
16 months agochange to backed keystone by default 49/9149/1 release-v8.0-start v8.0.0rc1
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>
16 months agofix 1103. Ensure role system_admin is present 47/9147/1
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>
16 months agobug 1092 fixing deletion of items referenced by several projects 36/9136/3
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>
16 months agofix option 'authentication.user_not_authorized' used for test 35/9135/3
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>
16 months agofixing in vnf/ns-package artifacts 11/9111/3
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>
16 months agoallow with kwargs (option override) to create nested objects 98/9098/4
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>
16 months agoFeature 8840 Notification to OSS/BSS for subscribed events. 28/8828/7
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>
16 months agofeature 7919 - Subscription API for OSS/BSS management systems 11/8811/4
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>
16 months agofix bug 1070: New selfsigned certificate 37/9037/1
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>
16 months agoFeature 9015: use same names for quotas and roles 19/9019/4
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>
16 months agoFeature 9015: check quotas for admin and return Unauthorize 30/9030/2
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>
16 months agoBug 1078 fixed by using try block for user update 29/9029/1
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>
16 months agoupdate role project_user with k8scluster and repos 71/8971/2
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>
16 months agoFix bug #1077 slice instantiation with ssh_keys option 28/9028/1
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>
16 months agoFilter with project in slice nsd selection 27/9027/1
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>
16 months agofix problem vnfpkg internal-vlds without name 26/9026/1
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>
16 months agoBug 1068 fixed for auth_url in keystone 25/9025/1
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>
16 months agoFeature 8178 VNF Repositories 54/8854/4
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>
16 months agofix other flake8 problem 24/9024/1
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>
16 months agofix flake8 problem 23/9023/1
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>
16 months agofix 1059. Provide rights parameters to ns_terminate for a nsi service 22/9022/1
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>
17 months agoFeature 8720: instantiate parameters config-units 37/8837/1
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>
18 months agoavoid k8scluster deletion when in use 06/8806/2
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>
18 months agofix kdu_model instantianion parameter 95/8795/2
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>
18 months agoKDU instantiate params for model and namespace 65/8765/4
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>
18 months agoreturn op_id on asynchronous delete 77/8777/2
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>
18 months agoremove internal content at ns.nsd 64/8764/1
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>
18 months agofix 1042 add timeout parameter to ns-action ns-scale 53/8753/2
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>
18 months agoget user/project domains with admin/v1/domains 04/8704/6
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>
18 months agofix 1046. Allow auth_internal.user_list filtering with the _id 39/8739/1
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>
18 months agoFix 1025. Do not remove last project reference if it will be deleted 19/8719/3
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>
19 months agoallow ns-terminate parameters 18/8718/2
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>
19 months agobug 1035. Load role permissions from nbi.py 'valid_url_methods' instead of 'resources... 14/8714/2
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>
19 months agoFix Bug 1035 Invalid Permission error on updating a role with K8sclusters, k8srepos... 13/8713/1
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>
19 months agofix 1023. Issue getting ip from pdu instances 84/8684/1
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>
19 months agoallow external port for SDN net 72/8672/2
tierno [Tue, 10 Mar 2020 16:34:25 +0000 (16:34 +0000)]
allow external port for SDN net

Change-Id: I4f827d185678be1529a8774d08ce668b12f653c5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
19 months agofix 1023. Issue getting ip from pdu instances 80/8680/2
tierno [Thu, 12 Mar 2020 17:31:42 +0000 (17:31 +0000)]
fix 1023. Issue getting ip from pdu instances

Change-Id: I00ded05ca164e8dec18b821650ac16679137434c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
19 months agofix user/project creation with domain_name. 17/8617/8
tierno [Wed, 19 Feb 2020 14:29:49 +0000 (14:29 +0000)]
fix user/project creation with domain_name.
Provide the domain when listing users/projects
Allow filtering by domain

Change-Id: Ieccf9ad40f3ef7896e99ee26128d0b590cf615be
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
20 months agoAdded KDU actions to VnfTopic 90/8290/6
delacruzramo [Mon, 2 Dec 2019 20:00:37 +0000 (21:00 +0100)]
Added KDU actions to VnfTopic

Change-Id: I2797a7b470f84a445bc9b648701112969f8790e6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
20 months agoMerge "allow extra domain input for token authentication"
tierno [Tue, 18 Feb 2020 16:43:01 +0000 (17:43 +0100)]
Merge "allow extra domain input for token authentication"

20 months agoallow extra domain input for token authentication 90/8590/3
tierno [Thu, 13 Feb 2020 16:30:14 +0000 (16:30 +0000)]
allow extra domain input for token authentication

Change-Id: I546fa3ead2df453d8cf620cd4a6b828a1667c614
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
20 months agoK8sCluster/Repo association by projects 68/8568/4
delacruzramo [Wed, 5 Feb 2020 11:50:21 +0000 (11:50 +0000)]
K8sCluster/Repo association by projects

Change-Id: I48f5629fea54e414226715554a841b0e30e09077
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
20 months agofix 1014 allow k8snet with null value 73/8573/2
tierno [Fri, 7 Feb 2020 10:18:30 +0000 (10:18 +0000)]
fix 1014 allow k8snet with null value

Change-Id: I1c9922fd63a495422eb7029af04d7ea60b35c678
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
20 months agominor fixes at dependencies 63/8563/3
tierno [Wed, 5 Feb 2020 12:43:44 +0000 (12:43 +0000)]
minor fixes at dependencies

Change-Id: Ic30ce0df9b837ac519784e3438611e1163d7e17e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
20 months agoFix Bug 1011: Multiple interface referenced to a single connection point 69/8569/2
delacruzramo [Thu, 6 Feb 2020 13:37:01 +0000 (13:37 +0000)]
Fix Bug 1011: Multiple interface referenced to a single connection point

Change-Id: Idaff83f5f7cae88adb73896662ea61bdb1823407
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
20 months agoModifications for test of feature 7953 02/8502/4
magnussonl [Mon, 20 Jan 2020 17:38:18 +0000 (18:38 +0100)]
Modifications for test of feature 7953
Updated after review
Resolved merge conflict in osm_nbi/__init__.py

Change-Id: Ie7fd9c21d3d3369986e96e48b6dc9d29b79b36af
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
20 months agomove version package to __init__ 58/8558/1
tierno [Tue, 4 Feb 2020 15:47:18 +0000 (15:47 +0000)]
move version package to __init__

Change-Id: Ie0b02033af9bb7420977b9fb968662a5482a0d99
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
21 months agofix getting kafka aioread exception 01/8501/2 v7.0.1 v7.0.1rc2 v7.0.1rc3
tierno [Tue, 21 Jan 2020 00:10:09 +0000 (00:10 +0000)]
fix getting kafka aioread exception

Change-Id: I11d243b4b16a0757415aa72ded1e6b2134f7f3f8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
21 months agoToken Cache Management 71/8371/13
delacruzramo [Tue, 10 Dec 2019 15:26:34 +0000 (16:26 +0100)]
Token Cache Management

Change-Id: I09ea3a8c0c537a5eeba0ac5bc1426167133db998
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
21 months agodocker: Fix debian channel to stable 05/8105/2
Philippe Coval [Wed, 30 Oct 2019 13:42:36 +0000 (14:42 +0100)]
docker: Fix debian channel to stable

Currently there is no "testing" directory in:

http://osm-download.etsi.org/repository/osm/debian/ReleaseFIVE/dists/

Change-Id: Ib43722865573a7ec386082bd1af4375af26db108
Signed-off-by: Philippe Coval <rzr@users.sf.net>
21 months agoFix Bug 870: Getting unauthorized when using keystone as back-end for NBI 52/8452/2
delacruzramo [Thu, 26 Dec 2019 10:09:04 +0000 (10:09 +0000)]
Fix Bug 870: Getting unauthorized when using keystone as back-end for NBI

Change-Id: I085be0f780388aed0d269c298c17ceb960fa14cc
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
21 months agoAllow to disable /test URL 82/8482/1
tierno [Wed, 15 Jan 2020 14:41:48 +0000 (14:41 +0000)]
Allow to disable /test URL

Change-Id: I01b2a4836ab66ff5cdca72d1a0637d83e0a5b9fb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
21 months agochange from tapi to ietfl2vpn 34/8434/2 v7.0.1rc1
tierno [Fri, 20 Dec 2019 14:11:35 +0000 (14:11 +0000)]
change from tapi to ietfl2vpn

Change-Id: I6b57324f6952c835fc83aaa0f98ae8438fad1b43
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
21 months agoadding timeout as instantiate parameter 77/8477/1
tierno [Tue, 14 Jan 2020 15:54:48 +0000 (15:54 +0000)]
adding timeout as instantiate parameter

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