|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o
([Qh� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ sD e Zd ZdZdZdZdZedddd�gZd Z d
Z
dd� Zd
d� ZdS )�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7� idracadm7c C sJ dD ]}| j | j� d|� �| j� d|� �d� q| �d�r#| �� d S d S )N)� getniccfg�
getsysinfo� �_)�suggest_filenamer
)�add_cmd_output�racadm�prefix�
get_option�do_debug)�self�subcmd� r �</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setup s �
�z
DellRAC.setupc C s^ z| � � }W n ty | j dd�}Y nw d}| j| j� d|� d�|| j� d|� �d� dS ) z�
Ensure the sos_commands/dellrac directory does exist in either case
as we will need to run the command at that dir, and also ensure
logpath is properly populated in either case as well.
F)�makezsupportassist collect -fr z support.zipr )�runatr N)�get_cmd_output_path�FileExistsErrorr r r )r �logpathr r r r r $ s �
�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr �option_listr r r r r r r r r s � r N)�sos.report.pluginsr r r r r r r r �<module> s