osm/NBI.git
4 years agoJenkinsfile: added GERRIT_EVENT_TYPE as param 03/9703/1
garciadeblas [Fri, 11 Sep 2020 13:56:42 +0000 (13:56 +0000)]
Jenkinsfile: added GERRIT_EVENT_TYPE as param

Change-Id: Ib9facb696dcd32413266ae9d00a559db9c0b1483
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix typo in param in Jenkinsfile 99/9699/1
garciadeblas [Fri, 11 Sep 2020 12:48:25 +0000 (12:48 +0000)]
Fix typo in param in Jenkinsfile

Change-Id: I5783eac28f3a212ae8f4dd2fbbaffa77863ba9ad
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix typo in Jenkinsfile 98/9698/1
garciadeblas [Fri, 11 Sep 2020 12:43:15 +0000 (12:43 +0000)]
Fix typo in Jenkinsfile

Change-Id: I53cfca5d2beb751e10284eec1e906be5eba38f69
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoInitial commit for new pipeline in NBI 96/9696/1
garciadeblas [Fri, 11 Sep 2020 09:13:47 +0000 (09:13 +0000)]
Initial commit for new pipeline in NBI

Change-Id: I60c6ec968359583a5fff23a91cba9848bddc7256
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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"

4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years agoUbuntu18 + pip upgraded 72/8472/3
calvinosanch [Thu, 9 Jan 2020 15:10:12 +0000 (16:10 +0100)]
Ubuntu18 + pip upgraded

Change-Id: Ia2b7c42455271883daa885491e77319a854ea9ce
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
4 years agoupdate initial status of NS and NSLCMOP 66/8466/1
tierno [Thu, 9 Jan 2020 12:40:45 +0000 (12:40 +0000)]
update initial status of NS and NSLCMOP

Change-Id: Iba004c8cb47fbaa6b6223684611226895d59b340
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoChange for SDN creation parameters 19/8419/2
tierno [Tue, 17 Dec 2019 16:46:12 +0000 (16:46 +0000)]
Change for SDN creation parameters

Change-Id: I5d0fcf0153c9ad71e0757db45df073f3abf26603
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoGet version from installed package if available instead of code 65/8365/1 v7.0.0
tierno [Tue, 10 Dec 2019 10:57:17 +0000 (10:57 +0000)]
Get version from installed package if available instead of code

Change-Id: I0c9336ff02f90094af580b2fb2e1b8cd55fd67fb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix bug 937. NSs are not deleted from database upon NSI deletion 29/8329/2 v7.0.0rc1
tierno [Thu, 5 Dec 2019 12:26:01 +0000 (12:26 +0000)]
fix bug 937. NSs are not deleted from database upon NSI deletion

Change-Id: Ib69d8921da777e41749aa8511fd64d1d7cc6204a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix bug 875: VIM gets deleted when the Instance is Running 99/8199/5
delacruzramo [Thu, 21 Nov 2019 10:09:16 +0000 (11:09 +0100)]
Fix bug 875: VIM gets deleted when the Instance is Running

Change-Id: I74f942e3ad17e1d61bbe507ddf6ad2e9755be66c
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoFix Bug 924: User is not allowed to upload NS Descriptors for project_user(role) 14/8314/2
delacruzramo [Wed, 4 Dec 2019 11:54:49 +0000 (12:54 +0100)]
Fix Bug 924: User is not allowed to upload NS Descriptors for project_user(role)

Change-Id: I69eacd50ff9204d95db99a4211bfa7f100456629
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoFix Bug 917: Revoke NBI's Auth token once user is deleted 23/8323/1
delacruzramo [Wed, 4 Dec 2019 12:42:26 +0000 (13:42 +0100)]
Fix Bug 917: Revoke NBI's Auth token once user is deleted

Change-Id: I1060af8065d95beab5b9dc3be27abc8e3601f3e8
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agochange repo type to helm-chart,juju-bundle 06/8306/2
tierno [Tue, 3 Dec 2019 23:50:49 +0000 (23:50 +0000)]
change repo type to helm-chart,juju-bundle

Change-Id: Id46d9815fbab76b41ebe2bd21cad9d5f8aa056ad
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix issue deploying a k8s 92/8292/3
tierno [Tue, 3 Dec 2019 09:39:40 +0000 (09:39 +0000)]
fix issue deploying a k8s

Change-Id: Iaedeac1e96264b4063ad8fd8cd5f6694bcad974d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 868 - Fixed 33/8233/3
K Sai Kiran [Mon, 25 Nov 2019 12:00:37 +0000 (17:30 +0530)]
Bug 868 - Fixed
NSD and VNFD items with schema type list containing same identifiers are truncated and used without error.
Fix essentially makes a depth traversal of the JSON object and
uses Id or Name of object to uniquely identify object. Key Id takes precedence over Name.

Change-Id: I534c96fb573b651cca71f0309e1a912d6b5889da
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
4 years agoadditionalParams for Kdu will not get those additionalParamsForVnf 88/8288/1
tierno [Mon, 2 Dec 2019 15:53:25 +0000 (15:53 +0000)]
additionalParams for Kdu will not get those additionalParamsForVnf

Change-Id: I19916bd7d552f107ead206ca26e8b455088387e2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAllow additional params for a concrete vdu or kdu 65/8265/3
tierno [Fri, 29 Nov 2019 13:43:26 +0000 (13:43 +0000)]
Allow additional params for a concrete vdu or kdu

Change-Id: Iab191d0f794d27bd06a7bb50c84e1a642f9e4969
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdding suport for FsMongo 91/7691/7
Eduardo Sousa [Fri, 21 Jun 2019 10:50:21 +0000 (11:50 +0100)]
Adding suport for FsMongo

Change-Id: Ic864d65c5ef551237a471ee8c2b8f157b2447791
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
4 years agoAdded KDU inspect/readme actions to NsLcmOpTopic 52/8252/3
delacruzramo [Thu, 28 Nov 2019 10:24:09 +0000 (11:24 +0100)]
Added KDU inspect/readme actions to NsLcmOpTopic

Change-Id: I9ee6b50639d9d8719238b25c76ff8fb881dd0326
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoMore unit tests for descriptor_topics 41/8241/1
delacruzramo [Fri, 15 Nov 2019 13:45:32 +0000 (14:45 +0100)]
More unit tests for descriptor_topics

Change-Id: I6e9c647d12dd05de270996ed9f571f888d00d3c6
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoUnit tests for descriptor_topics 77/8177/9
delacruzramo [Fri, 15 Nov 2019 13:45:32 +0000 (14:45 +0100)]
Unit tests for descriptor_topics

Change-Id: Ie9bec8368f30ed023ed58bb324c38c77b9b61b00
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agoFix bug 682: NSD cross references between vnffgd classifier and rsp not validated 15/8215/1
delacruzramo [Fri, 22 Nov 2019 14:06:43 +0000 (15:06 +0100)]
Fix bug 682: NSD cross references between vnffgd classifier and rsp not validated

Change-Id: I759844b02afe870403ce317a7f3ec8826128bbbb
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
4 years agofeature8029 do not validate vim_account type 61/8161/3
tierno [Wed, 13 Nov 2019 15:57:51 +0000 (15:57 +0000)]
feature8029 do not validate vim_account type
feature8030 do not validate wim_account type

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