o
    O6ufC  ã                   @   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ZdZdd„ Z	d	S )
ÚCxlzFThis plugin collects data from Compute Express Link (CXL) devices
    zCompute Express Link (CXL)Úcxl)ÚstorageÚhardwareÚmemory)zcxl-cliÚdaxctl)r   r	   c                 C   s    |   g d¢¡ |   g d¢¡ dS )z� Use the daxctl-list(1) command to collect disabled, devices,
        mapping, and region information

        Output is JSON formatted
        )zdaxctl versionzdaxctl listzdaxctl list -iDRM)zcxl versionzcxl listzcxl list -vvvN)Úadd_cmd_output)Úself© r   ú8/usr/lib/python3/dist-packages/sos/report/plugins/cxl.pyÚsetup   s   z	Cxl.setupN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
short_descÚplugin_nameÚprofilesÚpackagesÚcommandsr   r   r   r   r   r      s    r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   