osm/osmclient.git
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years agoCapture end organize exceptions. Fix NotFound 96/8496/3
tierno [Tue, 21 Jan 2020 09:27:09 +0000 (09:27 +0000)]
Capture end organize exceptions. Fix NotFound

Change-Id: I6fb4e88e16957725c595bd3dcabc6f74c04537ef
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 934. OSM CLI crashes for listing operations with insufficient permissions 85/8385/14
pinoa [Thu, 12 Dec 2019 11:10:27 +0000 (12:10 +0100)]
Fix Bug 934. OSM CLI crashes for listing operations with insufficient permissions

Change-Id: I77c802a6ad1d77979b01377b0d1bebfff936e306
Signed-off-by: pinoa <alberto.pino@altran.com>
4 years agoFix output for ns-list and ns-op-list to show better info from record 98/8498/3
garciadeblas [Mon, 20 Jan 2020 11:30:33 +0000 (11:30 +0000)]
Fix output for ns-list and ns-op-list to show better info from record

Change-Id: Ic89840a6ea1dc5e8ccc5bc882b4a1b49a505412b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix KDU status in vnf-show for chart-based KDU 91/8491/2
garciadeblas [Fri, 17 Jan 2020 14:01:55 +0000 (14:01 +0000)]
Fix KDU status in vnf-show for chart-based KDU

Change-Id: Id7045267c4008e34834981a00c14afb5563cd899
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoremove deprecated hidden option not available for all click versions. 78/8478/3
tierno [Tue, 14 Jan 2020 22:58:53 +0000 (22:58 +0000)]
remove deprecated hidden option not available for all click versions.
Adding new timeout instantiation parameter

Change-Id: I836a614790660e1828a30e698b4f5e2d3838a0a9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoREADME.md: updated installation procedure, use of osmclient as library 75/8475/4
garciadeblas [Mon, 13 Jan 2020 22:53:09 +0000 (22:53 +0000)]
README.md: updated installation procedure, use of osmclient as library

Change-Id: I4d81e08bc5bf9e0888e53ebce9e49e3d7bc02a3d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoAdding logging capabilities to osmclient 31/8231/34
garciadeblas [Thu, 21 Nov 2019 11:02:05 +0000 (12:02 +0100)]
Adding logging capabilities to osmclient

Change-Id: Ia48b5a95d4fb3cdbf85f90f62a6196f4b045d2f2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoPostinstall script for osmclient: installs pyangbind and enable autocompletion 90/8390/8
garciadeblas [Thu, 12 Dec 2019 15:45:47 +0000 (16:45 +0100)]
Postinstall script for osmclient: installs pyangbind and enable autocompletion

Change-Id: Ic30dad9e031a8cc88df4c9400f195dfe37cc8fd2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoUpdated Dockerfile for 18.04; added python-magic dependency, minor fixes in build... 89/8389/9
garciadeblas [Thu, 12 Dec 2019 14:59:03 +0000 (15:59 +0100)]
Updated Dockerfile for 18.04; added python-magic dependency, minor fixes in build process

Change-Id: Id9bfc1745349124e61e59fecb90bdb5b1d61ea3e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoprompt a proper message when OSM server is not running 26/8426/5
tierno [Thu, 19 Dec 2019 10:44:16 +0000 (10:44 +0000)]
prompt a proper message when OSM server is not running
capture ClientException and others in a unique point to avoid code duplication

Change-Id: I83e8ae4414b7eeebd91b49153ab3630c6c3515d5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agochange options for SDNC-create 25/8425/5
tierno [Tue, 17 Dec 2019 16:45:20 +0000 (16:45 +0000)]
change options for SDNC-create

Change-Id: I3e60e29c5dc0215907f223db493431d7ae987c79
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoOperational state in k8scluster-list 42/8342/1
Felipe Vicens [Fri, 6 Dec 2019 14:05:07 +0000 (15:05 +0100)]
Operational state in k8scluster-list

Change-Id: I9c00a72fd88a9e66fd292d4117f7506b0b131d8a
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoFix bug 946 - removed unnecessary check for additionalParams 15/8315/1 v7.0.0 v7.0.0rc1 v7.0.1rc1
garciadeblas [Wed, 4 Dec 2019 12:24:32 +0000 (12:24 +0000)]
Fix bug 946 - removed unnecessary check for additionalParams

Change-Id: I3afdd68a17f78fcbea8f6527d2781c36988ec1a4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoUpdated help message for repo-type 10/8310/1
garciadeblas [Wed, 4 Dec 2019 09:18:47 +0000 (09:18 +0000)]
Updated help message for repo-type

Change-Id: I8adcd95fec1509406b35a4b6da942bb699e5a899
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agochange repo type to helm-chart,juju-bundle 07/8307/1
tierno [Tue, 3 Dec 2019 23:55:50 +0000 (23:55 +0000)]
change repo type to helm-chart,juju-bundle

Change-Id: I69a8a8613ef81ef396d1da55376a2a306960eb2a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agosetup.py: added description, maintainer and license 01/8301/1
garciadeblas [Tue, 3 Dec 2019 11:39:34 +0000 (12:39 +0100)]
setup.py: added description, maintainer and license

Change-Id: I37c2ff61e3078aa5ed119836df15ba62e90828b4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoosm version: added client version 87/8287/1
garciadeblas [Mon, 2 Dec 2019 13:57:02 +0000 (13:57 +0000)]
osm version: added client version

Change-Id: I698b75d3b7771c5409a741008eeb21468bf4eeff
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agonew 'osm version' command to get server version 87/7887/3
tierno [Sat, 23 Nov 2019 23:01:26 +0000 (23:01 +0000)]
new 'osm version' command to get server version

Change-Id: Ic01afc3dec3475dd390f0e6a464bd08d6d596faf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoUse of PATCH method instead of PUT for projects 32/8232/19
garciadeblas [Fri, 22 Nov 2019 21:18:09 +0000 (22:18 +0100)]
Use of PATCH method instead of PUT for projects

This applies to projects, users, roles, vims, wims
and sdncontrollers

Change-Id: I81badf6f4117d26c8a8f613336dba520377f9612
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix stdeb.cfg to include osm-im dependency, license added to stage-test 49/8249/15
garciadeblas [Wed, 27 Nov 2019 18:03:07 +0000 (19:03 +0100)]
Fix stdeb.cfg to include osm-im dependency, license added to stage-test

Change-Id: Ic273df6b566acc26e788596d95d619428702fd36
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoNew commands for managing K8s cluster and repos 13/8213/3
garciadeblas [Mon, 4 Nov 2019 23:40:11 +0000 (00:40 +0100)]
New commands for managing K8s cluster and repos

New options for vnf-show to show details of a kdu in a VNF instance
Use of textwrapper to wrap text of the prettytables for vnf-show,
ns-show, k8scluster-show, ns-list and vim-show
Updated trunc_text function to fix truncation to lenghth

Change-Id: I6f61533d6eff267d7858bb367e41e28dca8447ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoFeature 8047: osmclient package creation and validation tool 92/8092/31
Felipe Vicens [Fri, 25 Oct 2019 14:42:41 +0000 (16:42 +0200)]
Feature 8047: osmclient package creation and validation tool

Change-Id: Ie1e0be7f5029a4b323fa585f8aa39631568176ac
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
5 years agomigration to Python3: fix printing exception message 35/8135/2
garciadeblas [Sat, 9 Nov 2019 21:39:15 +0000 (22:39 +0100)]
migration to Python3: fix printing exception message

Change-Id: Icea828998a0858e82658577c1c1b3701e8d1e31b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agooverwrite parameter deprecated and help parameter 17/8117/4
pinoa [Tue, 5 Nov 2019 13:28:15 +0000 (14:28 +0100)]
overwrite parameter deprecated and help parameter

Change-Id: Ia2474fc1bd2c42e287f19517df216e0619eee7cb
Signed-off-by: pinoa <alberto.pino@altran.com>
5 years agoReplace deprecated yaml.load by yaml.safe_load 23/8123/1
garciadeblas [Thu, 7 Nov 2019 08:30:30 +0000 (09:30 +0100)]
Replace deprecated yaml.load by yaml.safe_load

Change-Id: I215da5edd978d222d807bef49e4938eb47e3f96b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoImproved help messages, increased width 20/8120/1
garciadeblas [Tue, 5 Nov 2019 23:06:26 +0000 (00:06 +0100)]
Improved help messages, increased width

Change-Id: Ic146afd4f6b55bd5583bedf379e45026c0559c8d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agowait.py: updated POLLING_TIME_INTERVAL to 5s for --wait option 19/8119/1
garciadeblas [Tue, 5 Nov 2019 16:39:52 +0000 (17:39 +0100)]
wait.py: updated POLLING_TIME_INTERVAL to 5s for --wait option

Change-Id: Ie64f69c18107921335f992aabeb53433a5f03064
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoClient class: updated defaults sol005=True 33/8033/8
garciadeblas [Tue, 8 Oct 2019 16:47:53 +0000 (18:47 +0200)]
Client class: updated defaults sol005=True

Change-Id: If440219c74c4eea9db880aa82e16cd4224723cdb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoOsmclient migration to Python3 (feature 8031) 32/8032/8
garciadeblas [Tue, 8 Oct 2019 16:30:46 +0000 (18:30 +0200)]
Osmclient migration to Python3 (feature 8031)

Change-Id: I8de971f0914919ade4e8f19ed9da7ce06e775d3b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoRemoved deprecated options (from Rel THREE) 61/7961/1
garciadeblas [Tue, 17 Sep 2019 14:49:57 +0000 (16:49 +0200)]
Removed deprecated options (from Rel THREE)

Change-Id: I9aaacaad37861b54314a65e23fc014201d5a124d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agobug 773: allow ns-action without primitive_params 89/7689/4 feature7928
tierno [Fri, 21 Jun 2019 09:48:31 +0000 (09:48 +0000)]
bug 773: allow ns-action without primitive_params
allow execute primitives over a vdu

Change-Id: Ie72516f409d2613df0ba8bc9544424669d379813
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMerge "Bug 820 fix - Unable to update NST via CLI"
tierno [Fri, 30 Aug 2019 07:24:06 +0000 (09:24 +0200)]
Merge "Bug 820 fix - Unable to update NST via CLI"

5 years agoImproved 'detailed-status' for VIM/WIM/SDN suboperations 39/7839/1
kuuse [Fri, 9 Aug 2019 11:46:43 +0000 (13:46 +0200)]
Improved 'detailed-status' for VIM/WIM/SDN suboperations

For any VIM/WIM/SDN operation using the '--wait' option,
the output has been retrieved from the following field:
'_admin.detailed-status'.
With the implementation of VIM/WIM/SDN 'suboperations',
there is a new status field, one for each operation:
'_admin.operations[current_operation]detailed-status'
To use this new status field, both LCM and NBI must support it:
https://osm.etsi.org/gerrit/#/c/7767 : LCM support for operations
https://osm.etsi.org/gerrit/#/c/7734 : NBI support for current_operation

Change-Id: Id4f9b1c95f746666a254c4e20ab91b128c2569ff
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoBug 820 fix - Unable to update NST via CLI 37/7837/1
vijay.r [Fri, 9 Aug 2019 08:20:55 +0000 (13:50 +0530)]
Bug 820 fix - Unable to update NST via CLI

Change-Id: Ia7050dead57d654bbacd442953298dd39d99f57f
Signed-off-by: vijay.r <vijay.r@tataelxsi.co.in>
5 years agobug 767: uniform role format 67/7667/3 v6.0.0 v6.0.1
tierno [Thu, 13 Jun 2019 22:38:05 +0000 (22:38 +0000)]
bug 767: uniform role format

Change-Id: I977c4ef37218596ada20df7be3ff94b711d2de08
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoImprovement: Return more states in the 'detailed-status' field - client side 86/7586/7
kuuse [Fri, 31 May 2019 10:25:42 +0000 (12:25 +0200)]
Improvement: Return more states in the 'detailed-status' field - client side

Change-Id: I425d3a9fe188d07a9be20626ce641325a8602e6a
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoImprovement: Check that return code is 0 for successful operations, and non-zero... 38/7638/6
kuuse [Mon, 10 Jun 2019 16:04:59 +0000 (18:04 +0200)]
Improvement: Check that return code is 0 for successful operations, and non-zero for errors.

Change-Id: Id6272b79f4c3cfe22d2ba8fc09dec13fc8ebd4b7
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agofix bugs 747 757: fix user-update interface 64/7664/1
tierno [Thu, 13 Jun 2019 09:06:00 +0000 (09:06 +0000)]
fix bugs 747 757: fix user-update interface

Change-Id: Ic526071cd16675a5a89d7fb6285a1654e88daae8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 643 750. Allow project update to change name 37/7637/1
tierno [Mon, 10 Jun 2019 15:53:27 +0000 (15:53 +0000)]
fix bug 643 750. Allow project update to change name

Change-Id: I87913f113ca59fb311f11bdbd8e0cb20e09c2aca
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofixing bug 747: strip instead of trim 36/7636/1
tierno [Mon, 10 Jun 2019 12:20:44 +0000 (12:20 +0000)]
fixing bug 747: strip instead of trim
Uniform words: project_role_mappings, username

Change-Id: I3eac67c605421718d8c9311d0c3021d2db71c2a5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agodebug bug 710: increased verbosity of ns.get_field, increased sleep for wait_for_value 28/7628/1
garciadeblas [Thu, 6 Jun 2019 15:55:09 +0000 (17:55 +0200)]
debug bug 710: increased verbosity of ns.get_field, increased sleep for wait_for_value

Change-Id: I526b92892500ed989c8d0de2d0d8dfc1d78b9eee
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoFix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null 15/7615/1
Felipe Vicens [Wed, 5 Jun 2019 17:26:04 +0000 (19:26 +0200)]
Fix bug #677 osm nsi-op-list name' and 'osm nsi-op-show id' returns null

Change-Id: I95e9691e9ef0ba8aafb40d6a0a207949c3cfe147
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
5 years agoFeature 7181: Provide real-time feedback in CLI upon request using the '--wait' option 78/7578/2
kuuse [Thu, 30 May 2019 07:42:05 +0000 (09:42 +0200)]
Feature 7181: Provide real-time feedback in CLI upon request using the '--wait' option

Change-Id: I238c78fa65ba5e41f2e690c4c3f0d1e8aac9de19
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoMaintaining format for project_role_mapping for creating and listing 81/7581/1
Eduardo Sousa [Thu, 30 May 2019 12:23:04 +0000 (13:23 +0100)]
Maintaining format for project_role_mapping for creating and listing

Change-Id: I725451a39e32431a23745b4a20f7823fce090793
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
5 years agoAdding role management 77/7377/10
Eduardo Sousa [Sun, 31 Mar 2019 22:49:14 +0000 (23:49 +0100)]
Adding role management

Change-Id: I00a7db2881ff62eb79910c876c7f46dbad79fa23
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
5 years agoBug 704 Minor code change for exception details 59/7559/1
madavi [Tue, 28 May 2019 05:26:29 +0000 (10:56 +0530)]
Bug 704 Minor code change for exception details

Change-Id: I66bb530b17a774de1bc328182e53eb4035f09121
Signed-off-by: madavi <jm00553988@techmahindra.com>
5 years agomove wim_account parameter inside config of ns-create 63/7363/1 feature7106
tierno [Mon, 25 Mar 2019 12:08:51 +0000 (12:08 +0000)]
move wim_account parameter inside config of ns-create

Change-Id: I1f8ce498d7b954b954c7511359a0dc9763819cc6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years ago(bug 650) adding WIM account instantiation parameter. 49/7349/1
tierno [Thu, 21 Mar 2019 13:03:53 +0000 (13:03 +0000)]
(bug 650) adding WIM account instantiation parameter.
Allow manual selection of wim or deployment without Wim

Change-Id: Ic03816d33aebb3843fc1bb0063bdbc91e43ea069
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 647 user creation with project prompt 96/7296/1
tierno [Wed, 13 Mar 2019 09:55:51 +0000 (09:55 +0000)]
fix bug 647 user creation with project prompt

Change-Id: I6d006d25b33ec8693ffaf71252c6cc009a63b5ef
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoosm.py: updated table header for vnfd-list and aliases to be agnostic of VNF type 42/7142/2
garciadeblas [Wed, 30 Jan 2019 10:26:22 +0000 (11:26 +0100)]
osm.py: updated table header for vnfd-list and aliases to be agnostic of VNF type

Change-Id: I2823aff813aa75a4c21672283c1409e7b478c23f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agobug 624 fix user management for sol005 33/7133/3
tierno [Tue, 29 Jan 2019 11:43:10 +0000 (11:43 +0000)]
bug 624 fix user management for sol005

Change-Id: I3aa13a9f9c5c22411af90ba98dbe5d0d5a0cfd5d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadding SOL005 additionalParams to ns/nsi creation 19/7119/3
tierno [Mon, 21 Jan 2019 14:57:13 +0000 (14:57 +0000)]
adding SOL005 additionalParams to ns/nsi creation

Change-Id: Ia871bd316a94af03acec1863dd2b8acfe43b3505
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoSupport of WIM accounts in osmclient 02/7102/2
garciadeblas [Mon, 14 Jan 2019 17:17:15 +0000 (18:17 +0100)]
Support of WIM accounts in osmclient

Change-Id: I3395f6dc78d8060d7ae3aa3cbbef7ca9fad8713a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofix help message for osm vnf-list and nf-list 38/7038/1
garciadeblas [Tue, 4 Dec 2018 15:58:03 +0000 (16:58 +0100)]
fix help message for osm vnf-list and nf-list

Change-Id: I58232f98816e0e19c8aef8a35c475db725ea43a0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agonew alias nf-list for vnf-list 29/7029/1 v5.0.0
garciadeblas [Mon, 3 Dec 2018 17:52:07 +0000 (18:52 +0100)]
new alias nf-list for vnf-list

Change-Id: I0d1c516a2e2185ff9ce88a107b1d9e3f6cf316b0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofix update vnfd and nsd 27/7027/3
garciadeblas [Mon, 3 Dec 2018 17:31:51 +0000 (18:31 +0100)]
fix update vnfd and nsd

Change-Id: Ib38af258d4980f76880a40db0fdac29fe478be57
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agovnfd-list and vnfpkg-list to use same options as nfpkg-list 24/7024/4
garciadeblas [Mon, 3 Dec 2018 11:58:13 +0000 (12:58 +0100)]
vnfd-list and vnfpkg-list to use same options as nfpkg-list

Change-Id: I610ea5b4635b78e76d5217bee1216cb84e8230a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofix pdu_create and nfpkg_list 23/7023/6
garciadeblas [Mon, 3 Dec 2018 11:33:06 +0000 (12:33 +0100)]
fix pdu_create and nfpkg_list

Change-Id: Id9e9dd6bfe4e9c8bc664030af4ae1846860f7aae
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoosm.py: updated nfpkg-list to include nf_type filter option 19/7019/1
garciadeblas [Sun, 2 Dec 2018 12:08:52 +0000 (13:08 +0100)]
osm.py: updated nfpkg-list to include nf_type filter option

Change-Id: I3d272aff9027495e7fef07e6a6dc6a2859637886
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoUpdated .gitignore: dists and pools folders 18/7018/1
garciadeblas [Sun, 2 Dec 2018 11:22:53 +0000 (12:22 +0100)]
Updated .gitignore: dists and pools folders

Change-Id: I3e1c5b28758d21c8bad3c6db0fa53f815180ecb0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoosm.py: new aliases nfpkg-* for vnfpkg-* 17/7017/1
garciadeblas [Sun, 2 Dec 2018 10:40:48 +0000 (11:40 +0100)]
osm.py: new aliases nfpkg-* for vnfpkg-*

Change-Id: I0007c206deb4e1108c21a7bfb0066210a265885e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agosupport of PDUs 55/6855/13
garciadeblas [Tue, 6 Nov 2018 04:56:15 +0000 (05:56 +0100)]
support of PDUs

Change-Id: Ifb20578016ef7212399db6b4c12aa5a30376c67e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoosm.py: added config_file option to nsi_create 14/7014/2
garciadeblas [Sat, 1 Dec 2018 00:12:19 +0000 (01:12 +0100)]
osm.py: added config_file option to nsi_create

Change-Id: Ief0707cec43fc5da3ff54117690fb121991924f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoSupport of network slices 02/7002/1
garciadeblas [Mon, 29 Oct 2018 12:42:42 +0000 (13:42 +0100)]
Support of network slices

Change-Id: I57a003b880c67bdeddae6f090da63e6d4747127b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoSupport of user and project mgmt in sol005 client 35/6235/21
garciadeblas [Tue, 29 May 2018 12:15:43 +0000 (14:15 +0200)]
Support of user and project mgmt in sol005 client

Change-Id: I5880e0cb1efecdbed8c5c3ab800e5e2ed6cda517
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoFix in osm.py: vnf-scale parameters 87/6987/3
garciadeblas [Wed, 28 Nov 2018 13:51:18 +0000 (14:51 +0100)]
Fix in osm.py: vnf-scale parameters

Change-Id: I92da723a32190d00cd967e139d803be3af69acda
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoRenamed ns-scale-vdu to vnf-scale. Refactored scale code from osm.py to ns.py 73/6973/2
garciadeblas [Tue, 27 Nov 2018 12:28:57 +0000 (13:28 +0100)]
Renamed ns-scale-vdu to vnf-scale. Refactored scale code from osm.py to ns.py

Change-Id: Ifd16183f02a7f4b7e8a7cab3bba84de611f0b671
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdded Build-Depends to stdeb.cfg to fix warnings 71/6971/1
garciadeblas [Tue, 27 Nov 2018 10:53:33 +0000 (11:53 +0100)]
Added Build-Depends to stdeb.cfg to fix warnings

Change-Id: Ie1201f1d0c1853852a08ce3fb16131777b2d1f7c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoMerge "Added ns-scale-vdu command for VDU scaling"
garciadeblas [Tue, 27 Nov 2018 10:55:35 +0000 (11:55 +0100)]
Merge "Added ns-scale-vdu command for VDU scaling"

6 years agoAdded ns-scale-vdu command for VDU scaling 95/6295/5
tierno [Mon, 25 Jun 2018 09:30:43 +0000 (11:30 +0200)]
Added ns-scale-vdu command for VDU scaling

Change-Id: Ie4da5cd451cd7e0fcd1dec6a0e260c05cd7b28b4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoOSM_HOSTNAME defaults to 127.0.0.1 instead of None 54/6854/2
garciadeblas [Tue, 6 Nov 2018 04:02:45 +0000 (05:02 +0100)]
OSM_HOSTNAME defaults to 127.0.0.1 instead of None

Change-Id: I8b53c03daf1b244feedd00a3457ef75b907b2e70
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm ns-create: new option --config_file 25/6325/5
garciadeblas [Tue, 10 Jul 2018 07:38:26 +0000 (09:38 +0200)]
osm ns-create: new option --config_file

Change-Id: Ib6d12587923313e69a05e772251efde0e977ab67
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agovnf-list: support of filter string; documented help for --filter 52/6852/2
garciadeblas [Tue, 6 Nov 2018 00:14:25 +0000 (01:14 +0100)]
vnf-list: support of filter string; documented help for --filter

Change-Id: I48c6d41e8f3cc69de34b00e5f7e1d2dfc21fc8f7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoMerge "Add get_field method"
Michael Marchetti [Wed, 31 Oct 2018 16:19:15 +0000 (17:19 +0100)]
Merge "Add get_field method"

6 years agoAdd get_field method 10/6810/1
Michael Marchetti [Wed, 31 Oct 2018 16:03:40 +0000 (16:03 +0000)]
Add get_field method

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
6 years agoChange content-type header to text/plain for yaml and json files 94/6794/3
gcalvino [Tue, 30 Oct 2018 11:16:43 +0000 (12:16 +0100)]
Change content-type header to text/plain for yaml and json files

Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
Change-Id: I5ff3d95d34780410e233f31b8e8a52e198912457

6 years agoUpdated .gitignore: .idea 23/6323/4
garciadeblas [Mon, 9 Jul 2018 12:09:33 +0000 (14:09 +0200)]
Updated .gitignore: .idea

Change-Id: I90e26f120355b376298555795e74599cce3a6633
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoFix bug 557 about ssh keys 00/6800/2
garciadeblas [Mon, 29 Oct 2018 12:50:45 +0000 (13:50 +0100)]
Fix bug 557 about ssh keys

Change-Id: Id2ac54b0ba9eb7b1566e05f50b1f0e021866d826
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoAdd version schedule pep440-git-full
Mike Marchetti [Fri, 28 Sep 2018 21:18:26 +0000 (17:18 -0400)]
Add version schedule pep440-git-full

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoFix Content-Type for ns-create
Mike Marchetti [Fri, 31 Aug 2018 13:41:47 +0000 (09:41 -0400)]
Fix Content-Type for ns-create

The ns-create POST Content-Type was incorrectly set by any previous
HTTP call.

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoAdd missing wait_for_package api method
Mike Marchetti [Tue, 14 Aug 2018 16:15:16 +0000 (12:15 -0400)]
Add missing wait_for_package api method

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id: Iec32a4795174c35d4e478184b4d4cfc65ab288f6

6 years agoMatch against correct version tag
Mike Marchetti [Tue, 14 Aug 2018 13:16:33 +0000 (09:16 -0400)]
Match against correct version tag

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoFix1: Package upload using Python3 was still broken: BUILD_v4.0.1_1 BUILD_v4.0.1_2
peusterm [Fri, 15 Jun 2018 12:46:23 +0000 (14:46 +0200)]
Fix1: Package upload using Python3 was still broken:
Loading file contents using 'r' does not work in Python 3
and results in an encoding error. Replaced with 'rb'.

Fix2: Be more robust when MIME types are detected:
Treat 'application/x-gzip' as 'application/gzip'.
(This will also allow to use osmclient on OS X)

Change-Id: I430b2fae2c275803120a6815d01bb26bff26ebdc
Signed-off-by: peusterm <manuel.peuster@upb.de>
6 years agoFix: Make osmclient Python 3 compatible.
peusterm [Thu, 14 Jun 2018 19:32:55 +0000 (21:32 +0200)]
Fix: Make osmclient Python 3 compatible.

The Python 3 compatibility of osmclient was
completely broken, e.g., print statements without ().
This fixes are mostly done with the automated 2to3
conversion tool.
Some fixes (mixed tabs and spaces) were fixed by hand.

Change-Id: Idea46a4b07e55eaa5bcf5defff64af3f751d740f
Signed-off-by: peusterm <manuel.peuster@upb.de>
6 years agoFix bug in vnfd/nsd creation when reporting errors v4.0.1
garciadeblas [Wed, 30 May 2018 08:17:16 +0000 (10:17 +0200)]
Fix bug in vnfd/nsd creation when reporting errors

Change-Id: I8c9fd2d7c4a81723a41082ad5c06d7d1540fda1b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years ago--sol005 as default option
garciadeblas [Tue, 29 May 2018 07:48:12 +0000 (09:48 +0200)]
--sol005 as default option

Change-Id: Ib834f4b17fdaf5203d7597edbea8400a540ac8a6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agovnf-list: printing vim account id
garciadeblas [Tue, 29 May 2018 07:16:10 +0000 (09:16 +0200)]
vnf-list: printing vim account id

Change-Id: I8e2260f8baaf8fe44f27cde36e969d8334c293f8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agousing http codes in sol005 client whenever possible v4.0.0
garciadeblas [Mon, 21 May 2018 22:49:13 +0000 (00:49 +0200)]
using http codes in sol005 client whenever possible

Change-Id: I30d5c9a4231c557468ba25d5dac32317eb095b04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix bug in vim-create with config
garciadeblas [Mon, 21 May 2018 14:45:33 +0000 (16:45 +0200)]
fix bug in vim-create with config

Change-Id: I9b4030aa18c2274c06bc40a55b1fb8f2c1e40be0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix bugs in vnf-list and vnf-show for sol005 client
garciadeblas [Fri, 18 May 2018 13:33:29 +0000 (15:33 +0200)]
fix bugs in vnf-list and vnf-show for sol005 client

Change-Id: Ia6368e2fbf358d4cfc4d46ed7856305f8bd80563
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix vim-update by using PUT and proper handling of SDN info
garciadeblas [Thu, 17 May 2018 13:27:21 +0000 (15:27 +0200)]
fix vim-update by using PUT and proper handling of SDN info

Change-Id: I6cdef6caa7e4456ef89997cdc4e0601641b47490
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agovnf-list and vnf-show for sol005 client
garciadeblas [Thu, 17 May 2018 13:02:43 +0000 (15:02 +0200)]
vnf-list and vnf-show for sol005 client

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