????

Your IP : 216.73.216.152


Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/
Upload File :
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/crio.pyc

�
Dr^c@s<ddlmZmZmZdeeefd��YZdS(i����(tPlugintRedHatPlugintUbuntuPlugintCRIOcBsVeZdZdZdZd
Zdddefdd	defgZd
�Zd�Z	RS(sCRI-O containers
    tcriot	containerscri-os	cri-toolstallsGenable capture for all containers, even containers that have terminatedtfasttlogss#capture logs for running containerscCsf|jddddddg�ddd	d
ddd
dg}|jg|D]}d|^qJ�|jdd�|jd�d}|jd�r�d|}nd}d}|j|�}|j|�}|j|�}xB|D]:}	|jd|	�|jd�r�|jd|	�q�q�Wx|D]}
|jd|
�q%Wx|D]}|jd|�qGWdS(Ns/etc/containerss/etc/crictl.yamls/etc/crio/crio.confs/etc/crio/seccomp.jsons!/etc/systemd/system/cri-o.services/etc/sysconfig/crio-*tinfotimagestpodstpssps -asps -vtstatstversions	crictl %stunitsRsls -alhR /etc/cniscrictl ps --quietRs%s -ascrictl images --quietscrictl pods --quietscrictl inspect %sRscrictl logs -t %sscrictl inspecti %sscrictl inspectp %s(t
add_copy_spectadd_cmd_outputtadd_journalt
get_optiont_get_crio_list(tselftsubcmdststps_cmdtimg_cmdtpod_cmdt
containersR
RRtimagetpod((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pytsetupsD
	$




cCstg}|j|�}|ddkrpx%|dj�D]}|j|�q6Wd|dkrp|jd�qpn|S(Ntstatusitoutputt
deprecated(tget_command_outputt
splitlinestappendtpop(Rtcmdtrettresulttent((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyRMs(s	container(scri-os	cri-tools(
t__name__t
__module__t__doc__tplugin_nametprofilestpackagestFalsetoption_listRR(((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyRs		/N(tsos.pluginsRRRR(((s4/usr/lib/python2.7/site-packages/sos/plugins/crio.pyt<module>s