
    -_g                     8    d dl Z d dlmZmZmZ  G d dee      Zy)    N)PluginIndependentPluginSoSPredicatec                   "    e Zd ZdZdZdZdZd Zy)	IprConfigz8IBM Power RAID storage adapter configuration information	iprconfig)iprutils)zppc64.*c                 |   | j                  dt        | dg            }|d   dk(  sy | j                  g d       g }|d   rgt        j                  d      }|d   j                         D ]<  }|j                  d	      }|j                  |d         s)|j                  |d          > |D ]>  }| j                  d
|        | j                  d|        | j                  d|        @ | j                  d      }|d   dk(  sy |d   sy d}| j                  |      }	|	d   dk7  s|	d   sy |d   j                         D ]y  }d|v st        j                  d|      }|d   j                  d      \  }
}|	d   j                         D ]/  }||v s|j                  d	      }| j                  d|d           1 { y )Niprconfig -c show-ioassg)kmods)predstatusr   )
iprconfig -c show-configiprconfig -c show-alt-configziprconfig -c show-arraysziprconfig -c show-jbod-disksr   ziprconfig -c show-hot-sparesziprconfig -c show-af-disksziprconfig -c show-all-af-disksziprconfig -c show-slotsziprconfig -c dumpoutput ziprconfig -c show-details ziprconfig -c show-battery-info ziprconfig -c show-perf r   r   	Enclosurez\s+   /ziprconfig -c query-ses-mode )	collect_cmd_outputr   add_cmd_outputrecompile
splitlinessplitsearchappend)self	show_ioasdevicesdevlinetempdeviceshow_configshow_alt_config	altconfig_scsialt_lines                >/usr/lib/python3/dist-packages/sos/report/plugins/iprconfig.pysetupzIprConfig.setup   s
   ++(!$tf5 , 
	 "a' 
 	 X**T"C!(+668 ,zz#::d1g&NN47+	,  	DF"<VH EF"A& JK"9& BC	D --.HI8$)8$ 9++O<	h1$Yx-@  )446 
	IDd"xx-q'--,4 )( 3 > > @ IHx''~~c2++ ->>B1gY-H I	I
	I    N)__name__
__module____qualname__
short_descplugin_namepackagesarchitecturesr-    r.   r,   r   r      s    KJKH MUIr.   r   )r   sos.report.pluginsr   r   r   r   r6   r.   r,   <module>r8      s#    
 F F]I) ]Ir.   