osm/osmclient.git
3 days agoAdd osmclient commands for cluster upgrade and scale 21/14721/7 master
garciadeblas [Mon, 11 Nov 2024 16:17:12 +0000 (17:17 +0100)]
Add osmclient commands for cluster upgrade and scale

Change-Id: I8f6b02089d01827ea0fa50ded0e73b91b4fab344
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 days agoMinor change in yaml indentation in kubeconfig presentation 45/14745/1
garciadeblas [Mon, 18 Nov 2024 15:41:46 +0000 (16:41 +0100)]
Minor change in yaml indentation in kubeconfig presentation

Change-Id: I053778789d6068f35bd761e93c7f3ed5f089bc3c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 days agoFix cluster-get-credentials to read op_id 36/14736/1
garciadeblas [Fri, 15 Nov 2024 11:00:06 +0000 (12:00 +0100)]
Fix cluster-get-credentials to read op_id

Change-Id: I18fbdcd6bbe90c1a4239d0321997acef1731993a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 days agoFix cluster-list when VIM is not found from cluster 34/14734/1
garciadeblas [Fri, 15 Nov 2024 10:19:07 +0000 (11:19 +0100)]
Fix cluster-list when VIM is not found from cluster

Change-Id: I99b111f575033b402d995b17d728330d1cedd9e8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 days agoFeature 11034:Forgot Password in OSM (osmclient) 13/14413/9
jegan [Tue, 4 Jun 2024 12:08:13 +0000 (12:08 +0000)]
Feature 11034:Forgot Password in OSM (osmclient)

Change-Id: I0dcc81c79a93420f4ed4f2ef7f8be4886989d005
Signed-off-by: jegan <jegan.s@tataelxsi.co.in>
13 days agoFix cluster-list to retrieve vim name and type properly for each cluster 17/14717/1
garciadeblas [Fri, 8 Nov 2024 10:51:02 +0000 (11:51 +0100)]
Fix cluster-list to retrieve vim name and type properly for each cluster

Change-Id: I5a5719d3c5a2866d9a8519e61eba875926b53a74
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 weeks agoRemove unused comments on cluster registration command 08/14708/1
garciadeblas [Wed, 6 Nov 2024 15:37:37 +0000 (16:37 +0100)]
Remove unused comments on cluster registration command

Change-Id: I24f3fb62f3d72ce1806a37aa615e63e779d487e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 weeks agoFix minor typos in process_common_oka_params 07/14707/1
garciadeblas [Wed, 6 Nov 2024 15:24:36 +0000 (16:24 +0100)]
Fix minor typos in process_common_oka_params

Change-Id: I211499f326023d4219ff2ee2df79b4508469a72d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 weeks agoSupport return value id for create operations in adv cluster mgmt 02/14702/2
garciadeblas [Wed, 6 Nov 2024 09:37:32 +0000 (10:37 +0100)]
Support return value id for create operations in adv cluster mgmt

Change-Id: I9db03f76b5ce263501edd198ec9abbf80830ed34
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 weeks agoAdd bootstrap flag for cluster creation and registration 01/14701/1
garciadeblas [Wed, 6 Nov 2024 09:35:20 +0000 (10:35 +0100)]
Add bootstrap flag for cluster creation and registration

Change-Id: I775cef617e91ef97ef4e5bc3c94f6d2f9239b4ae
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 weeks agoFix cluster-get-credentials to check in a loop the completion of the operation 92/14692/1
garciadeblas [Thu, 31 Oct 2024 00:13:46 +0000 (01:13 +0100)]
Fix cluster-get-credentials to check in a loop the completion of the operation

Change-Id: Ib427fad148cd492fec243ab85694fd299dab6a5e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 weeks agoUpdate cluster-list and show commands to talk both new and old APIs 73/14673/3
garciadeblas [Thu, 24 Oct 2024 09:14:34 +0000 (11:14 +0200)]
Update cluster-list and show commands to talk both new and old APIs

Change-Id: Icf2f60ae45ae93e8976b475636c86d9fda761506
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 weeks agoBug 2376 fixed: Performing NS-Update through CLI 76/14376/5
jegan [Thu, 16 May 2024 05:42:05 +0000 (05:42 +0000)]
Bug 2376 fixed: Performing NS-Update through CLI

Change-Id: I835f37e514aa971df36a11b7da73932259b57df0
Signed-off-by: jegan <jegan.s@tataelxsi.co.in>
5 weeks agoMultiple output formats in list and show commands for advanced cluster mgmt 42/14642/1
garciadeblas [Wed, 16 Oct 2024 08:24:49 +0000 (10:24 +0200)]
Multiple output formats in list and show commands for advanced cluster mgmt

Change-Id: I2678f24006dc92fbf291d074c4c2a7f9396912ec
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 weeks agoFix register and get-credentials cluster commands 37/14637/2
garciadeblas [Tue, 15 Oct 2024 11:11:16 +0000 (13:11 +0200)]
Fix register and get-credentials cluster commands

Change-Id: I76b962e07bd4e927aecd85ce58de37388d36da04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 weeks agoAdd osmclient commands for cluster mgmt: get-creds, register 08/14608/4
garciadeblas [Mon, 30 Sep 2024 22:42:04 +0000 (00:42 +0200)]
Add osmclient commands for cluster mgmt: get-creds, register

Change-Id: I6a15751e612d929afa67c7b03a78b8808ecb8507
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 weeks agoFix profile_type used in KSU creation and parse responses in multicreate calls 88/14588/3
garciadeblas [Mon, 23 Sep 2024 10:33:43 +0000 (12:33 +0200)]
Fix profile_type used in KSU creation and parse responses in multicreate calls

Change-Id: Iaf29de73ad774c501178bf6ce5429079b4ba97b2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 weeks agoFix bug 2259 in OSM repo generation when there is no product-name 15/14615/1
garciadeblas [Thu, 3 Oct 2024 11:25:01 +0000 (13:25 +0200)]
Fix bug 2259 in OSM repo generation when there is no product-name

Change-Id: Ibbe655e39fdc9ebe8bb3ae1fac047c4d5d783734
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 weeks agoFix path and content for KSU creation to match NB API 87/14587/2
garciadeblas [Fri, 20 Sep 2024 12:09:47 +0000 (14:09 +0200)]
Fix path and content for KSU creation to match NB API

Change-Id: Ib6f1de64d3cdbaa268fd01b4567b267be879c4b3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 weeks agoBug 2374 Fixed:IP's are not listed properly when using vnf-list command in osmclient 51/14351/5
36970 [Tue, 7 May 2024 11:52:03 +0000 (11:52 +0000)]
Bug 2374 Fixed:IP's are not listed properly when using vnf-list command in osmclient

Change-Id: I5afdfd737506882687ed938fc790e33433c0f396
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
2 months agoSupport base64 encoded credentials for VIM creation 61/14561/1
garciadeblas [Fri, 13 Sep 2024 17:28:41 +0000 (19:28 +0200)]
Support base64 encoded credentials for VIM creation

Change-Id: I719d76ba089047358b9447a2df64929600fd08d5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoFeatures 11020,11022-11026 Advanced cluster mgmt 29/14329/27 release-v16.0-start v16.0.0
garciadeblas [Thu, 25 Apr 2024 17:13:31 +0000 (19:13 +0200)]
Features 11020,11022-11026 Advanced cluster mgmt

Change-Id: I45d7fcb1f644448c99588af499fe3d805780220a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoUpdate pip dependencies
garciadeblas [Tue, 6 Aug 2024 23:11:49 +0000 (01:11 +0200)]
Update pip dependencies

Change-Id: Ie59b47afb761dafad85942bdffbf36d14a0ba08f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 11011: Multiple NS deletion in OSM(osm client) 97/14397/3
adurti [Fri, 31 May 2024 09:09:05 +0000 (14:39 +0530)]
Feature 11011: Multiple NS deletion in OSM(osm client)

Change-Id: I57edad436dc466640041332eb68fda37215aa05f
Signed-off-by: adurti <adurti.v@tataelxsi.co.in>
4 months agoFeature 11009 Ns config template as first class citizens in OSM - CLI 45/14445/3
kayal2001 [Tue, 25 Jun 2024 12:08:48 +0000 (17:38 +0530)]
Feature 11009 Ns config template as first class citizens in OSM - CLI

Change-Id: Iea1eddfc0df28a71a990a84feaa8fc6ab80ab786
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
4 months agoEnable print_output common function to print json and yaml from python dict or list 42/14442/2
garciadeblas [Wed, 19 Jun 2024 16:29:50 +0000 (18:29 +0200)]
Enable print_output common function to print json and yaml from python dict or list

Change-Id: Iaab535c2e9e6361fbb2cf629031323ebd5c5293e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFix bug 2373 - Remove old code from v1 client in ns_show 33/14433/1
garciadeblas [Wed, 19 Jun 2024 08:58:48 +0000 (10:58 +0200)]
Fix bug 2373 - Remove old code from v1 client in ns_show

Change-Id: I4cfe351acc7c0ce092236f8f55cd369063b69181
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoRemove set_default_params method from client.py 26/14426/2
garciadeblas [Mon, 17 Jun 2024 10:14:30 +0000 (12:14 +0200)]
Remove set_default_params method from client.py

Change-Id: I2da0e9f5e182870af1ca5c6eb583895e162f6db2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFix client init to work with URL and (host,port) 25/14425/2
garciadeblas [Mon, 17 Jun 2024 10:12:35 +0000 (12:12 +0200)]
Fix client init to work with URL and (host,port)

Change-Id: I8a04b7d46bcd6b7706e109058c217962a092c80f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agofeature: helm charts repos with certs 66/13666/5
Luis Vega [Tue, 11 Jul 2023 18:54:09 +0000 (18:54 +0000)]
feature: helm charts repos with certs

Change-Id: Ic212c265dd6ad40bb6032f3e1155501e51fea78a
Signed-off-by: Luis Vega <lvega@whitestack.com>
6 months agoFeature 11037 Change default NBI port 86/14386/2
garciadeblas [Wed, 22 May 2024 16:51:48 +0000 (18:51 +0200)]
Feature 11037 Change default NBI port

Change-Id: I6061cef2ca869eb8286cd03522e3508e327517dd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFix pylint issues appeared with version 3.2.2 of pylint 87/14387/1
garciadeblas [Wed, 22 May 2024 21:47:28 +0000 (23:47 +0200)]
Fix pylint issues appeared with version 3.2.2 of pylint

Change-Id: Iae943e2a3b26b8eed616509ec9a3a4cbc493aa6e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoFeature 11037 Changes to work with ingress controller 28/14328/2
garciadeblas [Tue, 23 Apr 2024 08:07:42 +0000 (10:07 +0200)]
Feature 11037 Changes to work with ingress controller

Change-Id: I75657d047fd528f5a960bdc42281d0b370bf5c0d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoBug 2364 fixed: Performing NS-Heal when there are two NS with same member-vnf-index 86/14286/2
36970 [Mon, 1 Apr 2024 11:32:30 +0000 (11:32 +0000)]
Bug 2364 fixed: Performing NS-Heal when there are two NS with same member-vnf-index

Change-Id: Iecdf20402467342b079a933dc284a338e93191ea
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
7 months agoCoverity(phase2)-CWE 398:Code Quality 95/14295/2
36970 [Mon, 1 Apr 2024 16:47:36 +0000 (16:47 +0000)]
Coverity(phase2)-CWE 398:Code Quality

Added fix for CWE 398: Code Quality

Change-Id: Ie86246c6606bc5fd12d00b297a5b19661747baa7
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
7 months agoCoverity(phase 2)-CEW 561: Dead Code 97/14297/1
36970 [Mon, 1 Apr 2024 16:56:07 +0000 (16:56 +0000)]
Coverity(phase 2)-CEW 561: Dead Code

Added fix for CWE 561: Dead Code(Logically dead code)

Change-Id: Idcc650b93feb013330f7fc4156104c6c311b751d
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
8 months agoFix bug 2176 to update properly VCA without modifying the name 57/14257/2
garciadeblas [Tue, 12 Mar 2024 15:59:46 +0000 (16:59 +0100)]
Fix bug 2176 to update properly VCA without modifying the name

Change-Id: I4e7a571e7da73790f981f1262bdcfd4ba89510e4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
8 months agoFix bug 2240 to get packages from id and _id 50/14250/1
garciadeblas [Mon, 11 Mar 2024 16:11:52 +0000 (17:11 +0100)]
Fix bug 2240 to get packages from id and _id

Change-Id: Iad5de449b0dcb036749c7d1536a84aec203ec396
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoPin black, flake and pylint versions in tox.ini 73/14173/1
garciadeblas [Mon, 29 Jan 2024 15:28:37 +0000 (16:28 +0100)]
Pin black, flake and pylint versions in tox.ini

Change-Id: Ibc788448bf70586f1cc75078333552d5559d3a36
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoUpdate README with improved instructions to install osmclient locally 67/14167/1
garciadeblas [Wed, 15 Nov 2023 09:11:07 +0000 (10:11 +0100)]
Update README with improved instructions to install osmclient locally

Change-Id: Iabfd2bc332416cf1e68045fe02ab420cba709c9f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10997: add oci flag as new property in helm-chart repos 76/13976/4 release-v15.0-start
garciadeblas [Fri, 20 Oct 2023 09:12:21 +0000 (11:12 +0200)]
Feature 10997: add oci flag as new property in helm-chart repos

Change-Id: Ic0a826fc10709b210704d5615295364e66ac455c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10996: Adds ns-op-cancel command 40/14040/2
Gabriel Cuba [Thu, 16 Nov 2023 21:25:15 +0000 (16:25 -0500)]
Feature 10996: Adds ns-op-cancel command

Change-Id: I349cea39231338c667da4fe46857bd0b246db908
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
11 months agoFeature 11002: Deprecate helmv2 60/14060/1
Luis Vega [Thu, 23 Nov 2023 20:21:35 +0000 (20:21 +0000)]
Feature 11002: Deprecate helmv2

Change-Id: I75901e1f370b896222ae5a8528afc59661e572bf
Signed-off-by: Luis Vega <lvega@whitestack.com>
13 months agoUpdate pip requirements to pass stage2 in all repos 93/13893/1
garciadeblas [Thu, 28 Sep 2023 16:17:02 +0000 (18:17 +0200)]
Update pip requirements to pass stage2 in all repos

Change-Id: Id8c9add44eae11a3a32794efc0fc16f532d2fe4a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoFix pip requirements to update pyangbind version to 0.8.3.post1 80/13880/1
garciadeblas [Wed, 6 Sep 2023 08:27:43 +0000 (10:27 +0200)]
Fix pip requirements to update pyangbind version to 0.8.3.post1

Change-Id: Ic282d170e161285c9c5e502f51d38b06e245a5bc
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate version of PyYAML 20/13720/1
Mark Beierl [Fri, 21 Jul 2023 17:14:24 +0000 (17:14 +0000)]
Update version of PyYAML

Change-Id: I6c5e0ddff419762edaf663c1d64e1e6cc155dd3d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoRemove libcurl and libssl from stage-2 Dockerfile 96/13596/1 release-v14.0-start
garciadeblas [Wed, 28 Jun 2023 15:24:26 +0000 (17:24 +0200)]
Remove libcurl and libssl from stage-2 Dockerfile

Change-Id: I1353e23ee3cc60e6df23c698062c604e5f42b593
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoUpdate dependencies to use latest version of requests 93/13593/1
garciadeblas [Wed, 28 Jun 2023 07:58:22 +0000 (09:58 +0200)]
Update dependencies to use latest version of requests

Change-Id: I1a7f3907c4ff4d429d1c281367ed8525b91e1791
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoRemove unnecessary references to fullclassname after removal of v1 client 86/13586/2
garciadeblas [Mon, 26 Jun 2023 16:34:45 +0000 (18:34 +0200)]
Remove unnecessary references to fullclassname after removal of v1 client

Change-Id: I08aff2dc1eec721465d7504f3e54c155cc1a227a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
16 months agoRefactor -o option to simplify code 85/13585/2
garciadeblas [Mon, 26 Jun 2023 15:41:46 +0000 (17:41 +0200)]
Refactor -o option to simplify code

The change includes the implementation of a click option in print_output
module, being used in ns-list, ns-show, vim-list, vim-show, vnf-list and
vnf-show commands.

It also includes a quick validation that the output format is one of the
allowed outputs. It also fixes jsonpath option so that the output is not
embedded in a [] list structure.

Change-Id: I8c33b5faf341c9a4cdd8d488671f2a81ab3b5a3a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRemove dependencies no longer needed by pycurl 77/13577/2
Mark Beierl [Fri, 23 Jun 2023 15:48:32 +0000 (11:48 -0400)]
Remove dependencies no longer needed by pycurl

Updates the snapcraft build file to remove libraries that are no
longer needed to publish osmclient

Change-Id: Idedea41c51b96c815acc5e1e886bade8a2e2b8b3
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoNew global option to adapt output format 31/13531/5
hernandezchu [Wed, 14 Jun 2023 15:20:28 +0000 (17:20 +0200)]
New global option to adapt output format

Change-Id: I1135848fe16082218739036bc21be594f0808b31
Signed-off-by: hernandezchu <chernandez@cttc.es>
17 months agoRevert "Revert "Remove v1 version of osmclient which was used with old NBI (pre-Relea... 71/13571/2
almagia [Thu, 22 Jun 2023 14:24:43 +0000 (16:24 +0200)]
Revert "Revert "Remove v1 version of osmclient which was used with old NBI (pre-Release FOUR)""

This reverts commit d1ccf0e88aeacb065b97a6c5cb82e6de53537b94.

Aproved by TSC on 22.06.23

Change-Id: If913a5a7d39731455f287fdc01bf2bbef53f744f

17 months agoFix basic_15 to disable password prompt error 70/13570/1
selvi.j [Thu, 22 Jun 2023 10:24:59 +0000 (10:24 +0000)]
Fix basic_15 to disable password prompt error

Change-Id: Iedfb9b0dc750203c902682a6a73cdaf2e17d12c1
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoAmend user-update operation to simplify options 61/13561/3
garciadeblas [Wed, 21 Jun 2023 15:33:57 +0000 (17:33 +0200)]
Amend user-update operation to simplify options

Change-Id: I447fcd86c2640af16637e9502569834f3efa0fe9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRevert "Remove v1 version of osmclient which was used with old NBI (pre-Release FOUR)" 45/13545/3
garciadeblas [Mon, 19 Jun 2023 09:17:26 +0000 (11:17 +0200)]
Revert "Remove v1 version of osmclient which was used with old NBI (pre-Release FOUR)"

This reverts commit ae90d6fd63a349680b9f8e9a975bf90ec3c598c4.

Change-Id: I1f67f548c99e04279d9095b51b11cbbeacdd9609
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoRemove v1 version of osmclient which was used with old NBI (pre-Release FOUR) 44/13544/3
garciadeblas [Mon, 19 Jun 2023 09:14:15 +0000 (11:14 +0200)]
Remove v1 version of osmclient which was used with old NBI (pre-Release FOUR)

Change-Id: I28f8ce2b8ba84136b24ff96499b0894a441ecb2c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
17 months agoReplace pycurl library in osmclient by requests library 30/13530/6
Pol González Pacheco [Wed, 14 Jun 2023 14:26:15 +0000 (16:26 +0200)]
Replace pycurl library in osmclient by requests library

Change-Id: Iab7e5baf25e1917658de627d48e575363787469f
Signed-off-by: gonzalezpach <pol.gonzalez.pacheco@upc.edu>
17 months agoFix change_password option is not enabled in the user management user-update command 60/13560/2
selvi.j [Tue, 20 Jun 2023 19:35:14 +0000 (19:35 +0000)]
Fix change_password option is not enabled in the user management user-update command

Change-Id: Ia543fd979996c50d03f388f97ac6f15fd981b369
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
17 months agoUpdate to Ubuntu 22.04 and Python 3.10 57/13557/1
Mark Beierl [Tue, 20 Jun 2023 19:14:46 +0000 (15:14 -0400)]
Update to Ubuntu 22.04 and Python 3.10

Updates the snapcraft.yaml to be based on core22, which
includes Ubuntu22.04 and Python 3.10

Change-Id: I8c06737831a3b10850f1abc2ef49061994a1dab7
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoFeature 10941: User Management Enhancements 08/13208/6
selvi.j [Tue, 18 Apr 2023 07:01:48 +0000 (07:01 +0000)]
Feature 10941: User Management Enhancements

Added the implementation code for the user management enhancements feature

Change-Id: I84963effe05d2f8002497f3b96735255926b2339
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
18 months agoSupport of Python3.10 and Ubuntu22 63/13363/1
garciadeblas [Wed, 10 May 2023 16:03:23 +0000 (18:03 +0200)]
Support of Python3.10 and Ubuntu22

Change-Id: I700075c1f22bda60f90676c7f8f740a93076e08b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
20 months agoChange in tox.ini to use allowlist_externals 01/13001/2
garciadeblas [Fri, 24 Feb 2023 14:34:25 +0000 (15:34 +0100)]
Change in tox.ini to use allowlist_externals

Change-Id: I70a2c9e0090b3f87c474d06d65a947fa55d175a3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
20 months agoRemove unused docker_command.sh script 00/13000/2
garciadeblas [Fri, 24 Feb 2023 14:30:59 +0000 (15:30 +0100)]
Remove unused docker_command.sh script

Change-Id: Ic4ef4691b35f2856c74a015acd4ee5d5e6295656
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
20 months agoRemove unnecessary commands in stage-archive.sh 82/12982/4
garciadeblas [Wed, 15 Feb 2023 14:57:29 +0000 (15:57 +0100)]
Remove unnecessary commands in stage-archive.sh

Change-Id: I934c37813a7a2e189a1734838e1acdb004d0fe0d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
20 months agoFix black errors shown with the latest version of black 93/12993/1
garciadeblas [Wed, 22 Feb 2023 14:32:35 +0000 (15:32 +0100)]
Fix black errors shown with the latest version of black

Change-Id: I094b068da11277e07f24e713c4f9f61dbc55f8e5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoUpdating python dependencies 78/12878/2
Gulsum Atici [Thu, 26 Jan 2023 14:14:22 +0000 (17:14 +0300)]
Updating python dependencies

Update of Python packages (using pip-compile) in preparation for
Release FOURTEEN

Change-Id: I898f0bc309968dc5cd7c08d20505555af3057870
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
23 months agoRevert "Bug 2189 fixing osm package-build command" 62/12762/1
garciadeblas [Tue, 29 Nov 2022 13:24:55 +0000 (14:24 +0100)]
Revert "Bug 2189 fixing osm package-build command"

This reverts commit d169d606f469ab5ccb76aeb11bd56edbcb6bd933.

Change-Id: I6fc6bf9ebba594337653d2b47bfeb17fc0c2168c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
23 months agoFeature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB... 26/12726/2 release-v13.0-start
Luis Vega [Fri, 25 Nov 2022 14:52:25 +0000 (14:52 +0000)]
Feature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB system
This commit should be merged AFTER the revert in the commit https://osm.etsi.org/gerrit/#/c/osm/osmclient/+/12725/

Change-Id: Ifae76a63f6fecf323e63d38daa06196a4ba33345
Signed-off-by: Luis Vega <lvega@whitestack.com>
23 months agoRevert "Feature 10955: Osmclient changes related to VIM configuration with a Promethe... 25/12725/1
Luis Vega [Fri, 25 Nov 2022 13:57:46 +0000 (13:57 +0000)]
Revert "Feature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB system"

This reverts commit e6e9ebfa7cc4d9c3d0bda4a2dcab7f337af63baf.

Change-Id: Ibcc1c5442f8cb44cf20a46172a965a74818c9f26
Signed-off-by: Luis Vega <lvega@whitestack.com>
23 months agoBug 2189 fixing osm package-build command 82/12682/3
gomezchavez [Fri, 11 Nov 2022 13:19:46 +0000 (14:19 +0100)]
Bug 2189 fixing osm package-build command

Change-Id: I91020fb6d0f1b858f438ec0e8994793c770fe507
Signed-off-by: gomezchavez <guillermo.gomez.external@atos.net>
2 years agoFeature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB... 95/12595/7
Luis Vega [Mon, 17 Oct 2022 13:36:12 +0000 (13:36 +0000)]
Feature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB system

Change-Id: Ibf9032936c538a7bccbe2b5aab27583ca44f2bfd
Signed-off-by: Luis Vega <lvega@whitestack.com>
2 years agoFeature 10962 Refactoring of osmclient commands 95/11795/14
garciadeblas [Mon, 28 Mar 2022 22:11:30 +0000 (00:11 +0200)]
Feature 10962 Refactoring of osmclient commands

This commit refactors click commands to different modules under
osmclient/cli_commands.

Change-Id: Ie28a7c5f4fb663433f0d5aad491d1634da5c4fcd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMinor fix in stage-test to add TOX_PARALLEL_NO_SPINNER 57/12557/2
garciadeblas [Thu, 22 Sep 2022 08:49:01 +0000 (10:49 +0200)]
Minor fix in stage-test to add TOX_PARALLEL_NO_SPINNER

Change-Id: Ifc960e639c3ec8fae680fc7234239447803b6b40
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoGet VIM certificates from DB 68/12468/6
calvinosanc1 [Fri, 19 Aug 2022 10:44:52 +0000 (10:44 +0000)]
Get VIM certificates from DB

Change-Id: Ic551004f5d2837cc2390092f330cc8c82722e9d5
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
2 years agoFix bug 2153 to hide WIM password properly in command wim-show 12/12512/1
gifrerenom [Mon, 28 Feb 2022 09:49:11 +0000 (09:49 +0000)]
Fix bug 2153 to hide WIM password properly in command wim-show

Change-Id: Ia3832d034d58895bb3096517e3a02ea19b75edf5
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
2 years agoBug 2116 fixed: obtaining the queuePosition key using the get method 31/12331/2
Pedro Escaleira [Wed, 13 Jul 2022 11:23:17 +0000 (12:23 +0100)]
Bug 2116 fixed: obtaining the queuePosition key using the get method

Change-Id: I53c63960be41a897d093f948d4cc5e377c80389f
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoJenkins refresh 40/12340/2
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>
2 years agoEnable black and pylint in tox, and update code accordingly 95/12295/1
garciadeblas [Mon, 4 Jul 2022 06:51:14 +0000 (08:51 +0200)]
Enable black and pylint in tox, and update code accordingly

Change-Id: I6d2f4c7e3ac63fe9b981e3c3b61203f0efa4722a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoRevert setup.py 64/12264/1 release-v12.0-start
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>
2 years agoManual update of pip requirements 62/12262/1
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>
2 years agoManual update of pip requirements 58/12258/3
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>
2 years agoBug 1862: Fixed required field in SOL006 IM to generate OSM repo index 91/12191/2
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>
2 years agoRemove duplicates for md5 and keep only utils.md5 88/12188/6
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>
2 years agoSupport of several VNF and VDU in ns-heal and vnf-heal commands 20/12220/1
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>
2 years agoFix ns-heal and vnf-heal commands to anchor to cli_osm 03/12203/1
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>
2 years agoFeature 10909: Heal operation for VDU 02/11802/13
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>
2 years agoFix bug 2073 to delete properly unzipped packages during osm repo-index 94/12194/1
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>
2 years agoRemove eval function 87/12187/2
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>
2 years agoSet autoscape to True in Jinja2 environment 85/12185/1
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>
2 years agoFeature 10904: Make all deployment methods optional for K8s cluster 76/11776/6
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>
2 years agoFeature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB 53/11953/4
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>
2 years agoAdd `osm ns-update` command 64/11864/7
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>
2 years agoFeature 10914: Enforce Password change on First login 34/11834/2
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>
2 years agoMinor typo in package_tool to initialize set 32/11832/1
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>
2 years agoAdd timeout param for ns-create 41/11741/1
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>
2 years agoBug 1846: LTS Support 18/11518/4
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>
2 years agobugfix: sol004 and sol007 accepting zip files when vnfpkg-create or nspkg-create... 00/11400/3
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>
3 years agofeature: sol004 and sol007 04/11304/13
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>
3 years agoUpdate vim-create and vim-update to accept config and credential files 99/11299/4 release-v11.0-start v11.0.0rc1
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>