
    ~ g                     0    S SK JrJrJr   " S S\\5      rg)    )PluginRedHatPlugin	PluginOptc                   D    \ rS rSrSrSrSrSr\" SSSS	9/r	S
S/r
S rSrg)Fibrechannel   z+Collect information on fibrechannel devicesfibrechannel)hardwarestoragesystem)z/sys/class/fc_hostz/sys/class/fc_remote_portsdebugTzcollect debugging logs)defaultdescz/sys/kernel/debug/qla2*/z/sys/kernel/debug/fnic/c                    U R                  SSS9  U R                  S5      (       a  U R                  U R                  5        U R	                  SS/5        U R                  S5      nUS   S:X  aS  US	   R                  5        H;  nS
U;   d  M  UR                  5       S   nU R	                  SU 3SU 3SU 3/5        M=     g g )Nzudevadm info -a %(dev)sfibre)devicesr   zhbacmd listhbaszhbacmd ServerAttributesstatusr   outputzPort WWN   zhbacmd HbaAttributes zhbacmd PortAttributes zhbacmd GetXcvrData )add_device_cmd
get_optionadd_copy_specdebug_pathsadd_cmd_outputcollect_cmd_output
splitlinessplit)selflisthbaslinedevs       A/usr/lib/python3/dist-packages/sos/report/plugins/fibrechannel.pysetupFibrechannel.setup   s    5wG??7##t//0%
 	 **+<=H" *557%**,q/C''/u506-cU3)  8 #     N)__name__
__module____qualname____firstlineno__
short_descplugin_nameprofilesfilesr   option_listr   r#   __static_attributes__r&   r%   r"   r   r      s>    >J K0H@E'4.FGK 	#!K
r%   r   N)sos.report.pluginsr   r   r   r   r&   r%   r"   <module>r2      s    ? >%6< %r%   