osm/osmclient.git
5 years agoMerge branch 'master' into v5.0 65/7165/1 v5.0 v5.0.3 v5.0.4 v5.0.5
garciadeblas [Fri, 1 Feb 2019 12:27:51 +0000 (13:27 +0100)]
Merge branch 'master' into v5.0

Change-Id: Ia2bed9b76dc61640814773f7baef69bf9bb5cd49

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 39/7039/1 v5.0.1 v5.0.2
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 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>
6 years agovim-update dealing with SDN controller and port mapping
garciadeblas [Thu, 17 May 2018 11:33:03 +0000 (13:33 +0200)]
vim-update dealing with SDN controller and port mapping

Change-Id: Ia913a3fda961fd47649ca8ee23b4c32d482881d2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agonew --force option for xxx-delete commands in sol005 client
garciadeblas [Wed, 16 May 2018 15:21:59 +0000 (17:21 +0200)]
new --force option for xxx-delete commands in sol005 client

Change-Id: Ib593840025e2e7cdf91a9c181deb9dc67f895b49
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix sol005 client so that delete_cmd output is processed in the caller function
garciadeblas [Wed, 16 May 2018 13:29:46 +0000 (15:29 +0200)]
fix sol005 client so that delete_cmd output is processed in the caller function

Change-Id: I0311de2bfafd86bf26ac79f762d76cec9e7a065e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofixes for ns-alarm-create and ns-metric-export, disabled ns-alarm-delete
garciadeblas [Mon, 14 May 2018 16:22:40 +0000 (18:22 +0200)]
fixes for ns-alarm-create and ns-metric-export, disabled ns-alarm-delete

Change-Id: Ia3ea21d8b6d3eca158e0cded6ec34e7ac3a2313e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoproper handling of http_codes in http.post_cmd
garciadeblas [Mon, 14 May 2018 14:06:22 +0000 (16:06 +0200)]
proper handling of http_codes in http.post_cmd

Change-Id: I7526522f11f2c7c991c61e0a8bbe99393bddbc85
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoSupport of ns-alarm-create, ns-alarm-delete and ns-metric-export
garciadeblas [Thu, 10 May 2018 22:43:51 +0000 (00:43 +0200)]
Support of ns-alarm-create, ns-alarm-delete and ns-metric-export

Change-Id: Ife1bd4579756ad4bf484f211a74e06903fa993a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoadding missing help; fixing some checks of client version
garciadeblas [Thu, 10 May 2018 13:19:00 +0000 (15:19 +0200)]
adding missing help; fixing some checks of client version

Change-Id: I811b3c391063d5930ac7e1cf2454ba91e6a4d015
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agosdncontroller mgmt using sol005 api
garciadeblas [Thu, 10 May 2018 12:34:13 +0000 (14:34 +0200)]
sdncontroller mgmt using sol005 api

Change-Id: I642035fa261e6bf41aa361b7db611dc9f0808631
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agosupport of PATCH method for sol005 client
garciadeblas [Thu, 10 May 2018 12:33:34 +0000 (14:33 +0200)]
support of PATCH method for sol005 client

Change-Id: Ic8c6c4c9250aae0da486d298dc5f796c6b6a2350
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py fix bug in ns-action parameters, missing action_name v3.1.0
garciadeblas [Tue, 8 May 2018 07:33:07 +0000 (09:33 +0200)]
osm.py fix bug in ns-action parameters, missing action_name

Change-Id: I937cc42d65e0a595e27bf7e571de814eefa44f26
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agossh key injection enabled with ns-create in sol005 client
garciadeblas [Sat, 5 May 2018 20:55:25 +0000 (22:55 +0200)]
ssh key injection enabled with ns-create in sol005 client

Change-Id: I6d6569ea58cfef408f9345ef9eb403ec78a6fe48
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agonew commands: ns-op-list, ns-op-show, ns-action
garciadeblas [Fri, 4 May 2018 12:15:04 +0000 (14:15 +0200)]
new commands: ns-op-list, ns-op-show, ns-action

Change-Id: Ie19c0f88d85cffbad41d5e71a3cb29ccd21473d4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: ns-list providing detailed status of the instantiation
garciadeblas [Fri, 4 May 2018 11:04:03 +0000 (13:04 +0200)]
osm.py: ns-list providing detailed status of the instantiation

Change-Id: Ib8887db09691a109f7b6aae6c1dd14af4bd34955
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: obfuscating vim password
garciadeblas [Thu, 3 May 2018 16:53:41 +0000 (18:53 +0200)]
osm.py: obfuscating vim password

Change-Id: I931aae31c5670990428a3c61c4787a94723d5883
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agofix bug in upload-package with sol005 client
garciadeblas [Thu, 3 May 2018 16:48:12 +0000 (18:48 +0200)]
fix bug in upload-package with sol005 client

Change-Id: I3f2ea5c10bbaad65dcbbc8dcef5614aeb3f70677
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoreturn http_code,data tuple in DELETE operations for sol005 client
garciadeblas [Thu, 3 May 2018 16:46:46 +0000 (18:46 +0200)]
return http_code,data tuple in DELETE operations for sol005 client

Change-Id: I2fd4b6bbf03d2c87edb2133da29ea9fae3ccecd9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: print error message when using vnf-list with --sol005
garciadeblas [Thu, 3 May 2018 16:37:54 +0000 (18:37 +0200)]
osm.py: print error message when using vnf-list with --sol005

Change-Id: Ib3a6b85b409cab098c24243f38ea035650438dc3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: fixed typo when checking client version
garciadeblas [Thu, 3 May 2018 16:36:11 +0000 (18:36 +0200)]
osm.py: fixed typo when checking client version

Change-Id: I63e16fd846b6ccf708396338f3a827a1326603ad
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoAllow ns-creation params: vim-network, multisite deployement
tierno [Fri, 27 Apr 2018 12:35:45 +0000 (14:35 +0200)]
Allow ns-creation params: vim-network, multisite deployement

Change-Id: Id9468e2ec761cac7a4aec70999f681580e9be716
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoosmclient: sol005.ns create now uses datacenter id
garciadeblas [Mon, 23 Apr 2018 15:15:56 +0000 (17:15 +0200)]
osmclient: sol005.ns create now uses datacenter id

Change-Id: I67cb2e6d675974e20404400d6e7a0c0b91557bc3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: fix bug in ns_list for old NB API
garciadeblas [Mon, 23 Apr 2018 12:03:54 +0000 (14:03 +0200)]
osm.py: fix bug in ns_list for old NB API

Change-Id: Ibb70825fc6f960afee462c068b6019389dedbad4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoFix issues with python-magic pip library
garciadeblas [Thu, 19 Apr 2018 13:42:09 +0000 (15:42 +0200)]
Fix issues with python-magic pip library

Change-Id: Ib092e14ba1255de7711fdffe00bdbc4dd9cf4620
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoFix setup.py and stdeb.cfg requirements: python-magic
garciadeblas [Thu, 19 Apr 2018 10:12:17 +0000 (12:12 +0200)]
Fix setup.py and stdeb.cfg requirements: python-magic

Change-Id: I3a09df124ba2cb8ab386507b7298730170e6857e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoosm.py: fix when guessing the fullclassname in check_client_version
garciadeblas [Wed, 18 Apr 2018 15:14:15 +0000 (17:14 +0200)]
osm.py: fix when guessing the fullclassname in check_client_version

Change-Id: I57b8cca1bd64d0ef42616e1df9d657316cf1a3ce
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoFix bug in osmclient when invoking refactored get_key_val_from_pkg
garciadeblas [Wed, 18 Apr 2018 08:31:58 +0000 (10:31 +0200)]
Fix bug in osmclient when invoking refactored get_key_val_from_pkg

Change-Id: I7ae088c64d6e5315488b79b01c418860acdd833c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoSupport of new OSM NB API following SOL005
garciadeblas [Tue, 13 Feb 2018 10:58:29 +0000 (11:58 +0100)]
Support of new OSM NB API following SOL005

Change-Id: I24c990dca544410cf4f9273f56b39250cb44bcfa
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 years agoadd init method for ns_config v3.0.2 v3.0.3
Mike Marchetti [Fri, 24 Nov 2017 15:04:53 +0000 (10:04 -0500)]
add init method for ns_config

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoallow ns config to set vim network name
Mike Marchetti [Mon, 20 Nov 2017 18:24:31 +0000 (13:24 -0500)]
allow ns config to set vim network name

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agodo not add empty config for vim
Mike Marchetti [Wed, 15 Nov 2017 21:22:14 +0000 (16:22 -0500)]
do not add empty config for vim

- empty config will cause RO to fail vim create
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoupdate vim config
Mike Marchetti [Mon, 13 Nov 2017 15:51:42 +0000 (10:51 -0500)]
update vim config

- use yaml for vim config
Change-Id: I3e449b101cca01239472863e1a425b243c33659a
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agobug 376 fix v3.0.0rc14 v3.0.0rc15 v3.0.0rc16 v3.0.0rc17 v3.0.1
Mike Marchetti [Mon, 16 Oct 2017 20:42:44 +0000 (16:42 -0400)]
bug 376 fix

- add option to update ro manually

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agobug 370 bug 364 Use tenant uuid instead of name for RO NBI
tierno [Wed, 11 Oct 2017 12:25:33 +0000 (14:25 +0200)]
bug 370 bug 364 Use tenant uuid instead of name for RO NBI

Change-Id: I92b6a36ee109cfb4c63116e5f4b316e42762dd78
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
7 years agovim-list Fixed. SO needed refresh of the RO Accounts Change 5516 v3.0.0
Anurag Dwivedi [Wed, 4 Oct 2017 18:19:01 +0000 (14:19 -0400)]
vim-list Fixed. SO needed refresh of the RO Accounts Change 5516

Signed-off-by: Anurag Dwivedi <anurag.dwivedi@riftio.com>
7 years agoRBAC Support for OSMCLIENT v3.0.0rc2
Anurag Dwivedi [Mon, 2 Oct 2017 14:15:31 +0000 (10:15 -0400)]
RBAC Support for OSMCLIENT

Signed-off-by: Anurag Dwivedi <anurag.dwivedi@riftio.com>
Change-Id: Iaefb4aa98d66b15e69f7fba399bf0cded82e6610

7 years agoMerge "Addressed review comments for https://osm.etsi.org/gerrit/#/c/2068/" v3.0.0rc
marchettim [Wed, 20 Sep 2017 18:04:40 +0000 (20:04 +0200)]
Merge "Addressed review comments for https://osm.etsi.org/gerrit/#/c/2068/"

7 years agoMerge "Build on jenkins nodes with label docker"
marchettim [Thu, 14 Sep 2017 15:17:53 +0000 (17:17 +0200)]
Merge "Build on jenkins nodes with label docker"

7 years agouse artifactory_server api
Mike Marchetti [Mon, 11 Sep 2017 13:31:43 +0000 (09:31 -0400)]
use artifactory_server api

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoBuild on jenkins nodes with label docker
Wesley Hirsch [Fri, 8 Sep 2017 21:34:15 +0000 (17:34 -0400)]
Build on jenkins nodes with label docker

Change-Id: I07e17d17c74a03314ccbdb5a2a1af08b2ddb5fb9
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
7 years agoAddressed review comments for https://osm.etsi.org/gerrit/#/c/2068/ 40/2140/1
kasar [Fri, 8 Sep 2017 11:28:15 +0000 (04:28 -0700)]
Addressed review comments for https://osm.etsi.org/gerrit/#/c/2068/

Change-Id: Ic9ee082b440a38d42a6efec5763f463abadaf71f
Signed-off-by: kasar <pkasar@vmware.com>
7 years agotest commit to test trigger build 49/2049/1
Mike Marchetti [Thu, 27 Jul 2017 21:00:09 +0000 (17:00 -0400)]
test commit to test trigger build

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agomerge jenkins changes from v2.0 09/2009/1
Mike Marchetti [Wed, 5 Jul 2017 15:54:54 +0000 (11:54 -0400)]
merge jenkins changes from v2.0

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoMerge "Snap packaging"
marchettim [Wed, 21 Jun 2017 19:06:02 +0000 (21:06 +0200)]
Merge "Snap packaging"

7 years agoSnap packaging 56/1956/1
Adam Israel [Wed, 21 Jun 2017 18:08:06 +0000 (14:08 -0400)]
Snap packaging

This commit introduces snap packaging for osmclient.

Snaps are a fancy zip file containing an application and all of its
dependencies, and a description of how it should run safely on a
user's system. This is a multi-distribution alternative to installing from source, or debian package.

Snaps are designed to be secure, sandboxed, containerised applications isolated from the underlying system and from other applications. Snaps allow the safe installation of apps from any vendor on mission critical devices and desktops. Updates are done atomically, rolling back automatically in the case of failure, with support for release channel and series.

More info on snaps can be found here: https://snapcraft.io/

Signed-off-by: Adam Israel <adam.israel@canonical.com>
7 years agoremove specific label, use label from gui 52/1952/1
Mike Marchetti [Tue, 20 Jun 2017 21:14:52 +0000 (17:14 -0400)]
remove specific label, use label from gui

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoAdd fingerprint to archive 46/1946/1
Mike Marchetti [Mon, 19 Jun 2017 20:26:11 +0000 (16:26 -0400)]
Add fingerprint to archive

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoretrieve key/val method from pkg 36/1936/1
Mike Marchetti [Thu, 15 Jun 2017 17:32:23 +0000 (13:32 -0400)]
retrieve key/val method from pkg

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoworkaround for shebang line length issue 30/1930/1
Mike Marchetti [Fri, 9 Jun 2017 15:45:04 +0000 (11:45 -0400)]
workaround for shebang line length issue

jenkins pipeline job created a very long path
shebang line length was exceeded causing python interpreter to not start

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoclean deb/dist directories before build 01/1901/1 v2.0.1
Mike Marchetti [Wed, 31 May 2017 16:06:44 +0000 (12:06 -0400)]
clean deb/dist directories before build

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoutilize tox to build 76/1876/5
Mike Marchetti [Thu, 25 May 2017 15:34:25 +0000 (11:34 -0400)]
utilize tox to build

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

7 years agosimplify build to use docker 69/1869/2
Mike Marchetti [Wed, 24 May 2017 21:30:03 +0000 (17:30 -0400)]
simplify build to use docker

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

7 years agoadd missing nose test requirement 31/1831/1 v2.0.0
Mike Marchetti [Tue, 16 May 2017 14:06:00 +0000 (10:06 -0400)]
add missing nose test requirement

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoadd dockerfile for pipeline, nose 02/1802/1
Mike Marchetti [Tue, 9 May 2017 17:02:32 +0000 (13:02 -0400)]
add dockerfile for pipeline, nose

- ready dockerfile for pipeline
- add nose support for test search
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoremove deprecated file 94/1794/1
Mike Marchetti [Mon, 8 May 2017 20:20:58 +0000 (16:20 -0400)]
remove deprecated file

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoupdate Makefile, pep8, scaling 93/1793/1
Mike Marchetti [Mon, 8 May 2017 20:07:20 +0000 (16:07 -0400)]
update Makefile, pep8, scaling

- updated Makefile for build using virtualenv
- add requirements.txt for testing
- fix pep8 errors
- adding ability to scale an ns

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agorestructure osmclient 63/1763/1
Mike Marchetti [Thu, 4 May 2017 19:06:26 +0000 (15:06 -0400)]
restructure osmclient

- add layering
- add unit tests
- fixup apis for system test usage

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