* The new hpsa plugin is based on HP binary tool -- hpssacli which could be downloaded from: http://downloads.linux.hp.com/SDR/project/spp/ * This patch set introduced these methods support to hpsa plugin: * lsm.Client.systems() * lsm.Client.pools() * lsm.Client.volumes() * lsm.Client.disks() # With Disk.STATUS_FREE support also. * lsm.Client.volume_raid_info()
* This patch set only coded and tested on 2 servers(Tony's and mine), a automatic tests is running in our internal lab to test this plugin on more HP SmartArray cards, will provide subsequent patch if found any bug. Changes in V2: * Patch 2/6: * Fix missing '()' in _parse_hpssacli_output(). * Handle 'No controllers detected' error. * Patch 6/6: * Fix uninitialized variables in volume_raid_info(). * Add an extra check to raise PLUGIN_BUG when LD found with no PD found. * Please be informed, RHEL 7.1 does not compatible with hpssacli-2.0-23.0.x86_64 yet. Please use RHEL 6 or RHEL 7.0 instead. Gris Ge (6): New plugin: HP SmartArray Plugin. HP SmartArray Plugin: Add systems() support. HP SmartArray Plugin: Add lsm.Client.pools() support. HP SmartArray Plugin: Add lsm.Client.pools() support. HP SmartArray Plugin: Add lsm.Client.disks() support. HP SmartArray Plugin: Add lsm.Client.volume_raid_info() support. config/Makefile.am | 5 + config/pluginconf.d/hpsa.conf | 1 + configure.ac | 14 ++ doc/man/Makefile.am | 4 + doc/man/hpsa_lsmplugin.1.in | 50 ++++ packaging/libstoragemgmt.spec.in | 39 +++ plugin/Makefile.am | 2 +- plugin/hpsa/Makefile.am | 8 + plugin/hpsa/__init__.py | 1 + plugin/hpsa/hpsa.py | 527 +++++++++++++++++++++++++++++++++++++++ plugin/hpsa/hpsa_lsmplugin | 37 +++ plugin/hpsa/utils.py | 56 +++++ 12 files changed, 743 insertions(+), 1 deletion(-) create mode 100644 config/pluginconf.d/hpsa.conf create mode 100644 doc/man/hpsa_lsmplugin.1.in create mode 100644 plugin/hpsa/Makefile.am create mode 100644 plugin/hpsa/__init__.py create mode 100644 plugin/hpsa/hpsa.py create mode 100755 plugin/hpsa/hpsa_lsmplugin create mode 100644 plugin/hpsa/utils.py -- 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