o
    *b                     @   s&   d dl mZmZ G dd deeZdS )    )PluginIndependentPluginc                   @   s$   e Zd ZdZdZdZdZdd ZdS )Nvmez8Collect config and system information about NVMe devicesZnvme)Zstorage)znvme-clic                 C   s2   |  d | ddg g d}| j|dd d S )Nz/etc/nvme/discovery.confz	nvme listznvme list-subsys)
zsmartctl --all %(dev)szsmartctl --all %(dev)s -jznvme list-ns %(dev)sznvme fw-log %(dev)sznvme list-ctrl %(dev)sznvme id-ctrl -H %(dev)sznvme id-ns -H %(dev)sznvme smart-log %(dev)sznvme error-log %(dev)sznvme show-regs %(dev)sznvme.*)Z	whitelist)Zadd_copy_specZadd_cmd_outputZadd_blockdev_cmd)selfZcmds r   9/usr/lib/python3/dist-packages/sos/report/plugins/nvme.pysetup   s   
z
Nvme.setupN)__name__
__module____qualname__Z
short_descZplugin_nameZprofilesZpackagesr   r   r   r   r   r      s    r   N)Zsos.report.pluginsr   r   r   r   r   r   r   <module>   s   