
    -_gg                     ,    d dl mZmZ  G d dee      Zy)    )PluginIndependentPluginc                   *    e Zd ZdZdZdZdZdZdZd Z	y)	
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.
    zSeagate SES statusseagate_sesiX  )systemstoragehardware)fwdownloader_megaraidc                    | j                  d      }g }|d   dk(  r|d   j                  d      dd  }t        t        |            D cg c]  }d||   v r| }}d}g d	}|D ]P  }| j	                  |D cg c]  }| d
| d|  c}       | j	                  |D cg c]  }| d
| d|  c}       R y c c}w c c}w c c}w )Nzfwdownloader -sesstatusr   outputz
SES Device   zVendor ID: SEAGATEzgetstatus -d)ddump_canmgrddump_cblmgrddump_drvmgr
dumpdrivesddump_phycountersddump_pwrmgrddump_envctrlenvctrl_fanenvctrl_zonefwstatus
getboardidgetvpdreport_faultsverlogdumpphydumpzses_reportpage 2 z -CLI z -cli )collect_cmd_outputsplitrangelenadd_cmd_output)	selfresop_lstidevicescmdsubcmdsdevidsubcmds	            @/usr/lib/python3/dist-packages/sos/report/plugins/seagate_ses.pysetupzSeagateSES.setup   s   %%&9: x=A]((6qr:FS[)
#vay0 
 

 (  	E=D!393%qvfX.!  =D!393%qvfX.! 	5
6!!s   	B75B<
C
N)
__name__
__module____qualname____doc__
short_descplugin_nameplugin_timeoutprofilespackagesr0        r/   r   r      s'     &JKN1H)H)r;   r   N)sos.report.pluginsr   r   r   r:   r;   r/   <module>r=      s    97* 7r;   