Discussion:
[Libstoragemgmt-devel] [SCM] libstoragemgmt branch, master, updated. 0.1.0-163-g1c0edfa
Tony Asleson
2014-06-02 23:10:20 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 1c0edfa9bac9f81535fe9ddc5baa1c21d09c99cc (commit)
via 56cd68017d38ec3be7bff982ee6e37d673a833bf (commit)
via ed831c5f679dc4227eee5f3b13bc3f865c49611c (commit)
via a2591168ede052431f72ed876f4f86dbce43b33c (commit)
from 4341eaf036ea5929b72149550e29e91d71164f44 (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 1c0edfa9bac9f81535fe9ddc5baa1c21d09c99cc
Author: Gris Ge <***@redhat.com>
Date: Mon Jun 2 18:13:47 2014 +0800

Test: Add search test to cmdtest.py

* Add 'search_test' to test the search feature of query.

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

commit 56cd68017d38ec3be7bff982ee6e37d673a833bf
Author: Gris Ge <***@redhat.com>
Date: Mon Jun 2 18:13:46 2014 +0800

Plugin: add search support to query methods

* Plugins update for search support of query methods.
* Some PEP8 clean up.

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

commit ed831c5f679dc4227eee5f3b13bc3f865c49611c
Author: Gris Ge <***@redhat.com>
Date: Mon Jun 2 18:13:45 2014 +0800

lsmcli: add search support for list command

* Add support of query search into lsmcli 'list' command for these options:
--sys
--pool
--vol
--disk
--ag
--fs
--nfs-export
* Manpage updated with detail support status.

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

commit a2591168ede052431f72ed876f4f86dbce43b33c
Author: Gris Ge <***@redhat.com>
Date: Mon Jun 2 18:13:44 2014 +0800

Python library: add search support to query methods

* Add search support to these methods:
lsm.Client.pools(self, search_key=None, search_value=None, flags=0)
lsm.Client.volumes(self, search_key=None, search_value=None, flags=0)
lsm.Client.disks(self, search_key=None, search_value=None, flags=0)
lsm.Client.access_groups(self, search_key=None, search_value=None, flags=0)
lsm.Client.fs(self, search_key=None, search_value=None, flags=0)
lsm.Client.exports(self, search_key=None, search_value=None, flags=0)

* Add new capabilities:
lsm.Capabilities.POOLS_QUICK_SEARCH
lsm.Capabilities.VOLUMES_QUICK_SEARCH
lsm.Capabilities.DISKS_QUICK_SEARCH
lsm.Capabilities.ACCESS_GROUPS_QUICK_SEARCH
lsm.Capabilities.FS_QUICK_SEARCH
lsm.Capabilities.NFS_EXPORTS_QUICK_SEARCH

* Add new class constant:
lsm.Pool.SUPPORTED_SEARCH_KEYS
lsm.Volume.SUPPORTED_SEARCH_KEYS
lsm.Disk.SUPPORTED_SEARCH_KEYS
lsm.AccessGroup.SUPPORTED_SEARCH_KEYS
lsm.FileSystem.SUPPORTED_SEARCH_KEYS
lsm.NfsExport.SUPPORTED_SEARCH_KEYS

* New ErrorNumber:
lsm.ErrorNumber.UNSUPPORTED_SEARCH_KEY

* New public method:
lsm.search_property(search_key, search_value)
# This is for plugin only.
# It could be much better if we let _pluginrunner.py handle the
# general searching in stead of plugin itself. But that will waive out
# the plugin standalone mode. We can discuss this later.

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

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

Summary of changes:
doc/man/lsmcli.1.in | 29 ++++++++
plugin/nstor/nstor.py | 30 ++++----
plugin/ontap/ontap.py | 44 +++++++-----
plugin/sim/simulator.py | 50 +++++++++----
plugin/smispy/smis.py | 72 ++++++++++---------
plugin/targetd/targetd.py | 22 +++---
plugin/v7k/ibmv7k.py | 15 +++--
python_binding/lsm/__init__.py | 2 +-
python_binding/lsm/_client.py | 44 ++++++++----
python_binding/lsm/_common.py | 4 +
python_binding/lsm/_data.py | 21 +++++-
python_binding/lsm/_iplugin.py | 10 ++--
python_binding/lsm/_pluginrunner.py | 11 +++
test/cmdtest.py | 50 ++++++++++++++
tools/lsmcli/cmdline.py | 129 +++++++++++++++++++++++++++++++----
15 files changed, 395 insertions(+), 138 deletions(-)


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