관리-도구
편집 파일: seagate_ses.cpython-39.opt-1.pyc
a ����-�_gg����������������������@���s&���d�dl�mZmZ�G�dd��dee�ZdS�)�����)�Plugin�IndependentPluginc�������������������@���s,���e�Zd�ZdZdZdZdZdZdZdd��Z d S�) � SeagateSESa��The seagate_ses plugin collect information about all connected seagate storage shelves. It captures Controller status information, ID, controllers' VPD information, Environmental zone, Drive, PHY details, Cooling Module and PSU information. zSeagate SES statusZseagate_sesiX��)�systemZstorageZhardware)Zfwdownloader_megaraidc��������������������s����|���d�}g��|d�dkr0|d��d�dd�����fdd�tt���D��}d ��g�d �}|D�]8�|�����fdd�|D����|�����fdd�|D����qZd�S�) Nzfwdownloader -ses�statusr����outputz SES Device����c��������������������s���g�|�]}d���|�v�r|�qS�)zVendor ID: SEAGATE��)�.0�i)�op_lstr ����B/usr/lib/python3.9/site-packages/sos/report/plugins/seagate_ses.py� <listcomp>"���s����z$SeagateSES.setup.<locals>.<listcomp>zgetstatus -d)Zddump_canmgrZddump_cblmgrZddump_drvmgrZ dumpdrivesZddump_phycountersZddump_pwrmgrZ ddump_envctrlZenvctrl_fanZenvctrl_zoneZfwstatusZ getboardidZgetvpdZ report_faultsZverZlogdumpZphydumpzses_reportpage 2c��������������������s ���g�|�]}����d����d|����qS�)� z -CLI r ����r ���Zsubcmd��cmd�devidr ���r ���r���=���s���c��������������������s ���g�|�]}����d����d|����qS�)r���z -cli r ���r���r���r ���r ���r���A���s���)Zcollect_cmd_output�split�range�lenZadd_cmd_output)�self�resZdevicesZsubcmdsr ���)r���r���r���r ����setup���s ���� ���zSeagateSES.setupN) �__name__� __module__�__qualname__�__doc__Z short_descZplugin_nameZplugin_timeoutZprofilesZpackagesr���r ���r ���r ���r ���r������s���r���N)Zsos.report.pluginsr���r���r���r ���r ���r ���r ����<module> ���s���