관리-도구
편집 파일: aix.cpython-39.pyc
a �)g ) � @ s` d dl mZmZmZ eZd dlZd dlmZm Z d dl mZ G dd� de�ZG dd� de �Z dS ) � )�absolute_import�division�print_functionN)�Hardware�HardwareCollector)�get_mount_sizec @ sN e Zd ZdZdZddd�Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� ZdS )�AIXHardwarea AIX-specific subclass of Hardware. Defines memory and CPU facts: - memfree_mb - memtotal_mb - swapfree_mb - swaptotal_mb - processor (a list) - processor_count - processor_cores - processor_threads_per_core - processor_vcpus �AIXNc C st i }| � � }| �� }| �� }| �� }| �� }| �� }|�|� |�|� |�|� |�|� |�|� |�|� |S )N)� get_cpu_facts�get_memory_facts� get_dmi_facts� get_vgs_facts�get_mount_facts�get_device_facts�update) �selfZcollected_factsZhardware_facts� cpu_facts�memory_facts� dmi_facts� vgs_facts�mount_factsZ devices_facts� r �K/usr/lib/python3.9/site-packages/ansible/module_utils/facts/hardware/aix.py�populate( s zAIXHardware.populatec C s� i }g |d<