a >h @s&ddlmZmZGdddeeZdS))Plugin RedHatPluginc@s(eZdZdZdZdZdZdZddZdS) VdozVirtual Data Optimizervdo)Zstorage)r)z /sys/kvdoz/sys/udsz/etc/vdoconf.ymlz/etc/vdoconf.xmlc Cs||j|d}|dD]}|d|q"|ddgd}d}d}|d d ||fD|d |}|d d kr|dD]H}|dd\}}} | dr|d|d} |d| qdS)Nzvdo list --alloutputzvdo status -n zvdostats --human-readablezvdostats --verbosezvdo_slab_size,vdo_header_size,vdo_minimum_io_size,vdo_block_map_cache_size,vdo_block_map_era_length,vdo_write_policy,vdo_max_discardzvdo_ack_threads,vdo_bio_rotation,vdo_bio_threads,vdo_cpu_threads,vdo_hash_zone_threads,vdo_logical_threads,vdo_physical_threadszsvdo_compression,vdo_deduplication,vdo_use_metadata_hints,vdo_use_sparse_index,vdo_index_state,vdo_index_memory_sizecSsg|]}d|qS) lvs -a -o +).0Zcolsrr:/usr/lib/python3.9/site-packages/sos/report/plugins/vdo.py -szVdo.setup..rstatusrD-z[]zvdodumpconfig /dev/mapper/)Z add_copy_specfilesZcollect_cmd_output splitlinesZadd_cmd_outputsplit startswithstrip) selfZvdosrZ vdo_cols1Z vdo_cols2Z vdo_cols3Zlvm_vdoslvZvgZlv_attrZvdo_pathrrr setups.     z Vdo.setupN) __name__ __module__ __qualname__Z short_descZ plugin_nameZprofilesZpackagesrrrrrr r s rN)Zsos.report.pluginsrrrrrrr  s