osm/osmclient.git
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
4 years 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>
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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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"

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>