Discussion:
[Libstoragemgmt-devel] [SCM] libstoragemgmt branch, master, updated. 1.0.0-98-g2b2ba1a
Tony Asleson
2014-12-02 23:31:16 UTC
Permalink
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".

The branch, master has been updated
via 2b2ba1aba3a3e0d07df97a9c630a5f08cdb1f35f (commit)
via ee760335d88bcab035c0f36318d48d56be07121c (commit)
via bdb23a76fac06d7b9c0399390e93d2e4e033153c (commit)
via 48e959938c3192e95ae3be5e869bcaf8183e15ba (commit)
via 309bd89fd0e0c80abc0c8303842fac0b959f0b7f (commit)
via a1182c0ac61061dfb1002663a816d91d9cb50907 (commit)
via 2776bb9b3c2e93551283142e328ba4fd0ff306ab (commit)
via 21db5db8c30fd982b3196e166ea3ffb466ac19ac (commit)
via 2d87e9afaa7fb525274541b73d2c2c359bcbdf4b (commit)
via b931a243ce713552a6ec348f8baa0bb5a71cafe2 (commit)
via f9b7cb1591e7b3980221c762a8fe49dcbf1cb083 (commit)
via 0616c3bf3772dc63d1911f574b7a9bfef092305d (commit)
via 96d8f999eecf74fa28e56f55f0f2846019bfbad7 (commit)
via ef4c7ed102cafa74f867da688496dfb52e9e9a4b (commit)
via 207210fd856162cc64745bfe6f80c2b31d0dc9e1 (commit)
via a0717461adcb4cf8fab953a81975a4a2929e8ddb (commit)
via 95594b649f4b9f868b7c5c3d562461536a3f6478 (commit)
via 49daee91de2b661a8f1609bd01e6352ce8c270c2 (commit)
via 0388c7eed5e409ad93959a821389546fa75e2027 (commit)
via a4f5d55317312015dfe1266eff725e1cc0595559 (commit)
via 99678dc2c62c365e23d1079ec5bcb94864e7dfa5 (commit)
via 38fa4e0e1568e04ae0ec8709a0cda2fe6c177255 (commit)
via d7d959aced1ad94e5fb8359391d2a5dbfec8b9e8 (commit)
via 7873cd4bc6d4e2a8e8a02936263177f59fdf0c95 (commit)
via 069461f63370b662e23c1624d10209a86c31ab39 (commit)
via 1b1d51c395995f9a95b17192d45e740ac2a71cff (commit)
via 9b9743f77b5ffab837c89da458ba8663305b1773 (commit)
from 16290b2ec7a18e60de69590adb67f0067c677743 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b2ba1aba3a3e0d07df97a9c630a5f08cdb1f35f
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:56:07 2014 -0600

plugin_test.py: Add tests for nfs operations

Added calls to:
export_auth
exports
export_fs
export_remove

Signed-off-by: Tony Asleson <***@redhat.com>

commit ee760335d88bcab035c0f36318d48d56be07121c
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:55:04 2014 -0600

plugin_test.py: Add test_fs_depends

Test fs_child_dependency & fs_child_dependency_rm

Signed-off-by: Tony Asleson <***@redhat.com>

commit bdb23a76fac06d7b9c0399390e93d2e4e033153c
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:54:15 2014 -0600

plugin_test.py: Add test_volume_depends

Test volume_child_dependency & volume_child_dependency_rm

Signed-off-by: Tony Asleson <***@redhat.com>

commit 48e959938c3192e95ae3be5e869bcaf8183e15ba
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:52:58 2014 -0600

plugin_test.py: Add test_close

Signed-off-by: Tony Asleson <***@redhat.com>

commit 309bd89fd0e0c80abc0c8303842fac0b959f0b7f
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:52:38 2014 -0600

plugin_test.py: Add test_non_existent_plugin

Signed-off-by: Tony Asleson <***@redhat.com>

commit a1182c0ac61061dfb1002663a816d91d9cb50907
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:52:13 2014 -0600

plugin_test.py: Add test_daemon_not_running

Signed-off-by: Tony Asleson <***@redhat.com>

commit 2776bb9b3c2e93551283142e328ba4fd0ff306ab
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:50:59 2014 -0600

plugin_test.py: Add test_volume_enable_disable

Signed-off-by: Tony Asleson <***@redhat.com>

commit 21db5db8c30fd982b3196e166ea3ffb466ac19ac
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:50:08 2014 -0600

plugin_test.py: Add test_available_plugins

Signed-off-by: Tony Asleson <***@redhat.com>

commit 2d87e9afaa7fb525274541b73d2c2c359bcbdf4b
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:49:12 2014 -0600

plugin_test.py: Test iSCSI initiator add/delete from AG

Signed-off-by: Tony Asleson <***@redhat.com>

commit b931a243ce713552a6ec348f8baa0bb5a71cafe2
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:48:20 2014 -0600

plugin_test.py: Test fs_snapshot_restore

Signed-off-by: Tony Asleson <***@redhat.com>

commit f9b7cb1591e7b3980221c762a8fe49dcbf1cb083
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:47:46 2014 -0600

plugin_test.py: Assert that suitable pool is found

We were silently passing even though we were unable to find a pool to test
fs operations.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 0616c3bf3772dc63d1911f574b7a9bfef092305d
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:46:21 2014 -0600

plugin_test.py: bugfix - volume_child_dependency_rm

The metadata for this method was incorrect.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 96d8f999eecf74fa28e56f55f0f2846019bfbad7
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:44:59 2014 -0600

ontap.py: Check for non-default anon_gid parameter

Signed-off-by: Tony Asleson <***@redhat.com>

commit ef4c7ed102cafa74f867da688496dfb52e9e9a4b
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 15:42:50 2014 -0600

nfs export anon_uid/gid clarification and corrections

The nfs export anonymous uid & gid are suppose to be integers. The command
line was passing None which overrode the python default of -1. This didn't
cause any issues as the plugins were only checking for existence, not value.
However, this did cause a problem if a user called the
API without specifying the uid & gid as the default integer value of -1 caused
the ontap plugin to fail with an exception.

Unfortunately the C API declares the uid & gid as uint64_t so the default value
of -1 gets interpreted as (2**64-1). Thus python plugins should check against
-1 and 18446744073709551615L to see if the argument is == default. They will
get -1 from python clients and 18446744073709551615L from C clients.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 207210fd856162cc64745bfe6f80c2b31d0dc9e1
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 14:23:19 2014 -0600

ontap.py: bugfix - Handle export_path when none

The source documentation lists that if the export_path is None that the
plugin shall create the export path automatically.

Signed-off-by: Tony Asleson <***@redhat.com>

commit a0717461adcb4cf8fab953a81975a4a2929e8ddb
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 14:20:33 2014 -0600

nstor.py: bugfix - Advertise EXPORT_CUSTOM_PATH

Signed-off-by: Tony Asleson <***@redhat.com>

commit 95594b649f4b9f868b7c5c3d562461536a3f6478
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 14:19:45 2014 -0600

ontap.py: bugfix - Advertise DISKS capability

This has been supported for some time, add it.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 49daee91de2b661a8f1609bd01e6352ce8c270c2
Author: Tony Asleson <***@redhat.com>
Date: Mon Dec 1 14:18:15 2014 -0600

_client.py: Remove unused and non-working unit test code

This code does not work and it can't work with the new directory layout
which we have been using for quite a while.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 0388c7eed5e409ad93959a821389546fa75e2027
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 15:20:37 2014 -0600

nstor.py: pep8 cleanup

Signed-off-by: Tony Asleson <***@redhat.com>

commit a4f5d55317312015dfe1266eff725e1cc0595559
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:29:05 2014 -0600

cmdline.py: Remove optional --init argument for volume-mask

Targetd is the only plug-in that doesn't support access groups. We
tried to make this work by faking each initiator to look as a standalone
access group, however this has a number of issues and didn't work as
advertised. As this feature never worked, it cannot have been used
by anyone. We are choosing to remove it and add support for access groups
to targetd and the targetd plugin.

Notes:
* Access group id is now required, not optional
* The underlying API needs no changes
* The man page didn't document this (thus no update)
* Masking is indeed broken and continutes to be broken for targetd
with patches in the works

Signed-off-by: Tony Asleson <***@redhat.com>

commit 99678dc2c62c365e23d1079ec5bcb94864e7dfa5
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:23:01 2014 -0600

_client.py: Bug fix iscsi_chap_auth, iqn validation

Using nonexistant method on AccessGroup. Found when I added tests for
iSCSI authentication testing.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 38fa4e0e1568e04ae0ec8709a0cda2fe6c177255
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:19:14 2014 -0600

simc: Advertise iSCSI auth support

This was supported, it just wasn't added to the capabilities.

Signed-off-by: Tony Asleson <***@redhat.com>

commit d7d959aced1ad94e5fb8359391d2a5dbfec8b9e8
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:18:13 2014 -0600

nstor: Re-enable iSCSI chap authentication

This appears to work, not sure why I disabled it before.

Signed-off-by: Tony Asleson <***@redhat.com>

commit 7873cd4bc6d4e2a8e8a02936263177f59fdf0c95
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:17:21 2014 -0600

plugin_test.py: Add test for iscsi_chap_auth call

Signed-off-by: Tony Asleson <***@redhat.com>

commit 069461f63370b662e23c1624d10209a86c31ab39
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:16:26 2014 -0600

cmdtest.py: Call existing function for CHAP test

Signed-off-by: Tony Asleson <***@redhat.com>

commit 1b1d51c395995f9a95b17192d45e740ac2a71cff
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 13:15:31 2014 -0600

cmdtest.py: Remove unused functions

Signed-off-by: Tony Asleson <***@redhat.com>

commit 9b9743f77b5ffab837c89da458ba8663305b1773
Author: Tony Asleson <***@redhat.com>
Date: Wed Nov 26 10:02:14 2014 -0600

test_hardware.py: Stop providing namespace

The SMI-S plug-in handles the default case of when the namespace is
not supplied in most cases.

Signed-off-by: Tony Asleson <***@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
.../libstoragemgmt/libstoragemgmt_nfsexport.h | 4 +
plugin/nstor/nstor.py | 10 +-
plugin/ontap/na.py | 4 +-
plugin/ontap/ontap.py | 14 ++-
plugin/simc/simc_lsmplugin.c | 1 +
python_binding/lsm/_client.py | 110 +-----------
test/cmdtest.py | 25 +---
test/plugin_test.py | 196 +++++++++++++++++++-
test/webtest/test_hardware.py | 8 +-
tools/lsmcli/cmdline.py | 27 +--
10 files changed, 239 insertions(+), 160 deletions(-)


hooks/post-receive
--
libstoragemgmt
Loading...