HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/dellrac.cpython-310.pyc
o

���b��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZedddd�gZd	Z	d
Z
dd�Zd
d�ZdS)�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7�	idracadm7cCsFdD]}|jd|j|fd|j|fd�q|�d�r!|��dSdS)N)�	getniccfg�
getsysinfoz%s %s�%s_%s)�suggest_filenamer
)�add_cmd_output�racadm�prefix�
get_option�do_debug)�self�subcmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setups�
�z
DellRAC.setupcCsXz|��}Wnty|jdd�}Ynwd}|jd|j|f|d|j|fd�dS)NF)�makezsupportassist collect -fz%s %s support.zipr)�runatr)�get_cmd_output_path�FileExistsErrorrrr)r�logpathrrrrr$s�
�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrrrrrrrs�	rN)�sos.report.pluginsrrrrrrrr�<module>s