Tony Asleson
2014-11-21 01:21:25 UTC
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 ad9e6e99071d6b1c32ba88e29674160273305582 (commit)
via f5249a50ed5b0304d16292ef0b0abb82e80439ff (commit)
via 490d398ab361360fd82609db365e4383cbe15691 (commit)
via e1159b3e51b49b11ad24921efa9428a4ced193c0 (commit)
via 715116a0dc8cba1a791bb9db178d459cbbcb4846 (commit)
via bd735d33bb186c875fec5a7d02667cc90da06763 (commit)
via c6d5d1a4dc988883b03b0aaac48e8387ffec4f17 (commit)
via e939e9e671e2b84389f0ca5c9f929596c70fbe99 (commit)
via 6de52737b49cbaa474efb506b10973d085d5cb85 (commit)
from ac5b8ca0ab03c22815a249e6e166ae25fad9897a (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 ad9e6e99071d6b1c32ba88e29674160273305582
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:05 2014 +0800
SMI-S Plugin: PEP8 fix for smis_common.py
* Fixed these PEP8 errors:
smis_common.py:222:19: E121 continuation line indentation is not a multiple
of four
smis_common.py:389:5: E303 too many blank lines (2)
Signed-off-by: Gris Ge <***@redhat.com>
commit f5249a50ed5b0304d16292ef0b0abb82e80439ff
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:04 2014 +0800
SMI-S Plugin: Remove unused methods from SmisCommon
* Removed these methods and properties as they are not used out side of
SmisCommon:
InvokeMethod()
last_request
last_reply
* For SmisCommon internal use of these methods and properties, changed them
to use self._wbem_conn instead.
Signed-off-by: Gris Ge <***@redhat.com>
commit 490d398ab361360fd82609db365e4383cbe15691
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:03 2014 +0800
SMI-S Plugin: Move lsm init_id to SNIA converter
* Replace smis._lsm_init_id_to_snia() with smis_ag.lsm_init_id_to_snia()
Signed-off-by: Gris Ge <***@redhat.com>
commit e1159b3e51b49b11ad24921efa9428a4ced193c0
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:02 2014 +0800
SMI-S Plugin: Remove unused methods from smis.py
* Removed these methods from smis.py since not used by others:
* _lsm_init_type_to_dmtf()
* _get_cim_instance_by_id()
* _cim_class_name_of()
* _not_found_error_of_class()
* _property_list_of_id()
* _sys_id_child()
* _id()
Signed-off-by: Gris Ge <***@redhat.com>
commit 715116a0dc8cba1a791bb9db178d459cbbcb4846
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:01 2014 +0800
SMI-S Plugin: Move cim_init check into smis_ag.py
* Move/Merge smis.Smis._cim_init_path_check_or_create() and
smis.Smis._cim_init_path_create() into
smis_ag.cim_init_path_check_or_create()
Signed-off-by: Gris Ge <***@redhat.com>
commit bd735d33bb186c875fec5a7d02667cc90da06763
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:00 2014 +0800
SMI-S Plugin: Move smis.Smis._init_id() into smis_ag.py
* Replace smis.Smis._init_id() with smis_ag.init_id_of_cim_init()
Signed-off-by: Gris Ge <***@redhat.com>
commit c6d5d1a4dc988883b03b0aaac48e8387ffec4f17
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:59 2014 +0800
SMI-S Plugin: Move job wait method to SmisCommon.
* Replaced Smis._wait_invoke() with SmisCommon.invoke_method_wait().
* Removed Smis._poll() and replace it with SmisCommon.invoke_method_wait().
* Tested on EMC VMAX for access group create/delete, volume mask/unmask,
volume create/delete.
Changes in V2:
* Support debug_path URI parameter in invoke_method_wait().
* Fix typo of utile and retrun.
* More explanation about why we keep invoke_method_wait() along with
invoke_method() in stead of using smis.Smis._poll():
* The SmisCommon.invoke_method_wait() method is different from
invoke_method():
1. The invoke_method() return job_id and require a output handler.
The invoke_method_wait() return a CIMInstanceName which require
key name for output data.
2. The invoke_method() does not wait ASYNC job.
The invoke_method_wait() wait ASYNC job and return CIMInstanceName
via association CIM_AffectedJobElement.
* The invoke_method_wait() was required for actions like this:
1. LSM API require action done on return. Example:
smis.Smis.volume_mask()
2. Inter-action. Example:
smis.Smis.access_group_initiator_add() require cim_init be created
before adding it into cim_spc.
The action of creating cim_init should be done before adding it
into cim_spc.
* The limitation of smis.Smis._poll() compare to invoke_method_wait():
1. _poll() require a job_id which add one extra WBEM call for
converting job id to cim_job.
2. _poll() cannot return CIMInstanceName via association of
CIM_AffectedJobElement.
* Code change status indicate we provide a slightly simpler way to do the
same thing:
147 insertions(+), 177 deletions(-)
Signed-off-by: Gris Ge <***@redhat.com>
commit e939e9e671e2b84389f0ca5c9f929596c70fbe99
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:58 2014 +0800
SMI-S Plugin: Move WBEM xml dump code to _dump_wbem_xml() method.
* Move WBEM xml dump code to smis_common.SmisCommon._dump_wbem_xml() method.
Signed-off-by: Gris Ge <***@redhat.com>
commit 6de52737b49cbaa474efb506b10973d085d5cb85
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:57 2014 +0800
SMI-S Plugin: Move Smis._job_completed_ok to SmisCommon
* Move smis.Smis._job_completed_ok() to
smis_common.SmisCommon.cim_job_completed_ok()
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
plugin/smispy/smis.py | 453 +++++-------------------------------------
plugin/smispy/smis_ag.py | 63 ++++++-
plugin/smispy/smis_common.py | 176 ++++++++++++++---
3 files changed, 262 insertions(+), 430 deletions(-)
hooks/post-receive
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via ad9e6e99071d6b1c32ba88e29674160273305582 (commit)
via f5249a50ed5b0304d16292ef0b0abb82e80439ff (commit)
via 490d398ab361360fd82609db365e4383cbe15691 (commit)
via e1159b3e51b49b11ad24921efa9428a4ced193c0 (commit)
via 715116a0dc8cba1a791bb9db178d459cbbcb4846 (commit)
via bd735d33bb186c875fec5a7d02667cc90da06763 (commit)
via c6d5d1a4dc988883b03b0aaac48e8387ffec4f17 (commit)
via e939e9e671e2b84389f0ca5c9f929596c70fbe99 (commit)
via 6de52737b49cbaa474efb506b10973d085d5cb85 (commit)
from ac5b8ca0ab03c22815a249e6e166ae25fad9897a (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 ad9e6e99071d6b1c32ba88e29674160273305582
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:05 2014 +0800
SMI-S Plugin: PEP8 fix for smis_common.py
* Fixed these PEP8 errors:
smis_common.py:222:19: E121 continuation line indentation is not a multiple
of four
smis_common.py:389:5: E303 too many blank lines (2)
Signed-off-by: Gris Ge <***@redhat.com>
commit f5249a50ed5b0304d16292ef0b0abb82e80439ff
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:04 2014 +0800
SMI-S Plugin: Remove unused methods from SmisCommon
* Removed these methods and properties as they are not used out side of
SmisCommon:
InvokeMethod()
last_request
last_reply
* For SmisCommon internal use of these methods and properties, changed them
to use self._wbem_conn instead.
Signed-off-by: Gris Ge <***@redhat.com>
commit 490d398ab361360fd82609db365e4383cbe15691
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:03 2014 +0800
SMI-S Plugin: Move lsm init_id to SNIA converter
* Replace smis._lsm_init_id_to_snia() with smis_ag.lsm_init_id_to_snia()
Signed-off-by: Gris Ge <***@redhat.com>
commit e1159b3e51b49b11ad24921efa9428a4ced193c0
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:02 2014 +0800
SMI-S Plugin: Remove unused methods from smis.py
* Removed these methods from smis.py since not used by others:
* _lsm_init_type_to_dmtf()
* _get_cim_instance_by_id()
* _cim_class_name_of()
* _not_found_error_of_class()
* _property_list_of_id()
* _sys_id_child()
* _id()
Signed-off-by: Gris Ge <***@redhat.com>
commit 715116a0dc8cba1a791bb9db178d459cbbcb4846
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:01 2014 +0800
SMI-S Plugin: Move cim_init check into smis_ag.py
* Move/Merge smis.Smis._cim_init_path_check_or_create() and
smis.Smis._cim_init_path_create() into
smis_ag.cim_init_path_check_or_create()
Signed-off-by: Gris Ge <***@redhat.com>
commit bd735d33bb186c875fec5a7d02667cc90da06763
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:59:00 2014 +0800
SMI-S Plugin: Move smis.Smis._init_id() into smis_ag.py
* Replace smis.Smis._init_id() with smis_ag.init_id_of_cim_init()
Signed-off-by: Gris Ge <***@redhat.com>
commit c6d5d1a4dc988883b03b0aaac48e8387ffec4f17
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:59 2014 +0800
SMI-S Plugin: Move job wait method to SmisCommon.
* Replaced Smis._wait_invoke() with SmisCommon.invoke_method_wait().
* Removed Smis._poll() and replace it with SmisCommon.invoke_method_wait().
* Tested on EMC VMAX for access group create/delete, volume mask/unmask,
volume create/delete.
Changes in V2:
* Support debug_path URI parameter in invoke_method_wait().
* Fix typo of utile and retrun.
* More explanation about why we keep invoke_method_wait() along with
invoke_method() in stead of using smis.Smis._poll():
* The SmisCommon.invoke_method_wait() method is different from
invoke_method():
1. The invoke_method() return job_id and require a output handler.
The invoke_method_wait() return a CIMInstanceName which require
key name for output data.
2. The invoke_method() does not wait ASYNC job.
The invoke_method_wait() wait ASYNC job and return CIMInstanceName
via association CIM_AffectedJobElement.
* The invoke_method_wait() was required for actions like this:
1. LSM API require action done on return. Example:
smis.Smis.volume_mask()
2. Inter-action. Example:
smis.Smis.access_group_initiator_add() require cim_init be created
before adding it into cim_spc.
The action of creating cim_init should be done before adding it
into cim_spc.
* The limitation of smis.Smis._poll() compare to invoke_method_wait():
1. _poll() require a job_id which add one extra WBEM call for
converting job id to cim_job.
2. _poll() cannot return CIMInstanceName via association of
CIM_AffectedJobElement.
* Code change status indicate we provide a slightly simpler way to do the
same thing:
147 insertions(+), 177 deletions(-)
Signed-off-by: Gris Ge <***@redhat.com>
commit e939e9e671e2b84389f0ca5c9f929596c70fbe99
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:58 2014 +0800
SMI-S Plugin: Move WBEM xml dump code to _dump_wbem_xml() method.
* Move WBEM xml dump code to smis_common.SmisCommon._dump_wbem_xml() method.
Signed-off-by: Gris Ge <***@redhat.com>
commit 6de52737b49cbaa474efb506b10973d085d5cb85
Author: Gris Ge <***@redhat.com>
Date: Thu Nov 20 14:58:57 2014 +0800
SMI-S Plugin: Move Smis._job_completed_ok to SmisCommon
* Move smis.Smis._job_completed_ok() to
smis_common.SmisCommon.cim_job_completed_ok()
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
plugin/smispy/smis.py | 453 +++++-------------------------------------
plugin/smispy/smis_ag.py | 63 ++++++-
plugin/smispy/smis_common.py | 176 ++++++++++++++---
3 files changed, 262 insertions(+), 430 deletions(-)
hooks/post-receive
--
libstoragemgmt
libstoragemgmt