File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/microcloud.cpython-310.pyc
o
([Qh�
� @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�UbuntuPluginc @ s( e Zd ZdZdZdZdZdZdd� 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)� container)r c C s� | j dd� g d�}| �dd� |D �� d}| �d|� d�� d }| j|d
d� | �|� d�|� d
�|� d�g� ddd�ddd�ddd�g}|D ]}t�|�d��}|�d�}| jd|� �d|� �d� qId S )Nzsnap.microcloud.*)�units)zcluster list�statusz --versionc S s g | ]}d |� ��qS )zmicrocloud � )�.0�subcmdr r �?/usr/lib/python3/dist-packages/sos/report/plugins/microcloud.py�
<listcomp>&