![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
o i��d � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�UbuntuPlugin�SoSPredicatec @ s( e Zd ZdZdZdZdZdZdd� ZdS ) �LXDzLXD container hypervisor�lxd)� container)r )�lxcr c C s� g d�}t | |ddid�}| jj�d�}|r@|d dkr@| jd|d � | �g d �� | �d�s8| �dd g� d S | �dg� d S | �ddg� | jg d�|d � | jdgdd� d S )N)�bpfilter�ebtable_filter�ebtables�ip6table_filter�ip6table_mangle�ip6table_nat�ip6table_raw� ip6_tables�iptable_filter�iptable_mangle�iptable_nat�iptable_raw�nf_nat� nf_tables�kmods�all)r �requiredr �pkg_manager�snapzlxd.buginfo)�pred)z/var/snap/lxd/common/configz /var/snap/lxd/common/global-confz#/var/snap/lxd/common/lxc/local.confz&/var/snap/lxd/common/lxd/logs/*/*.conf�all_logsz#/var/snap/lxd/common/lxd/logs/*.logz%/var/snap/lxd/common/lxd/logs/*/*.logz /var/snap/lxd/common/lxd/logs/**z/etc/default/lxd-bridgez/var/log/lxd/*)zlxc image listzlxc listzlxc network listzlxc profile listzlxc storage listz)find /var/lib/lxd -maxdepth 2 -type d -lszvar-lxd-dirs.txt)�suggest_filename)r �policy�package_manager�pkg_by_name�add_cmd_output� add_copy_spec� get_option)�self� lxd_kmods�lxd_pred�lxd_pkg� r) �8/usr/lib/python3/dist-packages/sos/report/plugins/lxd.py�setup s8 � � �� �� �z LXD.setupN) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packages�commandsr+ r) r) r) r* r s r N)�sos.report.pluginsr r r r r) r) r) r* �<module> s