File manager - Edit - /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/dellrac.cpython-310.pyc
Back
o -�_g� � @ 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
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings