HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/microcloud.cpython-36.pyc
3

-�_g�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s(eZdZdZdZdZdZd	Zdd�ZdS)
�
MicroCloudz�The MicroCloud plugin collects the current status of the microcloud
    snap.

    It will collect journald logs as well as output from various microcloud
    commands.
    zMicroCloud Snap�
microcloud�	containercCs:|jdd�ddg}|jddg�|jdd�|D��dS)	Nzsnap.microcloud.*)Zunitszcluster listz	--versionz7/var/snap/microcloud/common/state/database/cluster.yamlz4/var/snap/microcloud/common/state/database/info.yamlcSsg|]}d|���qS)zmicrocloud �)�.0Zsubcmdrr� /usr/lib/python3.6/microcloud.py�
<listcomp>)sz$MicroCloud.setup.<locals>.<listcomp>)Zadd_journalZ
add_copy_specZadd_cmd_output)�selfZmicrocloud_subcmdsrrr	�setupszMicroCloud.setupN)r)r)	�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesrrrrr	rsrN)Zsos.report.pluginsrrrrrrr	�<module>s