|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /lib/python3.9/site-packages/ansible/module_utils/facts/hardware/__pycache__/ |
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<