* This patch set is based on: [PATCH V2 0/6] New HP SmartArray Plugin.
* New method to query pool raid information like: * RAID type. * Member type(disk RAID group or sub-pool). * Member IDs(disk ids or parent pool ids). * This is preparation for coming HW RAID dedicate API volume_create_raid(). # I intend to make sure every changes made by any API is queryable. * I am new for manipulating array of string in C, not sure this is a correct way to do so in libstoragemgmt. Please kindly pay extra care when reviewing C API codes. Thank you very much in advance. Gris Ge (8): New method: lsm.Client.pool_raid_info()/lsm_pool_raid_info() lsmcli: Add new command pool-raid-info Tests: Add test for lsm.Client.pool_raid_info() and lsm_pool_raid_info(). Simulator Plugin: Add lsm.Client.pool_raid_info() support. Simulator C plugin: Add lsm_pool_raid_info() support. ONTAP Plugin: Add lsm.Client.pool_raid_info() support. MegaRAID Plugin: Add lsm.Client.pool_raid_info() support. HP Smart Array Plugin: Add lsm.Client.pool_raid_info() support. c_binding/include/libstoragemgmt/libstoragemgmt.h | 30 +++++++ .../libstoragemgmt/libstoragemgmt_capabilities.h | 4 +- .../libstoragemgmt/libstoragemgmt_plug_interface.h | 29 +++++++ .../include/libstoragemgmt/libstoragemgmt_types.h | 17 ++++ c_binding/lsm_mgmt.cpp | 56 +++++++++++++ c_binding/lsm_plugin_ipc.cpp | 48 ++++++++++- doc/man/lsmcli.1.in | 9 ++ plugin/hpsa/hpsa.py | 39 +++++++++ plugin/megaraid/megaraid.py | 54 ++++++++++++ plugin/ontap/ontap.py | 21 +++++ plugin/sim/simarray.py | 98 +++++++--------------- plugin/sim/simulator.py | 3 + plugin/simc/simc_lsmplugin.c | 24 +++++- python_binding/lsm/_client.py | 85 +++++++++++++++++++ python_binding/lsm/_data.py | 6 ++ test/cmdtest.py | 20 +++++ test/plugin_test.py | 10 +++ test/tester.c | 32 +++++++ tools/lsmcli/cmdline.py | 19 ++++- tools/lsmcli/data_display.py | 41 +++++++++ 20 files changed, 575 insertions(+), 70 deletions(-) -- 1.8.3.1 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Libstoragemgmt-devel mailing list Libstoragemgmt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libstoragemgmt-devel