Tony Asleson
2014-06-10 19:10:51 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 b011428eb852674ad4865d49aff58cfad0261092 (commit)
via 34b91945d947847dab8f44b0d3ee51afed813eba (commit)
via 0fd6dc69b8199796fe5b18f4ca4f874cb3f915a5 (commit)
via d0ece1b997d108d26baff7ce5edbffa1a5ca5195 (commit)
via 61c5c30abc5d733a788186e0cb98e78d9efed07d (commit)
via 0216e2899796f7015be0fb7b31af4f56be28bb21 (commit)
via 4c8b1159dbdb8a4230427a2026ebeacf7817b37a (commit)
via 646df70d0e2e925b80158d0819326855628c615a (commit)
via 232ee46b9e9e3903ed02c8743e059a0ff77f0bc1 (commit)
via aa32b50ba0d305704740551c2b020ffe059f0efc (commit)
via 0d5b64355d1b138c0ddd89df3a4c3650a6af216c (commit)
via 4c18141cd7c4a3f755c31e9d0692be7a9943ce7f (commit)
via 2ff7894130f32a8c00d4b85f275743efc1f97701 (commit)
via 9a7abfb2e2709bc73b68ddc7d95726e21db51fed (commit)
via d8c683b3882bbdb51593c2ba770d3984adff2858 (commit)
via 8b459ae39311662bb3e8fb354eb094260f03b90b (commit)
via 9366910347027396d09cf6993247abda72fd99d3 (commit)
from 97eb48cf32e0310f97633b5589b181b5b9d424bd (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 b011428eb852674ad4865d49aff58cfad0261092
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:27 2014 +0800
C and Python library: Changes on lsm.Disk
* Added constants:
* Python
* lsm.Disk.DISK_TYPE_LUN
* lsm.Pool.MEMBER_TYPE_DISK_LUN
# Using remote LUN to create pool is not "Volume Pool" of LSM.
# The "Volume Pool" is defined as "Pool created from local volumes"
* C
* LSM_DISK_TYPE_LUN
* LSM_DISK_TYPE_NL_SAS
* LSM_DISK_TYPE_HDD
* LSM_DISK_TYPE_SSD
* LSM_DISK_TYPE_HYBRID
* LSM_DISK_BLOCK_SIZE_NOT_FOUND
* LSM_DISK_BLOCK_COUNT_NOT_FOUND
* LSM_POOL_MEMBER_TYPE_DISK_LUN
* Removed constants:
* lsm.Disk.STATUS_RECONSTRUCTING (Python)
* LSM_DISK_STATUS_RECONSTRUCTING (C)
# Disk should not holding status of a pool. The lsm.Disk.status should
# only containing physical health of itself.
* Removed optional properties:
* status_info
# Not needed.
* owner_ctrler_id
# Not needed.
* Removed private method:
lsm.Disk._value_convert()
# Replaced by lsm.lsmcli.DataDisplay
* Synced ONTAP plugin for these changes.
* Synced lsmcli for these changes.
* "make check" passed.
Signed-off-by: Gris Ge <***@redhat.com>
commit 34b91945d947847dab8f44b0d3ee51afed813eba
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:26 2014 +0800
lsmcli: Revert argument back to "-o, --optional"
* Revert back to "-o, --optional" lsmcli argument.
* Update manpage warning user:
Due to console text width limitation(78), NOT all mandatory properties will
be displayed in column way(default display way). But all mandatory
properties will be displayed in script way. When with "-o, --optional",
both mandatory properties and optional properties will be displayed.
* If "-o, --optional" is defined, the display method will be forced as
script way due to console text width limitation.
* The lsmcli test has been updated also for this change.
Signed-off-by: Gris Ge <***@redhat.com>
commit 0fd6dc69b8199796fe5b18f4ca4f874cb3f915a5
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:25 2014 +0800
cmdtest.py: Add a simple optional data query test
* Add a pretty simple optional data query test to cmdtest.py.
Signed-off-by: Gris Ge <***@redhat.com>
commit d0ece1b997d108d26baff7ce5edbffa1a5ca5195
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:24 2014 +0800
lsmcli: Fix optional property displaying
* Fix the problem when returned object missing some optional properties.
Signed-off-by: Gris Ge <***@redhat.com>
commit 61c5c30abc5d733a788186e0cb98e78d9efed07d
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:23 2014 +0800
lsmcli: Sync with FLAG_RETRIEVE_FULL_INFO changes
* lsmcli: Sync with FLAG_RETRIEVE_FULL_INFO changes
Signed-off-by: Gris Ge <***@redhat.com>
commit 0216e2899796f7015be0fb7b31af4f56be28bb21
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:22 2014 +0800
Plugins: Sync with FLAG_RETRIEVE_FULL_INFO changes
* The 'flags' argument of query methods is now a bitmap. We change plugin
to use '&' instead of '=='.
* Sync plugins with FLAG_RETRIEVE_FULL_INFO changes.
Signed-off-by: Gris Ge <***@redhat.com>
commit 4c8b1159dbdb8a4230427a2026ebeacf7817b37a
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:21 2014 +0800
C & Python Libaray: Add FLAG_RETRIEVE_FULL_INFO for query
* Python, added these constants:
System.FLAG_RETRIEVE_FULL_INFO
Pool.FLAG_RETRIEVE_FULL_INFO
# This is a rename.
Volume.FLAG_RETRIEVE_FULL_INFO
Disk.FLAG_RETRIEVE_FULL_INFO
# This is a rename and value change from 2 to '1 << 0'
AccessGroup.FLAG_RETRIEVE_FULL_INFO
FileSystem.FLAG_RETRIEVE_FULL_INFO
NfsExport.FLAG_RETRIEVE_FULL_INFO
FsSnapshot.FLAG_RETRIEVE_FULL_INFO
* C, added these constants:
LSM_SYSTEM_FLAG_RETRIEVE_FULL_INFO
LSM_POOL_FLAG_RETRIEVE_FULL_INFO
LSM_VOLUME_FLAG_RETRIEVE_FULL_INFO
LSM_DISK_FLAG_RETRIEVE_FULL_INFO
LSM_ACCESS_GROUP_FLAG_RETRIEVE_FULL_INFO
LSM_FS_FLAG_RETRIEVE_FULL_INFO
LSM_NFS_FLAG_RETRIEVE_FULL_INFO
LSM_FS_SNAPSHOT_FLAG_RETRIEVE_FULL_INFO
* Remove LSM_FLAG_UNUSED_CHECK for query methods in C library.
Signed-off-by: Gris Ge <***@redhat.com>
commit 646df70d0e2e925b80158d0819326855628c615a
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 16:49:51 2014 -0500
lsm_datatypes.h: Re-move unused structure.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 232ee46b9e9e3903ed02c8743e059a0ff77f0bc1
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 16:49:06 2014 -0500
C API & PY: Add plugin_data/optional_data to FS Snapshot
Signed-off-by: Tony Asleson <***@redhat.com>
commit aa32b50ba0d305704740551c2b020ffe059f0efc
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 14:21:03 2014 -0500
lsm_uri_parse: Fix memory leak
Signed-off-by: Tony Asleson <***@redhat.com>
commit 0d5b64355d1b138c0ddd89df3a4c3650a6af216c
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 11:54:18 2014 -0500
lsm_convert.cpp: Remove duplicate code
Signed-off-by: Tony Asleson <***@redhat.com>
commit 4c18141cd7c4a3f755c31e9d0692be7a9943ce7f
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 18:17:01 2014 -0500
C API & PY: Add plugin_data/optional_data to Systems
Signed-off-by: Tony Asleson <***@redhat.com>
commit 2ff7894130f32a8c00d4b85f275743efc1f97701
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 17:50:41 2014 -0500
C API & PY: Add plugin_data/optional_data to NfsExports
Signed-off-by: Tony Asleson <***@redhat.com>
commit 9a7abfb2e2709bc73b68ddc7d95726e21db51fed
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 16:55:30 2014 -0500
C API: Remove duplicate & un-used fs structure
Not sure how this managed to stay in the code base
without anyone noticing, including myself.
Signed-off-by: Tony Asleson <***@redhat.com>
commit d8c683b3882bbdb51593c2ba770d3984adff2858
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 15:41:24 2014 -0500
C API & PY: Add plugin_data/optional_data to FileSystem
Signed-off-by: Tony Asleson <***@redhat.com>
commit 8b459ae39311662bb3e8fb354eb094260f03b90b
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 13:03:29 2014 -0500
C API & PY: Add plugin_data/optional_data to Volumes
Signed-off-by: Tony Asleson <***@redhat.com>
commit 9366910347027396d09cf6993247abda72fd99d3
Author: Tony Asleson <***@redhat.com>
Date: Thu Jun 5 17:58:05 2014 -0500
C API & PY: Add plugin_data/optional_data to Pools V2
Python had optional_data, but C did not.
Note: The optional_data for python was retaining the value
type. The C version requires that the value is always a
string, so I needed to put in changes to convert everything
to a string and convert things to numeric values when needed.
If we require this ability we will should probably store the
value in C with some type of variant structure and provide
functions to determine what type it is and then have a function
that will return it in that form.
V2: Remove debug code in simulator plugin
Signed-off-by: Tony Asleson <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
c_binding/include/libstoragemgmt/libstoragemgmt.h | 33 ++--
.../include/libstoragemgmt/libstoragemgmt_fs.h | 6 +
.../libstoragemgmt/libstoragemgmt_nfsexport.h | 32 +++-
.../libstoragemgmt/libstoragemgmt_plug_interface.h | 85 ++++++++-
.../include/libstoragemgmt/libstoragemgmt_pool.h | 7 +
.../libstoragemgmt/libstoragemgmt_snapshot.h | 7 +
.../libstoragemgmt/libstoragemgmt_systems.h | 9 +-
.../include/libstoragemgmt/libstoragemgmt_types.h | 68 ++++++-
.../libstoragemgmt/libstoragemgmt_volumes.h | 8 +
c_binding/lsm_convert.cpp | 109 ++++++++----
c_binding/lsm_datatypes.cpp | 193 ++++++++++++++++----
c_binding/lsm_datatypes.hpp | 72 ++++----
c_binding/lsm_mgmt.cpp | 16 +-
c_binding/lsm_plugin_ipc.cpp | 16 +-
doc/man/lsmcli.1.in | 13 +-
plugin/ontap/ontap.py | 14 +-
plugin/sim/simarray.py | 10 +-
plugin/simc/simc_lsmplugin.c | 20 +-
plugin/smispy/smis.py | 12 +-
python_binding/lsm/_client.py | 4 +-
python_binding/lsm/_data.py | 162 +++++++----------
test/cmdtest.py | 21 ++-
test/tester.c | 14 +-
tools/lsmcli/cmdline.py | 55 ++++---
tools/lsmcli/data_display.py | 13 +-
25 files changed, 666 insertions(+), 333 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 b011428eb852674ad4865d49aff58cfad0261092 (commit)
via 34b91945d947847dab8f44b0d3ee51afed813eba (commit)
via 0fd6dc69b8199796fe5b18f4ca4f874cb3f915a5 (commit)
via d0ece1b997d108d26baff7ce5edbffa1a5ca5195 (commit)
via 61c5c30abc5d733a788186e0cb98e78d9efed07d (commit)
via 0216e2899796f7015be0fb7b31af4f56be28bb21 (commit)
via 4c8b1159dbdb8a4230427a2026ebeacf7817b37a (commit)
via 646df70d0e2e925b80158d0819326855628c615a (commit)
via 232ee46b9e9e3903ed02c8743e059a0ff77f0bc1 (commit)
via aa32b50ba0d305704740551c2b020ffe059f0efc (commit)
via 0d5b64355d1b138c0ddd89df3a4c3650a6af216c (commit)
via 4c18141cd7c4a3f755c31e9d0692be7a9943ce7f (commit)
via 2ff7894130f32a8c00d4b85f275743efc1f97701 (commit)
via 9a7abfb2e2709bc73b68ddc7d95726e21db51fed (commit)
via d8c683b3882bbdb51593c2ba770d3984adff2858 (commit)
via 8b459ae39311662bb3e8fb354eb094260f03b90b (commit)
via 9366910347027396d09cf6993247abda72fd99d3 (commit)
from 97eb48cf32e0310f97633b5589b181b5b9d424bd (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 b011428eb852674ad4865d49aff58cfad0261092
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:27 2014 +0800
C and Python library: Changes on lsm.Disk
* Added constants:
* Python
* lsm.Disk.DISK_TYPE_LUN
* lsm.Pool.MEMBER_TYPE_DISK_LUN
# Using remote LUN to create pool is not "Volume Pool" of LSM.
# The "Volume Pool" is defined as "Pool created from local volumes"
* C
* LSM_DISK_TYPE_LUN
* LSM_DISK_TYPE_NL_SAS
* LSM_DISK_TYPE_HDD
* LSM_DISK_TYPE_SSD
* LSM_DISK_TYPE_HYBRID
* LSM_DISK_BLOCK_SIZE_NOT_FOUND
* LSM_DISK_BLOCK_COUNT_NOT_FOUND
* LSM_POOL_MEMBER_TYPE_DISK_LUN
* Removed constants:
* lsm.Disk.STATUS_RECONSTRUCTING (Python)
* LSM_DISK_STATUS_RECONSTRUCTING (C)
# Disk should not holding status of a pool. The lsm.Disk.status should
# only containing physical health of itself.
* Removed optional properties:
* status_info
# Not needed.
* owner_ctrler_id
# Not needed.
* Removed private method:
lsm.Disk._value_convert()
# Replaced by lsm.lsmcli.DataDisplay
* Synced ONTAP plugin for these changes.
* Synced lsmcli for these changes.
* "make check" passed.
Signed-off-by: Gris Ge <***@redhat.com>
commit 34b91945d947847dab8f44b0d3ee51afed813eba
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:26 2014 +0800
lsmcli: Revert argument back to "-o, --optional"
* Revert back to "-o, --optional" lsmcli argument.
* Update manpage warning user:
Due to console text width limitation(78), NOT all mandatory properties will
be displayed in column way(default display way). But all mandatory
properties will be displayed in script way. When with "-o, --optional",
both mandatory properties and optional properties will be displayed.
* If "-o, --optional" is defined, the display method will be forced as
script way due to console text width limitation.
* The lsmcli test has been updated also for this change.
Signed-off-by: Gris Ge <***@redhat.com>
commit 0fd6dc69b8199796fe5b18f4ca4f874cb3f915a5
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:25 2014 +0800
cmdtest.py: Add a simple optional data query test
* Add a pretty simple optional data query test to cmdtest.py.
Signed-off-by: Gris Ge <***@redhat.com>
commit d0ece1b997d108d26baff7ce5edbffa1a5ca5195
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:24 2014 +0800
lsmcli: Fix optional property displaying
* Fix the problem when returned object missing some optional properties.
Signed-off-by: Gris Ge <***@redhat.com>
commit 61c5c30abc5d733a788186e0cb98e78d9efed07d
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:23 2014 +0800
lsmcli: Sync with FLAG_RETRIEVE_FULL_INFO changes
* lsmcli: Sync with FLAG_RETRIEVE_FULL_INFO changes
Signed-off-by: Gris Ge <***@redhat.com>
commit 0216e2899796f7015be0fb7b31af4f56be28bb21
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:22 2014 +0800
Plugins: Sync with FLAG_RETRIEVE_FULL_INFO changes
* The 'flags' argument of query methods is now a bitmap. We change plugin
to use '&' instead of '=='.
* Sync plugins with FLAG_RETRIEVE_FULL_INFO changes.
Signed-off-by: Gris Ge <***@redhat.com>
commit 4c8b1159dbdb8a4230427a2026ebeacf7817b37a
Author: Gris Ge <***@redhat.com>
Date: Tue Jun 10 16:52:21 2014 +0800
C & Python Libaray: Add FLAG_RETRIEVE_FULL_INFO for query
* Python, added these constants:
System.FLAG_RETRIEVE_FULL_INFO
Pool.FLAG_RETRIEVE_FULL_INFO
# This is a rename.
Volume.FLAG_RETRIEVE_FULL_INFO
Disk.FLAG_RETRIEVE_FULL_INFO
# This is a rename and value change from 2 to '1 << 0'
AccessGroup.FLAG_RETRIEVE_FULL_INFO
FileSystem.FLAG_RETRIEVE_FULL_INFO
NfsExport.FLAG_RETRIEVE_FULL_INFO
FsSnapshot.FLAG_RETRIEVE_FULL_INFO
* C, added these constants:
LSM_SYSTEM_FLAG_RETRIEVE_FULL_INFO
LSM_POOL_FLAG_RETRIEVE_FULL_INFO
LSM_VOLUME_FLAG_RETRIEVE_FULL_INFO
LSM_DISK_FLAG_RETRIEVE_FULL_INFO
LSM_ACCESS_GROUP_FLAG_RETRIEVE_FULL_INFO
LSM_FS_FLAG_RETRIEVE_FULL_INFO
LSM_NFS_FLAG_RETRIEVE_FULL_INFO
LSM_FS_SNAPSHOT_FLAG_RETRIEVE_FULL_INFO
* Remove LSM_FLAG_UNUSED_CHECK for query methods in C library.
Signed-off-by: Gris Ge <***@redhat.com>
commit 646df70d0e2e925b80158d0819326855628c615a
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 16:49:51 2014 -0500
lsm_datatypes.h: Re-move unused structure.
Signed-off-by: Tony Asleson <***@redhat.com>
commit 232ee46b9e9e3903ed02c8743e059a0ff77f0bc1
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 16:49:06 2014 -0500
C API & PY: Add plugin_data/optional_data to FS Snapshot
Signed-off-by: Tony Asleson <***@redhat.com>
commit aa32b50ba0d305704740551c2b020ffe059f0efc
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 14:21:03 2014 -0500
lsm_uri_parse: Fix memory leak
Signed-off-by: Tony Asleson <***@redhat.com>
commit 0d5b64355d1b138c0ddd89df3a4c3650a6af216c
Author: Tony Asleson <***@redhat.com>
Date: Mon Jun 9 11:54:18 2014 -0500
lsm_convert.cpp: Remove duplicate code
Signed-off-by: Tony Asleson <***@redhat.com>
commit 4c18141cd7c4a3f755c31e9d0692be7a9943ce7f
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 18:17:01 2014 -0500
C API & PY: Add plugin_data/optional_data to Systems
Signed-off-by: Tony Asleson <***@redhat.com>
commit 2ff7894130f32a8c00d4b85f275743efc1f97701
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 17:50:41 2014 -0500
C API & PY: Add plugin_data/optional_data to NfsExports
Signed-off-by: Tony Asleson <***@redhat.com>
commit 9a7abfb2e2709bc73b68ddc7d95726e21db51fed
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 16:55:30 2014 -0500
C API: Remove duplicate & un-used fs structure
Not sure how this managed to stay in the code base
without anyone noticing, including myself.
Signed-off-by: Tony Asleson <***@redhat.com>
commit d8c683b3882bbdb51593c2ba770d3984adff2858
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 15:41:24 2014 -0500
C API & PY: Add plugin_data/optional_data to FileSystem
Signed-off-by: Tony Asleson <***@redhat.com>
commit 8b459ae39311662bb3e8fb354eb094260f03b90b
Author: Tony Asleson <***@redhat.com>
Date: Fri Jun 6 13:03:29 2014 -0500
C API & PY: Add plugin_data/optional_data to Volumes
Signed-off-by: Tony Asleson <***@redhat.com>
commit 9366910347027396d09cf6993247abda72fd99d3
Author: Tony Asleson <***@redhat.com>
Date: Thu Jun 5 17:58:05 2014 -0500
C API & PY: Add plugin_data/optional_data to Pools V2
Python had optional_data, but C did not.
Note: The optional_data for python was retaining the value
type. The C version requires that the value is always a
string, so I needed to put in changes to convert everything
to a string and convert things to numeric values when needed.
If we require this ability we will should probably store the
value in C with some type of variant structure and provide
functions to determine what type it is and then have a function
that will return it in that form.
V2: Remove debug code in simulator plugin
Signed-off-by: Tony Asleson <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
c_binding/include/libstoragemgmt/libstoragemgmt.h | 33 ++--
.../include/libstoragemgmt/libstoragemgmt_fs.h | 6 +
.../libstoragemgmt/libstoragemgmt_nfsexport.h | 32 +++-
.../libstoragemgmt/libstoragemgmt_plug_interface.h | 85 ++++++++-
.../include/libstoragemgmt/libstoragemgmt_pool.h | 7 +
.../libstoragemgmt/libstoragemgmt_snapshot.h | 7 +
.../libstoragemgmt/libstoragemgmt_systems.h | 9 +-
.../include/libstoragemgmt/libstoragemgmt_types.h | 68 ++++++-
.../libstoragemgmt/libstoragemgmt_volumes.h | 8 +
c_binding/lsm_convert.cpp | 109 ++++++++----
c_binding/lsm_datatypes.cpp | 193 ++++++++++++++++----
c_binding/lsm_datatypes.hpp | 72 ++++----
c_binding/lsm_mgmt.cpp | 16 +-
c_binding/lsm_plugin_ipc.cpp | 16 +-
doc/man/lsmcli.1.in | 13 +-
plugin/ontap/ontap.py | 14 +-
plugin/sim/simarray.py | 10 +-
plugin/simc/simc_lsmplugin.c | 20 +-
plugin/smispy/smis.py | 12 +-
python_binding/lsm/_client.py | 4 +-
python_binding/lsm/_data.py | 162 +++++++----------
test/cmdtest.py | 21 ++-
test/tester.c | 14 +-
tools/lsmcli/cmdline.py | 55 ++++---
tools/lsmcli/data_display.py | 13 +-
25 files changed, 666 insertions(+), 333 deletions(-)
hooks/post-receive
--
libstoragemgmt
libstoragemgmt