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 )Ú
NfsGaneshaz#NFS-Ganesha file server informationZ
nfsganesha)ZstorageZnetworkZnfs)znfs-ganeshac                 C   s2   |   g d¢¡ |  d¡r|   d¡ |  dg¡ d S )N)z/etc/ganeshaz/etc/sysconfig/ganeshaz/run/sysconfig/ganeshaz/var/log/ganesha/*.logZall_logsz/var/log/ganesha/*.log*zŽdbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.ShowExports)Zadd_copy_specZ
get_optionZadd_cmd_output)Úself© r   ú?/usr/lib/python3/dist-packages/sos/report/plugins/nfsganesha.pyÚsetup   s   

ÿzNfsGanesha.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   