a >hg@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s,eZdZdZdZdZdZdZdZddZ d S) SeagateSESaThe 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 statusZ seagate_sesiX)systemZstorageZhardware)Zfwdownloader_megaraidcs|d}g|ddkr0|ddddfddttD}d gd }|D]8|fd d|D|fd d|DqZdS) Nzfwdownloader -sesstatusroutputz SES Devicecsg|]}d|vr|qS)zVendor ID: SEAGATE).0i)op_lstr B/usr/lib/python3.9/site-packages/sos/report/plugins/seagate_ses.py "s z$SeagateSES.setup..z getstatus -d)Z ddump_canmgrZ ddump_cblmgrZ ddump_drvmgrZ dumpdrivesZddump_phycountersZ ddump_pwrmgrZ ddump_envctrlZ envctrl_fanZ envctrl_zoneZfwstatusZ getboardidZgetvpdZ report_faultsZverZlogdumpZphydumpzses_reportpage 2cs g|]}dd|qS) z -CLI r r Zsubcmdcmddevidr r r=scs g|]}dd|qS)rz -cli r rrr r rAs)Zcollect_cmd_outputsplitrangelenZadd_cmd_output)selfresZdevicesZsubcmdsr )rrr r setups     zSeagateSES.setupN) __name__ __module__ __qualname____doc__Z short_descZ plugin_nameZplugin_timeoutZprofilesZpackagesrr r r r r srN)Zsos.report.pluginsrrrr r r r  s