Your IP : 216.73.217.13


Current Path : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/dellrac.cpython-38.pyc

U

���b��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZedddd�gZd	Z	d
Z
dd�Zd
d�ZdS)�DellRACz,Dell Remote Access Controller AdministrationZdellrac)�systemZstorageZhardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�defaultZdescz /opt/dell/srvadmin/bin/idracadm7Z	idracadm7cCsBdD]&}|jd|j|fd|j|fd�q|�d�r>|��dS)N)Z	getniccfgZ
getsysinfoz%s %s�%s_%s)�suggest_filenamer)�add_cmd_output�racadm�prefixZ
get_option�do_debug)�self�subcmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setups�
z
DellRAC.setupcCsZz|��}Wn tk
r,|jdd�}YnXd}|jd|j|f|d|j|fd�dS)NF)Zmakezsupportassist collect -fz%s %s support.zipr	)Zrunatr
)Zget_cmd_output_path�FileExistsErrorrrr
)rZlogpathrrrrr$s�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrr
rrrrrrrs�	rN)Zsos.report.pluginsrrrrrrrr�<module>	s