garciadeblas [Wed, 22 May 2024 22:03:18 +0000 (00:03 +0200)]
Pin pylint version to 3.1.1 in tox.ini
Change-Id: Id2503e4e58c5f75c9aebdb3722630bfce7e42051
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 22 Feb 2024 10:27:50 +0000 (11:27 +0100)]
Update Dockerfile to run apt update before apt install
Change-Id: I9b39a0070cab905623e4faceff2362d6aeae8493
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 30 Jan 2024 11:40:39 +0000 (12:40 +0100)]
Pin black version in tox.ini to 23.12.1
Change-Id: I186215364fa9d16a8a5ef9cfb8feb16890d5f1f9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Mark Beierl [Thu, 18 May 2023 14:56:02 +0000 (10:56 -0400)]
Update requirements to branch
requirements-dev.txt were all pointing to master
Change-Id: I66ec40958bd7ee68b0916a5a530b8dabd1951376
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
garciadeblas [Fri, 24 Mar 2023 13:19:13 +0000 (14:19 +0100)]
Fix black errors
Change-Id: If4fe638beb60d738ec45f1835b5519ea6e6ff57c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
gifrerenom [Mon, 28 Feb 2022 09:49:11 +0000 (09:49 +0000)]
Fix bug 2152 to hide WIM password properly in command wim-show
Change-Id: Ia3832d034d58895bb3096517e3a02ea19b75edf5
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
garciadeblas [Mon, 4 Jul 2022 06:51:14 +0000 (08:51 +0200)]
Enable black and pylint in tox, and update code accordingly
Fixes Bug 2138
Change-Id: I6d2f4c7e3ac63fe9b981e3c3b61203f0efa4722a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit
2018277d9c99a7b958b26163ee319ceefa7e9d3c)
Mark Beierl [Thu, 14 Jul 2022 13:39:41 +0000 (09:39 -0400)]
Jenkins refresh
Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup
Change-Id: I169039535cfabd525fd2d0722513b26576a163dc
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
garciadeblas [Mon, 27 Jun 2022 13:56:17 +0000 (15:56 +0200)]
Update requirements-dev.in to follow branch v12.0 instead of master
Change-Id: Ib6d29c31d33685fb15566526e63c166e084778fb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Sat, 25 Jun 2022 05:39:32 +0000 (01:39 -0400)]
Revert setup.py
Restores the setup.py to before the incorrect commit
c40d7a3
Change-Id: I207a23aade758ac5531344b299bd927248db18d3
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Sat, 25 Jun 2022 02:36:00 +0000 (22:36 -0400)]
Manual update of pip requirements
Change-Id: I9a366b24b56b4eae4cb33b08837f57d37d2329a7
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Fri, 24 Jun 2022 18:05:43 +0000 (14:05 -0400)]
Manual update of pip requirements
Change-Id: I82e13ddf6c5df57387e9aeb4b35f96e79dd0e9ea
Signed-off-by: beierlm <mark.beierl@canonical.com>
gomezchavez [Thu, 9 Jun 2022 09:40:19 +0000 (11:40 +0200)]
Bug 1862: Fixed required field in SOL006 IM to generate OSM repo index
Change-Id: I3b0e80611d5cd800fe2ffc78e1c71765d19bcf23
Signed-off-by: gomezchavez <guillermo.gomez.external@atos.net>
garciadeblas [Wed, 8 Jun 2022 15:01:24 +0000 (17:01 +0200)]
Remove duplicates for md5 and keep only utils.md5
Change-Id: I527d099421cd61de7291ade3779d8b81500a7b23
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Sat, 18 Jun 2022 22:49:47 +0000 (00:49 +0200)]
Support of several VNF and VDU in ns-heal and vnf-heal commands
Click does not allow advanced patterns for positional options.
This makes impossible to request the healing of several VNF or VDU
with different options like --count-index or --run-day1.
This change introduces a processing of the args used in ns-heal and
vnf-heal commands to allow those patterns.
In addition, the change introduces the logic to use either the VNF
instance ID or the identifier of a VNF inside a NS, known as
"member-vnf-index-ref".
Change-Id: I8b2f18aff6146ce579da33e67054f4a0f98c706a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 15 Jun 2022 09:13:20 +0000 (11:13 +0200)]
Fix ns-heal and vnf-heal commands to anchor to cli_osm
Change-Id: I64bb2c56a0cad4fc0c6832874bdc1da38cfb6573
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 28 Apr 2022 13:50:08 +0000 (15:50 +0200)]
Feature 10909: Heal operation for VDU
Change-Id: I676563f1cc8ed5603032fdf9e722e070329ea249
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 10 Jun 2022 11:24:19 +0000 (13:24 +0200)]
Fix bug 2073 to delete properly unzipped packages during osm repo-index
Change-Id: I906a9cf66265f857e00f565caf0152806cd878f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 8 Jun 2022 14:37:42 +0000 (16:37 +0200)]
Remove eval function
Change-Id: I8e042d9e27d225d623a87418503ea0d71f864207
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 8 Jun 2022 14:19:28 +0000 (16:19 +0200)]
Set autoscape to True in Jinja2 environment
Change-Id: I364c59c121cee386632f6a8f6742f2a0f1da65b4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Gabriel Cuba [Tue, 22 Mar 2022 19:40:24 +0000 (14:40 -0500)]
Feature 10904: Make all deployment methods optional for K8s cluster
Change-Id: Idb900ef102966069cf4a339e9991d397e04bed28
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
vegall [Wed, 27 Apr 2022 15:56:04 +0000 (15:56 +0000)]
Feature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB
Change-Id: Id1c9782735de51b5348b8930de9c4cdd5d81f406
Signed-off-by: vegall <lvega@whitestack.com>
David Garcia [Wed, 6 Apr 2022 08:47:31 +0000 (10:47 +0200)]
Add `osm ns-update` command
The ns-update command allows to update a network service so that all its
VNF instances are updated to the latest revision.
Feature 10908
Change-Id: Iffa73558b3dfe8d83d33644294cb6068c642dddf
Signed-off-by: David Garcia <david.garcia@canonical.com>
selvi.j [Mon, 4 Apr 2022 07:41:22 +0000 (07:41 +0000)]
Feature 10914: Enforce Password change on First login
Added osmcli support to Enforce Password change on First login
and expire password after preset number of days feature
Addressed the review comments and updated the patch
Change-Id: I095affe2a1a91cb1ff3321dc0bb4e52337b8d6c5
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
garciadeblas [Thu, 31 Mar 2022 13:47:17 +0000 (15:47 +0200)]
Minor typo in package_tool to initialize set
Change-Id: Id3e8851044b8fcce1dc05ca4de0431dec32a8f8c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 11 Mar 2022 09:52:50 +0000 (10:52 +0100)]
Add timeout param for ns-create
Change-Id: I82c26a21c3d4f2f96771bda1a4b2a7588ce1315c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
beierlm [Thu, 13 Jan 2022 18:08:57 +0000 (13:08 -0500)]
Bug 1846: LTS Support
Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile
Fixes bug 1846
Change-Id: I589199979818b0fe5892df1d40849da8f6e06ded
Signed-off-by: beierlm <mark.beierl@canonical.com>
bravof [Tue, 23 Nov 2021 20:34:49 +0000 (17:34 -0300)]
bugfix: sol004 and sol007 accepting zip files when vnfpkg-create or nspkg-create are executed
Change-Id: Ic0d6979979b92906c5c4156c93a9044f6ebe41b0
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Fri, 29 Oct 2021 19:32:38 +0000 (16:32 -0300)]
feature: sol004 and sol007
Change-Id: I451f7e53ae48ecd9e3762c2e007d33cfac5d8292
Signed-off-by: bravof <fbravo@whitestack.com>
garciadeblas [Mon, 1 Nov 2021 21:04:32 +0000 (22:04 +0100)]
Update vim-create and vim-update to accept config and credential files
vim-create will accept both a config dict and a config file, with respective
options "--config" and "--config_file". If a key is present in both, the
value in the config dict will prevail.
In addition, vim-create command will accept a new option --creds, required
for Google Cloud Platform (GCP) due to the way the authentication works in
GCP. That option is codified directly in the config dict that is sent to the
NBI, under config["credentials"]. The RO connector for GCP will receive it
and will expect those credentials in that dictionary. In the future, other
RO connectors might use a similar approach.
Finally, this change also adds the option --literal to vim-show command.
Change-Id: Ifb4c284593b171353b6c180bdc7af75e8a25dfac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Tue, 26 Oct 2021 15:17:50 +0000 (17:17 +0200)]
Fix bug 1721: charms can include reference to .charm files
Change-Id: I7bb1c468c528e390b4368e7bdb172f47066c8d48
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 13 Oct 2021 15:17:28 +0000 (17:17 +0200)]
Fix bug 1701: remove vcaId parameter on ns-create
Change-Id: I7efc475000c19088e3afe468f6ebbdf79dabe006
Signed-off-by: David Garcia <david.garcia@canonical.com>
username=gomezchavez [Thu, 2 Sep 2021 16:39:20 +0000 (18:39 +0200)]
Fix bug 1392 package-create update with sol006 templates for VNFD and NSD
Change-Id: If3e39c83b65853d0115781baef32f66fd7e44ab0
Signed-off-by: gomezchavez <guillermo.gomez.external@atos.net>
username=gomezchavez [Thu, 2 Sep 2021 16:39:20 +0000 (18:39 +0200)]
Fix Bug 1493 repo generation from osm-packages
Change-Id: I56dc1257d8a925d3128aa2a03d1594ff1aacdbbb
Signed-off-by: gomezchavez <guillermo.gomez.external@atos.net>
David Garcia [Thu, 29 Jul 2021 08:16:31 +0000 (10:16 +0200)]
Add Coverage files to .gitignore
Change-Id: I896702a3bd0cb7d9259ec5d844ec2baea3cbd02c
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 29 Jul 2021 08:28:15 +0000 (10:28 +0200)]
Avoid adding a charm to the package more than once
Fix bug 1610
Change-Id: I45ef328cefeff959b0b2d3bcacb75871f780b39e
Signed-off-by: David Garcia <david.garcia@canonical.com>
Antonio Marsico [Wed, 30 Jun 2021 14:49:53 +0000 (16:49 +0200)]
Improved Kubernetes management
* Implementing wait option
* Fixing cluster update
Change-Id: I9e234518df18e7736e573bdd613240e9342cda10
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
Antonio Marsico [Wed, 23 Jun 2021 22:19:36 +0000 (23:19 +0100)]
Improved PDU management
* Fixing PDU update
* Adding client option
Change-Id: If74a43f9696b720d62b49e6db93571cbfc9024a0
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>