Discussion:
[Libstoragemgmt-devel] [SCM] libstoragemgmt branch, master, updated. 0.1.0-93-g33305d6
Tony Asleson
2014-08-20 15:37:00 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 33305d6dc275b6a8819a968849a9908b933fbcac (commit)
via df52ce67f9958db90f3eb8592d07abc0a49e20ac (commit)
via e0eca7e17677929fb10569d6025ea02e1ec34c90 (commit)
via 826333a3e186a07560b4a22d0a7b00b4253f99cd (commit)
via a6e454ead811ee9b7867161195eadba931c0ef77 (commit)
from da726648a159babfa511d9dd14ec2a783f90aa83 (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 33305d6dc275b6a8819a968849a9908b933fbcac
Author: Tony Asleson <***@redhat.com>
Date: Tue Aug 19 18:25:03 2014 -0500

PY & C: Re-work return codes

Reduced the number of return codes and replaced with

NAME_CONFLICT == item with name already exists
NO_STATE_CHANGE == requested operation did nothing

This patch is incomplete as I want to introduce unit tests in the
plug_test.py which exercise all these error paths to ensure that
each of the plug-ins are working as expected.

make check runs clean, but NetApp, Nstor and SMI-S will need
improvements.

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

commit df52ce67f9958db90f3eb8592d07abc0a49e20ac
Author: Tony Asleson <***@redhat.com>
Date: Tue Aug 19 16:58:54 2014 -0500

simc plugin: Remove un-used code

This no longer needed with pool create/delete functionality
removed.

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

commit e0eca7e17677929fb10569d6025ea02e1ec34c90
Author: Tony Asleson <***@redhat.com>
Date: Mon Aug 18 18:19:28 2014 -0500

ontap.py: Use just logical unit name with no path

Using the full path and name for the name is an implementation
detail. Changed to just using name and the plugin_data storing
the full path and name instead.

Also fixed a bug where the pool id for the volumes was incorrect. It
always showed the id for the aggregate that the NetApp volume was on.
Fixed this and I also changed so we wouldn't display the NetApp volume
that gets created if a user decides to create a logical unit on an aggregate
instead of selecting a pool that is a NetApp volume (fs). This was done so
that when the user passes the base aggregate, the newly created lsm volume
pool id would match the one passed in, not some NetApp volume that was
created as a container to house the newly created logical volume.

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

commit 826333a3e186a07560b4a22d0a7b00b4253f99cd
Author: Tony Asleson <***@redhat.com>
Date: Thu Aug 14 13:51:12 2014 -0500

C & PY API: access_group_initiator_[add|delete] V2

For the initiator add we use both initiator id (string) and an
enumerated initiator type.

For the initiator delete we use just initiator id.

This patch makes the delete match the add. I also added a
validation check for the initiator id in the delete.

V2: Update plugin_test.py

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

plugin_test.py: Correct for signature change

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

commit a6e454ead811ee9b7867161195eadba931c0ef77
Author: Tony Asleson <***@redhat.com>
Date: Thu Aug 14 11:40:06 2014 -0500

tester.c: Add test for URI with no path

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

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

Summary of changes:
c_binding/include/libstoragemgmt/libstoragemgmt.h | 2 +
.../include/libstoragemgmt/libstoragemgmt_error.h | 13 +---
.../libstoragemgmt/libstoragemgmt_plug_interface.h | 2 +
c_binding/lsm_mgmt.cpp | 16 +++-
c_binding/lsm_plugin_ipc.cpp | 8 ++-
plugin/nstor/nstor.py | 3 +-
plugin/ontap/na.py | 28 +++++++-
plugin/ontap/ontap.py | 60 +++++++++-------
plugin/sim/simarray.py | 67 +++++++++++++++---
plugin/sim/simulator.py | 6 +-
plugin/simc/simc_lsmplugin.c | 36 +++-------
plugin/smispy/eseries.py | 3 +-
plugin/smispy/smis.py | 5 +-
python_binding/lsm/_client.py | 6 +-
python_binding/lsm/_common.py | 10 +--
python_binding/lsm/_iplugin.py | 2 +-
test/plugin_test.py | 76 ++++++++++++++++----
test/tester.c | 65 +++++++++++------
tools/lsmcli/cmdline.py | 3 +-
19 files changed, 279 insertions(+), 132 deletions(-)


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