3
ܓi
@ s2 d dl Z d dlmZmZmZ G dd deeZdS ) N)PluginIndependentPlugin PluginOptc @ s@ e Zd ZdZdZdZdZdZed
ddd
gZ dd Z
dd ZdS )HpssmaG
This plugin will capture details for each controller from Smart Storage
Array Administrator, an Array diagnostic report from Smart Storage
Administrator Diagnostics Utility and, when the plugins debug option is
enabled will gather the Active Health System log via the RESTful Interface
Tool (iLOREST).
zHP Smart Storage ManagementZhpssmsystemstoragehardwareilorestssaclissaduclidebugFzcapture debug data)defaultZdescc s d dg}ddddddg| j fd d
|D tjd d }| j|}g }|d
dkrxfdd
|d j D } d | j fdd
|D | j }| j d| ddd | jdr| j| d S )Nr
zctrl all show statuszarray all show detailzld all showzld all show detailzpd all showzpd all show detailzshow detailc s g | ]} d | qS ) ).0Zsubcmd)cmdr /usr/lib/python3.6/hpssm.py