osm/osmclient.git
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>
7 years agoinitial commit 90/1590/1
Mike Marchetti [Wed, 19 Apr 2017 16:42:34 +0000 (12:42 -0400)]
initial commit

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
7 years agoInitial empty repository
almagia [Wed, 19 Apr 2017 15:20:13 +0000 (17:20 +0200)]
Initial empty repository