Discussion:
unknown
2014-08-05 02:48:46 UTC
Permalink
This patch does just that, thanks Christophe!

V2 by Gris:
I just rebase this patch to master tree by change 43 back to 44 before
applying.

V3: tasleson, Re-work to use -1 instead of an enum to terminate list

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

commit 716f4ee8689d618f9b3ec9ff7828ae8288419a2f
Author: Tony Asleson <***@redhat.com>
Date: Tue Aug 5 10:48:46 2014 +0800

cmdline.py: Check before reference

If we aren't doing the comand 'list', then self.args.type
is not present and we will throw an exception. Check
before use.

This was found when trying to run plugin-info without a uri
set.

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

commit f038135167680eb1e83b7ba0e3bdf0c21a1fb535
Author: Gris Ge <***@redhat.com>
Date: Tue Aug 5 10:48:45 2014 +0800

test: allowing runtest to show log of lsmd

1. Plush STDOUT on every logger call of lsmd daemon.
2. Change lsmd to systemd mode and save output to a tmp log file.
Useful to deubg daemon error and plugin error in OBS build where no way
to check syslog.
3. Fix a trivial typo:
export CK_export CK_FORK=no
4. Removed the 'tab' from runtest.sh which is mixing 'tab' and 'space'

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

commit 49da053e9ba4c6caec6defd61efbea76fc82ee4b
Author: Gris Ge <***@redhat.com>
Date: Tue Aug 5 10:48:44 2014 +0800

rpm spec: fix for OBS build

Enable OBS build:
1. Workaround for OBS bug 864323 by using one-line macro.
2. Move BuildRequires:python-argparse of libstoragemgmt-python to top
package. Required by OBS.
3. Show check log - test-suite.log if failed. Important when facing OBS
build failure. Thanks to Jiri Denemark from libvirt:
http://www.redhat.com/archives/libvir-list/2013-July/msg01834.html

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

commit d07a22983ff8f92f63f119bc28f57662fe0168ea
Author: Tony Asleson <***@redhat.com>
Date: Tue Aug 5 10:48:43 2014 +0800

Remove v7k plugin

This plugin is being removed for the following reasons:

1. No hardware to test it on
2. Plugin is not feature complete
3. SMI-S plugin at this point should offer a better experience
for the user

We can certainly bring it back if needed.

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

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

Summary of changes:
c_binding/include/libstoragemgmt/libstoragemgmt.h | 4 +-
.../include/libstoragemgmt/libstoragemgmt_error.h | 3 +-
.../libstoragemgmt/libstoragemgmt_plug_interface.h | 25 +--
.../include/libstoragemgmt/libstoragemgmt_types.h | 15 +-
c_binding/lsm_datatypes.cpp | 28 +-
c_binding/lsm_datatypes.hpp | 12 -
c_binding/lsm_mgmt.cpp | 6 +-
c_binding/lsm_plugin_ipc.cpp | 6 +-
configure.ac | 15 -
daemon/lsm_daemon.c | 1 +
doc/man/lsmcli.1.in | 49 ++-
packaging/libstoragemgmt.spec.in | 88 ++----
plugin/Makefile.am | 9 -
plugin/ontap/ontap.py | 2 +-
plugin/sim/simarray.py | 9 +-
plugin/simc/simc_lsmplugin.c | 11 +-
plugin/smispy/smis.py | 280 +++++++++-------
plugin/v7k/ibmv7k.py | 364 --------------------
plugin/v7k/v7k_lsmplugin | 36 --
python_binding/lsm/_client.py | 4 +
python_binding/lsm/_common.py | 2 +-
python_binding/lsm/_data.py | 99 +++++-
test/cmdtest.py | 7 +-
test/runtests.sh | 73 ++--
test/tester.c | 86 ++---
tools/lsmcli/cmdline.py | 99 ++++--
tools/lsmcli/data_display.py | 11 +-
27 files changed, 503 insertions(+), 841 deletions(-)
delete mode 100644 plugin/v7k/__init__.py
delete mode 100644 plugin/v7k/ibmv7k.py
delete mode 100755 plugin/v7k/v7k_lsmplugin


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