osm/osmclient.git
3 weeks agoFeature 10476: New client commands and library to manage subscriptions 67/10467/2 master release-v10.0-start
garciadeblas [Fri, 26 Feb 2021 12:06:00 +0000 (12:06 +0000)]
Feature 10476: New client commands and library to manage subscriptions

Change-Id: I55aa5e78375829f20fa4aa881058a6c3a0df622d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 weeks agoFeature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface) 12/10512/9
Atul Agarwal [Thu, 18 Mar 2021 08:22:17 +0000 (08:22 +0000)]
Feature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface)

Change-Id: I5b23f0e4b80808919e0a0cb864d9c700cffcdea4
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
7 weeks agoFeature 10239: Distributed VCA 76/10576/13
David Garcia [Wed, 31 Mar 2021 17:13:10 +0000 (19:13 +0200)]
Feature 10239: Distributed VCA

Add the following commands to the OSM Client:
 - osm vca-add
 - osm vca-delete
 - osm vca-update
 - osm vca-list
 - osm vca-show
Other changes:
 - Add the --vca argument in the osm vim-create command, to be able to
associate a vca with a VIM
Depends on: https://osm.etsi.org/gerrit/#/c/osm/NBI/+/10574/

Change-Id: I1d322745d16c5ade27444be5afd37904f7306c5c
Signed-off-by: David Garcia <david.garcia@canonical.com>
7 weeks agoIncluding upstream requirements 91/10691/2
beierlm [Thu, 22 Apr 2021 17:00:30 +0000 (13:00 -0400)]
Including upstream requirements

Now that internal OSM software does not specify python modules in
setup.py, we need to include the requirements.txt from the module
in the requirements-dev.in to generate the full list properly.

Change-Id: I3b3eee1b7a88c4d0b14b7c8966769c3918ad77e0
Signed-off-by: beierlm <mark.beierl@canonical.com>
7 weeks agoRestrict tags to versions 10/10710/1
beierlm [Mon, 26 Apr 2021 20:42:12 +0000 (16:42 -0400)]
Restrict tags to versions

Use the same from of git describe as the setup.py so that only tags
which start with a v will be used for versions

Change-Id: I89b119e52b91c8886cfb9a3dc43b54d2425253b0
Signed-off-by: beierlm <mark.beierl@canonical.com>
8 weeks agoUpdate GitLab Scanner 64/10664/2 branch-ng-ro-refactor-start branch-sol006v331-start v9.0.0-dev
beierlm [Mon, 19 Apr 2021 19:17:53 +0000 (15:17 -0400)]
Update GitLab Scanner

Adds libcurl4-openssl-dev to the scanner dependencies so we can
properly analyse all upstream dependencies of osmclient

Change-Id: I05318f8a87d1f9aeb151a7a15e7a2a44602292b4
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 months agoFix bug 1494: raise exception if repo-index fails 97/10597/1
garciadeblas [Thu, 8 Apr 2021 10:32:22 +0000 (12:32 +0200)]
Fix bug 1494: raise exception if repo-index fails

Change-Id: Icd56912f58444c9a6c20fe6336207056992f883f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 months agoFeature 10296 Pip Standardization 39/10539/6
beierlm [Wed, 24 Mar 2021 13:26:06 +0000 (09:26 -0400)]
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: I20f3b8b1c386aa03ebbec37ab74bc106451328d1
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 months agoProceed if no day 1 2 64/10564/1
beierlm [Mon, 29 Mar 2021 20:03:37 +0000 (16:03 -0400)]
Proceed if no day 1 2

Fixed bug where nf package build would fail if there are no day1-2 primitives
found.

Change-Id: I171e79683ad43537dc851ac05b8fb40f35cef903
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 months agoRemoving Charmcraft 53/10553/1
beierlm [Fri, 26 Mar 2021 10:32:13 +0000 (06:32 -0400)]
Removing Charmcraft

Removing the Python dependency on charmcraft, requiring the person who
builds charms to have charmcraft installed instead.

Partial revert of 52424a2

Change-Id: Ia5acfcd43c035071bd5e989828b3909fd5d13f41
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 months agoStandardize Formatting 33/10533/1
beierlm [Tue, 23 Mar 2021 20:26:45 +0000 (16:26 -0400)]
Standardize Formatting

Nothing but whitespace change.  Reformatted using Black.

Change-Id: I1afd579ede0dd49f2d104d4f4bc470a4ac8cbba8
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 months agoAdd automatic build for ops charms 20/10520/3
David Garcia [Mon, 22 Mar 2021 11:56:16 +0000 (12:56 +0100)]
Add automatic build for ops charms

Added charmcraft dependency for building charms.
For using this utility, place the src code of the charm under
charms/ops, and the osmclient will build and place the charm code in the
charms/ folder.

Change-Id: Ib86d9ac966822131b2df3fc7621b42a49be7baba
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 months agoClean-up unused global variables 66/10466/1
garciadeblas [Wed, 24 Feb 2021 11:31:50 +0000 (11:31 +0000)]
Clean-up unused global variables

Change-Id: I67aeb248e447fc7036e70d6081232f777a2fb713
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agofix(juju): honor juju changes in descriptor 73/10373/13
bravof [Mon, 22 Feb 2021 21:00:48 +0000 (18:00 -0300)]
fix(juju): honor juju changes in descriptor

Change-Id: Ia2e8de3d7f50b164c386e4bef263c2e851cd2bc0
Signed-off-by: bravof <fbravo@whitestack.com>
3 months agoRemoved duplicated dependecy in setup.py 60/10360/1
garciadeblas [Sun, 21 Feb 2021 16:28:19 +0000 (16:28 +0000)]
Removed duplicated dependecy in setup.py

Change-Id: I247670d156844fc8bd1a5f45bee6b7f7b94c9d3c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoNew translation commands for SOL006: recursive package-translate, descriptor-translate 16/10216/4
garciadeblas [Mon, 25 Jan 2021 16:39:19 +0000 (16:39 +0000)]
New translation commands for SOL006: recursive package-translate, descriptor-translate

Change-Id: I4dd6e5b6eed7f8869ef7462b1ba9a9ff36944b5c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoEnable GitLab scan 85/10185/1
beierlm [Fri, 15 Jan 2021 19:15:12 +0000 (14:15 -0500)]
Enable GitLab scan

Adds a GitLab build file that will perform security and
dependency scans of the project on repository mirror.

Change-Id: Id872a2e4a1be4665cc304eeb86cae53f2c9a999c
Signed-off-by: beierlm <mark.beierl@canonical.com>
6 months agoFix bug 1370 08/10108/1 release-v9.0-start v9.0.0 v9.0.0rc1
David Garcia [Mon, 14 Dec 2020 15:52:19 +0000 (16:52 +0100)]
Fix bug 1370

ns-configuration charms were not properly discovered by the client

Change-Id: I56c87ff9285325934dc443bb3f4393fa5e5df2f7
Signed-off-by: David Garcia <david.garcia@canonical.com>
6 months agoValidation will fail by default if not using SOL006 format 72/10072/3
garciadeblas [Wed, 2 Dec 2020 23:10:14 +0000 (23:10 +0000)]
Validation will fail by default if not using SOL006 format

Change-Id: I343ba1dbc1dc3b047af08366dea68d403ee04545
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix VNF package generation for SOL006 and previous OSM packages when they contain... 71/10071/2
garciadeblas [Wed, 2 Dec 2020 22:37:18 +0000 (22:37 +0000)]
Fix VNF package generation for SOL006 and previous OSM packages when they contain charms

Change-Id: I9df6508036967ee2c9f16b9247a1be3686070bed
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoRemove ruamel.yaml dependency, use pyyaml instead 70/10070/2
garciadeblas [Wed, 2 Dec 2020 14:18:32 +0000 (14:18 +0000)]
Remove ruamel.yaml dependency, use pyyaml instead

Change-Id: Ifb51246e4f920f4e1ef98e1d8393ea93cf4e64e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoAdded logger.debug lines to remaining functions, useful for debugging 69/10069/2
garciadeblas [Wed, 2 Dec 2020 14:43:08 +0000 (14:43 +0000)]
Added logger.debug lines to remaining functions, useful for debugging

Change-Id: I617f5fe4a49bff2fff70baf2e1803ce831735413
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix minor issue 67/10067/1
David Garcia [Wed, 2 Dec 2020 14:53:29 +0000 (15:53 +0100)]
Fix minor issue

Change-Id: I13f54c3327b4acaa04b97cfcd4c6bb4b383aae6b
Signed-off-by: David Garcia <david.garcia@canonical.com>
6 months agoFix bug 1265: fix error in k8scluster-list with helm and juju opState 65/10065/1
garciadeblas [Fri, 16 Oct 2020 12:42:43 +0000 (12:42 +0000)]
Fix bug 1265: fix error in k8scluster-list with helm and juju opState

K8scluster-list was showing errors when getting helm-chart and
juju-bundle operational state when keys were no present.

Change-Id: Iaf1e9d7cc7137ec6ea33bb458a4759f150c8d5d2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agonfpkg-repo-list --filter option allows multiple calls 55/10055/1
garciadeblas [Mon, 30 Nov 2020 10:43:49 +0000 (10:43 +0000)]
nfpkg-repo-list --filter option allows multiple calls

Change-Id: I340a99e4120f0b29456a573716427a8d4850b9ce
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix reversed logic 53/10053/1
beierlm [Sat, 28 Nov 2020 17:04:16 +0000 (12:04 -0500)]
Fix reversed logic

Fixes code to call sol006 if catalog found in descriptor,
not to call original code.

Change-Id: I20cf3b293a15457fbb4339dce36b788d71f4cc74
Signed-off-by: beierlm <mark.beierl@canonical.com>
6 months agoFix build dependencies 52/10052/4
beierlm [Sat, 28 Nov 2020 14:30:51 +0000 (09:30 -0500)]
Fix build dependencies

Forces tox recreate to expose missing dependencies.
Adds wget to dockerfile for make IM to complete.

Change-Id: Ic01c91c06123c76989b96002b07788117e6f67e4
Signed-off-by: beierlm <mark.beierl@canonical.com>
6 months agoFix repo-index 49/10049/2
beierlm [Sat, 28 Nov 2020 01:03:08 +0000 (20:03 -0500)]
Fix repo-index

Fully changes over to ruamel as the mixing of yaml and
ruamel packages was causing exceptions.

Report exceptions instead of silently ignoring them.

Change-Id: Iede687b558901340a9aa30670f3474c776a690a2
Signed-off-by: beierlm <mark.beierl@canonical.com>
6 months agoMerges branch sol006 into master 48/10048/7
garciaale [Fri, 27 Nov 2020 18:17:17 +0000 (15:17 -0300)]
Merges branch sol006 into master

Change-Id: Idb5eb93eeab7e8696e097ee0c2e1cf79ea054f20
Signed-off-by: garciaale <agarcia@whitestack.com>
6 months agoFix bug 1232: k8scluster-list now shows the vim name it belongs to 60/9860/3
garciadeblas [Wed, 23 Sep 2020 12:12:50 +0000 (12:12 +0000)]
Fix bug 1232: k8scluster-list now shows the vim name it belongs to

VIM name is shown instead of VIM ID.
Similar code was already used in different places, so it has been
properly refactored through the function get_vim_name

Change-Id: I46137f0e17762786036b1cacbbbc043fad0d488f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix bug 1231: k8scluster-list now shows the project name it belongs to 59/9859/3
garciadeblas [Wed, 23 Sep 2020 11:57:27 +0000 (11:57 +0000)]
Fix bug 1231: k8scluster-list now shows the project name it belongs to

Similar code was already used in different places, so it has been
properly refactored through the function get_project

Change-Id: I5b1299f27ca3e2eab3b3ba109a09ad8e66abae5b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix bug 1230: show Helm and Juju status when listing K8s clusters 58/9858/3
garciadeblas [Wed, 23 Sep 2020 11:03:41 +0000 (11:03 +0000)]
Fix bug 1230: show Helm and Juju status when listing K8s clusters

Added --long option to k8scluster_list and moved some fields there

Change-Id: I24d660b571e44e861f218063c22339923315baed
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoosm.py: reorganized commands related to pkg_repo_list to be together 57/9857/3
garciadeblas [Wed, 23 Sep 2020 11:08:19 +0000 (11:08 +0000)]
osm.py: reorganized commands related to pkg_repo_list to be together

Fixes bug 1228

Change-Id: I2592465149c3135afa3a8b33935ced6016597bd5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoAdded --filter option to command vim-show 56/9856/3
garciadeblas [Tue, 22 Sep 2020 07:23:32 +0000 (07:23 +0000)]
Added --filter option to command vim-show

Fixes bug 1227

Change-Id: Ia6a314cd098d9d8fe5f0d19783cb59f69555c5a0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agocommands with --filter option accept multiple filters and join them 55/9855/3
garciadeblas [Tue, 22 Sep 2020 06:42:06 +0000 (06:42 +0000)]
commands with --filter option accept multiple filters and join them

Fixes bug 1226

Change-Id: I757ec0dc8707bafe41f74e317b1ec7e1e3c07ea6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix 1219. Adding juju-bundles parsing 26/10026/11
sousaedu [Tue, 24 Nov 2020 23:53:59 +0000 (23:53 +0000)]
Fix 1219. Adding juju-bundles parsing

Change-Id: I9e19e8adc4e5ceaf1f32b4f1bf5d038bb336fe93
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
7 months agoReformats code on NSD and VNFD clients and fixes small validation bug on VNFD create... 08/9908/2
garciaale [Thu, 22 Oct 2020 13:47:04 +0000 (10:47 -0300)]
Reformats code on NSD and VNFD clients and fixes small validation bug on VNFD create method

Change-Id: If8017f0bfd22cf1a60578f26a609ea5806a9a6ba
Signed-off-by: garciaale <agarcia@whitestack.com>
8 months agoadding operational state to the vim-list 15/9715/1
tierno [Wed, 16 Sep 2020 14:14:40 +0000 (14:14 +0000)]
adding operational state to the vim-list

Change-Id: Ia6ed5708d64480aafb6623b91cc2bd3c062d1479
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
9 months agoMerge remote-tracking branch 'origin/v8.0' 00/9600/1
beierlm [Wed, 19 Aug 2020 20:45:38 +0000 (16:45 -0400)]
Merge remote-tracking branch 'origin/v8.0'

Change-Id: I7015eb11371e7cade6e42c3b82e5a5021661ab84
Signed-off-by: beierlm <mark.beierl@canonical.com>
10 months agoUpdate snap for build 85/9585/2
beierlm [Thu, 13 Aug 2020 20:13:50 +0000 (16:13 -0400)]
Update snap for build

Updates the snap to be buildable in the snapcraft docker
build container.

Change-Id: I2e16bb2a1bdd2eacf1cc134e7412486dbc6e4c98
Signed-off-by: beierlm <mark.beierl@canonical.com>
10 months agofix 1182: change general timeout to connect timeout 68/9568/1 v8.0.1 v8.0.1rc1
tierno [Tue, 11 Aug 2020 08:58:31 +0000 (08:58 +0000)]
fix 1182: change general timeout to connect timeout

enlarge timeout from 10 to 15. Sometimes NBI takes many time to respond,
low general timeout is not a good aproach, but connection timeout

Change-Id: I17c67c94cccba83baf6ea56a9225e0674a223c11
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
10 months agofix 1182: set timeout of 10s for NBI response 55/9555/1
tierno [Wed, 5 Aug 2020 12:48:02 +0000 (12:48 +0000)]
fix 1182: set timeout of 10s for NBI response

Change-Id: I6ba62ef7e1f588443d0fbf2a4025101bccc97464
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
10 months agofix 1182: set timeout of 10s for NBI response 50/9550/1
tierno [Wed, 5 Aug 2020 12:48:02 +0000 (12:48 +0000)]
fix 1182: set timeout of 10s for NBI response

Change-Id: I6ba62ef7e1f588443d0fbf2a4025101bccc97464
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
10 months agoAdd snapcraft.yaml to osmclient 14/9114/4
David Garcia [Thu, 18 Jun 2020 15:08:11 +0000 (17:08 +0200)]
Add snapcraft.yaml to osmclient

Change-Id: I97e847decd5cb99328e76f78256f0af61044f5a5
Signed-off-by: David Garcia <david.garcia@canonical.com>
10 months agoFix bug 1159: vdu can be empty in a KNF, override option must take it into account 71/9471/2
garciadeblas [Mon, 20 Jul 2020 07:23:53 +0000 (07:23 +0000)]
Fix bug 1159: vdu can be empty in a KNF, override option must take it into account

Change-Id: I1947d65ab55af825f7aaa90b4fbf2f6e8f5a7a4b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoSolved bug indicating vdu_count for osm-action command 69/9469/2 v8.0.0 v8.0.0rc3
lloretgalleg [Tue, 30 Jun 2020 07:35:16 +0000 (07:35 +0000)]
Solved bug indicating vdu_count for osm-action command

Change-Id: Icba7ff77155673112910f859646ed21799a40d91
Signed-off-by: lloretgalleg <illoret@indra.es>
10 months agoFix bug 1159: vdu can be empty in a KNF, override option must take it into account 70/9470/2
garciadeblas [Mon, 20 Jul 2020 07:23:53 +0000 (07:23 +0000)]
Fix bug 1159: vdu can be empty in a KNF, override option must take it into account

Change-Id: I1947d65ab55af825f7aaa90b4fbf2f6e8f5a7a4b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix bug 1162: return without printing VNF record when KDU status could not be determined 76/9476/1
garciadeblas [Mon, 20 Jul 2020 11:27:17 +0000 (11:27 +0000)]
Fix bug 1162: return without printing VNF record when KDU status could not be determined

Change-Id: I448b7bed88a36c2df2085780054b73210bccfaab
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
10 months agoFix bug 1162: return without printing VNF record when KDU status could not be determined 75/9475/1
garciadeblas [Mon, 20 Jul 2020 11:27:17 +0000 (11:27 +0000)]
Fix bug 1162: return without printing VNF record when KDU status could not be determined

Change-Id: I448b7bed88a36c2df2085780054b73210bccfaab
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoSolved bug indicating vdu_count for osm-action command 24/9224/1
lloretgalleg [Tue, 30 Jun 2020 07:35:16 +0000 (07:35 +0000)]
Solved bug indicating vdu_count for osm-action command

Change-Id: Icba7ff77155673112910f859646ed21799a40d91
Signed-off-by: lloretgalleg <illoret@indra.es>
11 months agoshow queue status for ns-op-list 01/9101/2 release-v8.0-start v8.0.0rc1 v8.0.0rc2
tierno [Wed, 17 Jun 2020 12:56:12 +0000 (12:56 +0000)]
show queue status for ns-op-list

Change-Id: I659f78e3ffaff515c6b719ae9cdfcb8d44640fdc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
11 months agoosm.py: renamed internal functions for pkg_repo_list 40/9040/2
garciadeblas [Mon, 1 Jun 2020 13:53:55 +0000 (13:53 +0000)]
osm.py: renamed internal functions for pkg_repo_list

Change-Id: I82c64f44db6356b2aafa4dd17bf87dbeae919448
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoMinor fix in error_details, only shown for BROKEN or DEGRADED or old client versions 05/9005/3
garciadeblas [Fri, 29 May 2020 15:00:49 +0000 (15:00 +0000)]
Minor fix in error_details, only shown for BROKEN or DEGRADED or old client versions

Change-Id: I49b382204b41a7b7dc36753c351deaaf520d2a05
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoUpdated short help for some commands 41/9041/4
garciadeblas [Fri, 5 Jun 2020 09:17:50 +0000 (09:17 +0000)]
Updated short help for some commands

Change-Id: Iedcfb93e879996372258be4bbd6302cc79fc4dd6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agofix k8scluster/repo list when description is null 01/8801/5
tierno [Mon, 20 Apr 2020 16:25:41 +0000 (16:25 +0000)]
fix k8scluster/repo list when description is null

Change-Id: I02829995130bf35cf38f36712d557d8f8e65eedd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
11 months agoosm.py: safe_dump with indent 4 and default_flow_style False 02/9002/3
garciadeblas [Fri, 29 May 2020 10:21:04 +0000 (10:21 +0000)]
osm.py: safe_dump with indent 4 and default_flow_style False

Change-Id: Ia8b28c47d507f07fa1cdf8ba7306640a37845b87
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoadding quotas to project create update 94/8994/4
tierno [Thu, 28 May 2020 10:58:36 +0000 (10:58 +0000)]
adding quotas to project create update

Change-Id: I638e0a97bb68fbc87b7608bf38197769cc4bfb8d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
11 months agobug 1085: generate package at package parent folder 99/8999/4
tierno [Mon, 20 Apr 2020 16:25:41 +0000 (16:25 +0000)]
bug 1085: generate package at package parent folder

Change-Id: I9adf7a43107af939b4a9dccef7e47c3061daf49e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
12 months agoFix Bug #1088 Zipping packages using osm repo-index 08/9008/2
Felipe Vicens [Sun, 31 May 2020 18:13:31 +0000 (20:13 +0200)]
Fix Bug #1088 Zipping packages using osm repo-index

Change-Id: I229fb33437c43dcbbe9ba6b7930ffbcf1cb67185
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
12 months agoFix netslice-subnet vnf instantiation parameter 84/8984/1
Felipe Vicens [Wed, 27 May 2020 18:09:22 +0000 (20:09 +0200)]
Fix netslice-subnet vnf instantiation parameter

Change-Id: If9f1a66cf505270c50d73aebf47ea718c7a6da05
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
12 months agoFeature 8178 VNF Repositories 53/8853/15
gomezl [Wed, 6 May 2020 07:44:54 +0000 (09:44 +0200)]
Feature 8178 VNF Repositories

Change-Id: I040da8dd9d5696f9029cf7ecf82aa1eff26bb22a
Signed-off-by: gomezl <luis.gomez.external@atos.net>
12 months agopackage_tool: fix calculate checksum to consider only files 61/8961/1
garciadeblas [Fri, 22 May 2020 14:33:35 +0000 (14:33 +0000)]
package_tool: fix calculate checksum to consider only files

Change-Id: I7676fbb51fb3d4f3f4ad174241c0e93418a8c49f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
12 months agofix 1066: package creation over a path 31/8931/1
tierno [Mon, 18 May 2020 12:04:52 +0000 (12:04 +0000)]
fix 1066: package creation over a path

Change-Id: I980aeee9236ba666a861f13b70fbbfc19db731ef
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
13 months agoFix #1063 flake tests 15/8915/1
Felipe Vicens [Thu, 14 May 2020 07:36:21 +0000 (09:36 +0200)]
Fix #1063 flake tests
osmclient is failing in jenkins merge stage due flake check

Change-Id: I25f8940e000949176798c14207b7801434c7ff35
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
13 months agoMerge changes Iff7ec8a9,I661d8abd
beierlm [Wed, 13 May 2020 21:21:20 +0000 (23:21 +0200)]
Merge changes Iff7ec8a9,I661d8abd

* changes:
  Fix NST creation command
  Fixed osm version for pre-7.0 version

13 months agoFix NST creation command 96/8896/1
Felipe Vicens [Tue, 12 May 2020 07:01:06 +0000 (09:01 +0200)]
Fix NST creation command

Change-Id: Iff7ec8a9a369e87f638350ddbdcf9a37c6b20486
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
13 months agoFixed osm version for pre-7.0 version 89/8889/1
Felipe Vicens [Fri, 8 May 2020 08:35:56 +0000 (10:35 +0200)]
Fixed osm version for pre-7.0 version

Change-Id: I661d8abd8a845275f853bbea01092b547406ebf4
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
13 months agoImproved help message for nfpkg-create, nspkg-create and their aliases 59/8859/1
garciadeblas [Thu, 7 May 2020 07:10:10 +0000 (07:10 +0000)]
Improved help message for nfpkg-create, nspkg-create and their aliases

Change-Id: Ia324850635e760e91feba04d44e006de4d4557dd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agons-list: fix when deployment and config status were empty 58/8858/1
garciadeblas [Thu, 7 May 2020 07:08:31 +0000 (07:08 +0000)]
ns-list: fix when deployment and config status were empty

Change-Id: If559ad034aac754feb7065db7a1f72d7c2f3b2c3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoFixed ns-list for pre-7.0 version 26/8826/1
garciadeblas [Tue, 28 Apr 2020 06:55:45 +0000 (06:55 +0000)]
Fixed ns-list for pre-7.0 version

Change-Id: I3a7814753997a925de28b19770e95612a656726f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoAdded project to osm vim-list --long 24/8824/1
garciadeblas [Mon, 27 Apr 2020 13:30:32 +0000 (13:30 +0000)]
Added project to osm vim-list --long

Change-Id: I2a8941c84ef371d12738965d43b8e07545f47128
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agovim-list --long option: shows op state and error details 13/8813/1
garciadeblas [Wed, 22 Apr 2020 08:58:55 +0000 (08:58 +0000)]
vim-list --long option: shows op state and error details

Change-Id: Ice8f5eb68994308f2911ee3df94d2a1626d8a825
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoNew options for nfpkg-create: override-epa, override-nonepa, override-paravirt 94/8794/3
garciadeblas [Thu, 16 Apr 2020 22:17:28 +0000 (22:17 +0000)]
New options for nfpkg-create: override-epa, override-nonepa, override-paravirt

Change-Id: I8277b2f3734936090155bd5dd0b805b0a4410c23
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoosm.py: minor fix when using ns-list --long 93/8793/2
garciadeblas [Mon, 13 Apr 2020 06:41:57 +0000 (06:41 +0000)]
osm.py: minor fix when using ns-list --long

Change-Id: I159c6644363e9cf071eae6353207a41fa9586197
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agofix error when description is not provided at k8s cluster repos 97/8797/1
tierno [Fri, 17 Apr 2020 15:42:35 +0000 (15:42 +0000)]
fix error when description is not provided at k8s cluster repos

Change-Id: Ic9c5322a3d11cd2a2e639b2ac126200303fb3e04
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agofix 1042 add timeout option for ns-action and vnf-scale 54/8754/5
tierno [Thu, 2 Apr 2020 15:59:04 +0000 (15:59 +0000)]
fix 1042 add timeout option for ns-action and vnf-scale

Change-Id: I5a30f4d1ca9c17875800d602ecaa5406bc9ff1a1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agofix wait option when operation fails 38/8738/9
tierno [Mon, 30 Mar 2020 09:17:01 +0000 (09:17 +0000)]
fix wait option when operation fails
allow set a timeout for wait at ns,nsi,vim, wim, sdncontroller
adding wait option to vnf-scale

Change-Id: I7aa7aad8b678dcd19334a9d001e049be82476100
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agobug 1045. Show error if any at ns-list when ns operation is PROCESSING 37/8737/2
tierno [Fri, 27 Mar 2020 15:17:54 +0000 (15:17 +0000)]
bug 1045. Show error if any at ns-list when ns operation is PROCESSING

Change-Id: I59698403c93fe232b804e607ab45feaa9c0a67e1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agoAllow ns-terminate params. Some other updates at ns 17/8717/3
tierno [Mon, 23 Mar 2020 06:34:43 +0000 (06:34 +0000)]
Allow ns-terminate params. Some other updates at ns

Change-Id: Ic0ccbbc391c9a90b934d183b7b7986c1819a35b3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agoenhance help for user-create/update role-mappings 31/8731/2
tierno [Fri, 27 Mar 2020 06:53:13 +0000 (06:53 +0000)]
enhance help for user-create/update role-mappings

Change-Id: Ia823e636769c65150629edd86364a21a196cdbad
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
14 months agoforward ns-create config parameters that does not need translation 30/8730/2
tierno [Fri, 27 Mar 2020 07:29:59 +0000 (07:29 +0000)]
forward ns-create config parameters that does not need translation

Change-Id: I705259e4869e78fb691ec85d71679cc1cdb8b4a3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
15 months agoAllow ns-op.detail to be None 69/8669/1
tierno [Mon, 9 Mar 2020 14:46:50 +0000 (14:46 +0000)]
Allow ns-op.detail to be None

Change-Id: I1af0d1aba38c5418f54bf6b9e6aa8ddfea1ea8bf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
15 months agoallow disassociate sdn_controller from a VIM 59/8659/2
tierno [Wed, 4 Mar 2020 20:07:02 +0000 (20:07 +0000)]
allow disassociate sdn_controller from a VIM

Change-Id: I92462a119b4c1821a9fa4cbb5550fc3517111fa2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
15 months agoFixed user.get to search ids, then names 61/8661/1
garciadeblas [Thu, 5 Mar 2020 09:31:28 +0000 (09:31 +0000)]
Fixed user.get to search ids, then names

Change-Id: I35aab8eb9d95fb29eda0168468f1e64451c2b7b5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agofix ns-op-list when status is FAILED and no errorMessage 36/8636/2
garciadeblas [Wed, 26 Feb 2020 09:10:55 +0000 (09:10 +0000)]
fix ns-op-list when status is FAILED and no errorMessage

Change-Id: I7964b245cf6677d3249fcaa3c5d5593a0fcd0af6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agoFix issue when printing kdu status without notes 31/8631/2
garciadeblas [Mon, 24 Feb 2020 11:10:28 +0000 (11:10 +0000)]
Fix issue when printing kdu status without notes

Change-Id: Icf917868945bf4aa7132963b9bca113a48a4ea80
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agoallow extra domain input for token authentication 91/8591/9
tierno [Thu, 13 Feb 2020 17:30:28 +0000 (17:30 +0000)]
allow extra domain input for token authentication

Change-Id: I8ae7a930c19349d46a45800bd1d827939b29eff9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
15 months agoParse config to yaml for sdnc-create/update 49/8649/1
tierno [Thu, 27 Feb 2020 12:04:23 +0000 (12:04 +0000)]
Parse config to yaml for sdnc-create/update
Fix --wait on delete

Change-Id: I40d808b8e62b6c25ffc5b2085d027d82ba7a6bc5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
15 months agoall-projects and public general options 49/8549/13
pinoa [Mon, 3 Feb 2020 10:49:01 +0000 (11:49 +0100)]
all-projects and public general options

Change-Id: If67673d84a2efe7bb8896cdfd090aa7fe6a33a73
Signed-off-by: pinoa <alberto.pino@altran.com>
15 months agoFix issue with package-build related to the copy of charm 09/8609/2
garciadeblas [Sun, 16 Feb 2020 23:51:06 +0000 (23:51 +0000)]
Fix issue with package-build related to the copy of charm

Change-Id: I510e9d016462fcd593eabb2b6d6f22f4796a1f8a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agofix minor issue in nsd_create2 params used by nspkg-create 08/8608/1
garciadeblas [Thu, 13 Feb 2020 11:20:46 +0000 (11:20 +0000)]
fix minor issue in nsd_create2 params used by nspkg-create

Change-Id: I0b5835da151bac5a719c57f1fc0e7f7526df94e2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agovnf-list --long support: date, last update fields 07/8607/1
garciadeblas [Thu, 13 Feb 2020 10:13:05 +0000 (10:13 +0000)]
vnf-list --long support: date, last update fields

Change-Id: I99619760d6e991fbc4c1b7a0ea6d629cb1f7e0cc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoAdded --long option for nfpkg-list and nspkg-list; wrap text for nfpkg-show and nspkg... 06/8606/1
garciadeblas [Mon, 10 Feb 2020 01:45:38 +0000 (01:45 +0000)]
Added --long option for nfpkg-list and nspkg-list; wrap text for nfpkg-show and nspkg-show

Change-Id: I30e505b5754c8d6c0c25464be5b8788c75f0455f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agofix default description to None. 74/8574/2
tierno [Fri, 7 Feb 2020 10:24:37 +0000 (10:24 +0000)]
fix default description to None.
NBI rejects an empty string as e.g. k8scluster, k8srepo

Change-Id: I99be7290c09ae1d76d0295a1a1c01b93cd28ae53
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
16 months agoCapability to upload a package from a source folder 43/8243/21
pinoa [Mon, 25 Nov 2019 14:25:18 +0000 (15:25 +0100)]
Capability to upload a package from a source folder

Change-Id: I26d695e724175bef07c25736e1eec907603f72c2
Signed-off-by: pinoa <alberto.pino@altran.com>
16 months agofix 1006 command wim-show tries to load json twice 51/8551/2
tierno [Mon, 3 Feb 2020 14:48:59 +0000 (14:48 +0000)]
fix 1006 command wim-show tries to load json twice

Change-Id: Ie444c6856c2541d207432ca98d0cbedccd91c192
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
16 months agoosm.py: --long option for ns-op-list 38/8538/1
garciadeblas [Thu, 30 Jan 2020 11:51:01 +0000 (11:51 +0000)]
osm.py: --long option for ns-op-list

Change-Id: If8f38dfd91e54757d41c0f7b2b91f8bfd6a747ec
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoosm.py: improved help message for some commands 30/8530/1
garciadeblas [Tue, 28 Jan 2020 18:25:57 +0000 (18:25 +0000)]
osm.py: improved help message for some commands

Change-Id: Id164f3f75cc47458269079a56212228ff3d88e14
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agons-list --details: renamed to --long; added instantiation date, added project and... 29/8529/1
garciadeblas [Tue, 28 Jan 2020 16:15:52 +0000 (16:15 +0000)]
ns-list --details: renamed to --long; added instantiation date, added project and vim id

Change-Id: I58a31e2fcfd8c17771c95b7793d7e175ea27ab53
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoFix issue when getting VNF by name 11/8511/1
garciadeblas [Tue, 21 Jan 2020 17:07:11 +0000 (17:07 +0000)]
Fix issue when getting VNF by name

Change-Id: I43fd9cb14aa777c2debb30de6d2b487f3e1b4639
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>