Discussion:
[Libstoragemgmt-devel] [SCM] libstoragemgmt branch, master, updated. 0.1.0-26-g7eb0706
Tony Asleson
2014-07-24 21:04:40 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 7eb070642823fcb6f020a783d8c4a37c31796e3a (commit)
via c3d7bc6677d57b8c48d9d1d0ee7633edc2c61f16 (commit)
via f853e5490df13d56669f88fc7d5412f04c54729a (commit)
via 6d5959e7c66dfab09d2cad2cdfaed831d18b9d69 (commit)
via 3ec0aba34daab03fb44d94331b5cde688ab476e0 (commit)
via 369e66bc81bf924781a71bd66a95d10b01bd280d (commit)
via a33835d49b5d5722678637d2636c54ee748ab5d6 (commit)
via 27d07afd4b6df4bfbb69d9f15d77a6da35e4f892 (commit)
via a83785c65544ae4fde7d53fb1ed1c5b0c246c33a (commit)
via 37a47661270015ba072fcfe8e0143a4b5f718a04 (commit)
via fe34313dd6ff608db0ebf92a8fca11ee7869a95d (commit)
via 7d0fb98131870cd6568ddc7f6f8eda3fb610949f (commit)
via 692ac22fca7d8bbe47dfc8d77acfe2631969fa2f (commit)
from 51f1d823c2ba9b510cde1e261457dc1f93b3f400 (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 7eb070642823fcb6f020a783d8c4a37c31796e3a
Author: Tony Asleson <***@redhat.com>
Date: Thu Jul 24 15:59:34 2014 -0500

cmdline.py: Remove shadowing variable

sys was used in an outer scope which could cause future
problems if we renamed local and forgot an instance. Then
we would have the case where the global scope was being
used instead of the local.

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

commit c3d7bc6677d57b8c48d9d1d0ee7633edc2c61f16
Author: Tony Asleson <***@redhat.com>
Date: Thu Jul 24 15:58:18 2014 -0500

ontap.py: Fix variable in error msg

If we didn't find the access group then g will be None
and we will be unable to do g.name.

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

commit f853e5490df13d56669f88fc7d5412f04c54729a
Author: Tony Asleson <***@redhat.com>
Date: Thu Jul 24 15:57:05 2014 -0500

C API: lsm_access_group_create, take system not system_id

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

commit 6d5959e7c66dfab09d2cad2cdfaed831d18b9d69
Author: Gris Ge <***@redhat.com>
Date: Thu Jul 24 20:20:42 2014 +0800

Plugins: Use lsm.System instead of system_id in access_group_create()

Updated this plugins for access_group_create() changes of system_id:

nstor
ontap
sim

Signed-off-by: Gris Ge <***@redhat.com>

commit 3ec0aba34daab03fb44d94331b5cde688ab476e0
Author: Gris Ge <***@redhat.com>
Date: Thu Jul 24 20:20:41 2014 +0800

lsmcli: Use lsm.System instead of system_id in access_group_create()

Use lsm.System instead of system_id in access_group_create().

Signed-off-by: Gris Ge <***@redhat.com>

commit 369e66bc81bf924781a71bd66a95d10b01bd280d
Author: Gris Ge <***@redhat.com>
Date: Thu Jul 24 20:20:40 2014 +0800

Python library: Use lsm.System instead of system_id in access_group_create()

Use lsm.System instead of system_id in access_group_create().
Just be the same with volume_create().

Signed-off-by: Gris Ge <***@redhat.com>

commit a33835d49b5d5722678637d2636c54ee748ab5d6
Author: Gris Ge <***@redhat.com>
Date: Wed Jul 23 21:06:57 2014 +0800

test: Rename LSM_ERR_INTERNAL_ERROR to LSM_ERR_LIB_BUG

LSM_ERR_INTERNAL_ERROR has been renamed to LSM_ERR_LIB_BUG in C library.
Hence we update the test.

Signed-off-by: Gris Ge <***@redhat.com>

commit 27d07afd4b6df4bfbb69d9f15d77a6da35e4f892
Author: Gris Ge <***@redhat.com>
Date: Wed Jul 23 21:06:56 2014 +0800

Plugins: Use new bug indication error numbers

Update plugins to use LSM_PLUGIN_BUG instead of INTERNAL_ERROR or LSM_BUG.

Signed-off-by: Gris Ge <***@redhat.com>

commit a83785c65544ae4fde7d53fb1ed1c5b0c246c33a
Author: Gris Ge <***@redhat.com>
Date: Wed Jul 23 21:06:55 2014 +0800

C library: Better error numbers to indicate bugs

Renamed:
LSM_ERR_INTERNAL_ERROR -> LSM_ERR_LIB_BUG

Added:
LSM_ERR_PLUGIN_BUG = 2
LSM_ERR_STORAGE_SDK_BUG = 3

Description:
* LSM_ERR_LIB_BUG
# Indicate bugs in libstoragemgmt library codes.
# For example: _client.py, _common.py and etc
* LSM_ERR_PLUGIN_BUG
# Indicate a bug in plugin codes.
* LSM_ERR_STORAGE_SDK_BUG
# Indicate a storage SDK bug.
# For example: storage SDK is misbehaving against their documents.
# Known storage SDK bug, need a storage SDK upgrade.

Signed-off-by: Gris Ge <***@redhat.com>

commit 37a47661270015ba072fcfe8e0143a4b5f718a04
Author: Gris Ge <***@redhat.com>
Date: Wed Jul 23 21:06:54 2014 +0800

Python library: Better error numbers to indicate bugs

Renamed:
INTERNAL_ERROR -> LSM_LIB_BUG
LSM_BUG -> LSM_PLUGIN_BUG

Added:
LSM_STORAGE_SDK_BUG = 3

Description:
* LSM_LIB_BUG
# Indicate bugs in libstoragemgmt library codes.
# For example: _client.py, _common.py and etc
* LSM_PLUGIN_BUG
# Indicate a bug in plugin codes.
* LSM_STORAGE_SDK_BUG
# Indicate a storage SDK bug.
# For example: storage SDK is misbehaving against their documents.
# Known storage SDK bug, need a storage SDK upgrade.

Signed-off-by: Gris Ge <***@redhat.com>

commit fe34313dd6ff608db0ebf92a8fca11ee7869a95d
Author: Tony Asleson <***@redhat.com>
Date: Mon Jul 21 17:47:44 2014 -0500

nstor: Duplicate code removal

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

commit 7d0fb98131870cd6568ddc7f6f8eda3fb610949f
Author: Tony Asleson <***@redhat.com>
Date: Mon Jul 21 16:56:44 2014 -0400

PY: Do deep copy on access group modifications

If we return a reference to the one passed in, the user could
potentially run into issues as changes to one would show up in
the other which would be unexpected.

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

commit 692ac22fca7d8bbe47dfc8d77acfe2631969fa2f
Author: Tony Asleson <***@redhat.com>
Date: Fri Jul 18 14:00:47 2014 -0500

nstor: Remove commented out non-existant constant

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

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

Summary of changes:
c_binding/include/libstoragemgmt/libstoragemgmt.h | 4 +-
.../include/libstoragemgmt/libstoragemgmt_error.h | 4 +-
.../libstoragemgmt/libstoragemgmt_plug_interface.h | 4 +-
c_binding/lsm_convert.cpp | 4 +-
c_binding/lsm_datatypes.cpp | 4 +-
c_binding/lsm_mgmt.cpp | 72 ++++++++++---------
c_binding/lsm_plugin_ipc.cpp | 35 ++++++----
plugin/nstor/nstor.py | 42 +++++------
plugin/ontap/ontap.py | 19 +++--
plugin/sim/simarray.py | 4 +-
plugin/sim/simulator.py | 4 +-
plugin/simc/simc_lsmplugin.c | 5 +-
plugin/smispy/smis.py | 34 +++++-----
plugin/targetd/targetd.py | 2 +-
python_binding/lsm/_client.py | 4 +-
python_binding/lsm/_common.py | 5 +-
python_binding/lsm/_iplugin.py | 2 +-
test/tester.c | 56 ++++++++++-----
tools/lsmcli/cmdline.py | 3 +-
19 files changed, 172 insertions(+), 135 deletions(-)


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