U
    -Ø_gv  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s0   e Zd ZdZdZdZdZdZdd„ Zdd	„ Z	d
S )ÚKeazó
    Kea is the next generation of DHCP software, developed by Internet
    Systems Consortium (ISC). It supports both the DHCPv4 and DHCPv6 protocols
    along with their extensions, e.g. prefix delegation and dynamic updates to
    DNS.
    z!Kea DHCP and DDNS server from ISCÚkea)r   z
kea-common)zkea-ctrl-agentzkea-dhcp-ddns-serverzkea-dhcp4-serverzkea-dhcp6-serverc                 C   s   |   dg¡ |  dg¡ d S )Nú
/etc/kea/*zkeactrl status)Zadd_copy_specZadd_cmd_output©Úself© r	   ú8/usr/lib/python3/dist-packages/sos/report/plugins/kea.pyÚsetup   s    ÿÿz	Kea.setupc                 C   s   |   ddd¡ dS )z format is "password": "kea", r   z(^\s*"password":\s*)(".*"),z
\1********N)Zdo_path_regex_subr   r	   r	   r
   Úpostproc$   s
    ýzKea.postprocN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Z
short_descZplugin_nameZpackagesÚservicesr   r   r	   r	   r	   r
   r      s   r   N)Zsos.report.pluginsr   r   r   r	   r	   r	   r
   Ú<module>   s   